游戏小解说|私募专用操盘指标——趋势操盘(源码免费分享)

蓝芯:主力低位深度洗盘或高位出货坚决
白芯:主力轻度洗盘
棕芯:出现了近期相对地量
粉芯:主力在做高抛低吸或低吸高抛
红芯:主力吸筹进货积极主动
黄芯:主力吸筹进货强并且成交量出现黄金柱
温馨提示:因该指标涉及到自动画线功能 , 会有未来函数提示 , 但并不影响指标效果 , 不喜勿喷
游戏小解说|私募专用操盘指标——趋势操盘(源码免费分享)
文章图片
游戏小解说|私募专用操盘指标——趋势操盘(源码免费分享)
文章图片
游戏小解说|私募专用操盘指标——趋势操盘(源码免费分享)
文章图片
源码
DIR2:=ABS(CLOSE-REF(CLOSE,30));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),30);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
M熊:=EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK1;
FF1:=C>M熊ANDM熊>REF(M熊,1),NODRAW;
FF2:=C<M熊ANDM熊<=REF(M熊,1);
Q1:=CONST(IF(FF1,200,IF(FF2,0,DRAWNULL)));
Q2:=CONST(IF(FF1,0,IF(FF2,20,DRAWNULL)));
Q3:=CONST(IF(FF1,00,IF(FF2,0,DRAWNULL)));
{DRAWGBK(C>0,RGB(Q1,Q2,Q3),RGB(0,120,120),0,'',0);}
牛熊分界线:EMA(DMA(CLOSE,CQ2),2),COLOR0050FF,LINETHICK0;
牛熊:=M熊;
M震:=IF(M熊/REF(M熊,1)>0.997,M熊,DRAWNULL),COLORBLUE,LINETHICK2;
M牛:=IF(M熊/REF(M熊,1)>1.001,M熊,DRAWNULL),COLORRED,LINETHICK2;
XX1:=C>牛熊AND牛熊>REF(牛熊,1);
DRAWTEXT_FIX(ISLASTBARANDXX1,0.76,0.00,0,'【处于牛区】'),COLORRED;
XX2:=C<牛熊AND牛熊<=REF(牛熊,1);
DRAWTEXT_FIX(ISLASTBARANDXX2,0.76,0.00,0,'【处于熊区】'),COLOR33AAAA;
{钻石}
AQ1:=REF(V,1);AQ2:=DVOL;AQ3:=AQ2/AQ1;
LNX:=AQ3-REF(AQ3,1);
E1:=REF(C,1);E2:=DCLOSE;E3:=(E2-E1)/E1*100;
QMX:=E3-REF(E3,1);
XG:=CROSS(LNX,500)ANDCROSS(QMX,10);
DRAWTEXT(XG=1,L*0.995,''),COLORFFCC88;
DRAWICON(XG=1,L*0.993,25);
VAR1:=(C+H+O+L)/4;
卖出:XMA(VAR1,20)*(1+80/1000),COLORGREEN,LINETHICK2;
买入:XMA(VAR1,32)*(1-100/1000),COLORRED,LINETHICK2;
幅度:100*(卖出-买入)/买入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(卖出>LOWAND卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(卖出>MIN(C,O)AND卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(卖出>LOWAND卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;
STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(买入>LOWAND买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORRED;
STICKLINE(买入>MIN(C,O)AND买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORRED;
STICKLINE(买入>LOWAND买入<HIGH,买入,LOW,0,0),COLORRED;
STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORRED;
DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'←流入'),COLORMAGENTA,LINETHICK2;
DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'←流出'),COLORYELLOW;
EXP1:EXPMA(CLOSE,10),NODRAW;
EXP2:EXPMA(CLOSE,60),NODRAW;
ZT:=C/REF(C,1)>1.097;
DRAWTEXT(ZT,L*0.98,'涨停'),COLOR00FFFF;
DRAWICON(ZT,L*0.99,1);
STICKLINE(ZT,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(ZT,H,L,0,0),COLORRED;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);


推荐阅读