量5:MA(V,5),COLORRED;
量10:MA(V,10),COLORBLUE,LINETHICK2;
高压线100:MA(HHV(V,100),30)*0.9,COLORGREEN;
异动量135:MA(,135),COLORGREEN,LINETHICK1;
HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
VAR1:=EMA(EMA(EMA(CLOSE,5),2),1);
牛熊线:=(VAR1-REF(VAR1,1))/REF(VAR1,1),COLORRED,COLORSTICK,LINETHICK2;
方向线:=EMA(牛熊线,13),COLORYELLOW,LINETHICK1,NODRAW;
隐线:=EMA(方向线,2) ,COLORSTICK,NODRAW;
底线:=-0.005,COLORCD7F32 ,LINETHICK1,DOTLINE,NODRAW;
成交量万:VOL/10000,COLOR00FFFF;
倍量:=VOL =REF(V,1)*1.8 AND C REF(C,1);
低量:=VOL REF(LLV(VOL,18),1);
平量:=ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5) =0.03 OR ABS(VOL-REF(VOL,1))/REF(VOL,1) =0.03;
倍缩:=VOL =REF(V,1)*0.5;
梯量:=COUNT(V REF(V,1),3)=3 AND COUNT(C O,3)=3;
缩量涨:=COUNT(C REF(C,1),2)=2 AND COUNT(V REF(V,1),2)=2;
STICKLINE(C =O,0,V,9,0),COLOR0000AA;
STICKLINE(C O,0,V,9,0),COLOR00AA00;
STICKLINE(倍量,0,V,5,0),COLORYELLOW;
STICKLINE(低量,0,V,2,0),COLORBLACK;
STICKLINE(平量,0,V,5,0),COLORWHITE;
STICKLINE(倍缩,0,V,7,0),COLORLIMAGENTA;
STICKLINE(梯量,0,V,5,0),COLORGRAY;
STICKLINE(缩量涨,0,V,3,0),COLORLICYAN;
放量跌:=COUNT(C REF(C,1),2)=2 AND COUNT(V REF(V,1),2)=2;
STICKLINE(放量跌,0,V,9,0),COLORBLUE;
加速上升量:=(缩量涨 (VOL REF(V,1)*1.0) AND C REF(C,1) ) (VOL =REF(V,1)*1.8);
STICKLINE(加速上升量,0,V,9,0),COLORBLACK;
ZZ:=IF(REF(C,1) REF(O,1) AND O REF(C,1)*1.014 AND C O*1.02,1,3);
V5:=MA(V,5);
V12:=MA(V,12);
V34:=MA(V,34);
C6:=MA(C,6);
DRAWTEXT (VOL MA(VOL,5)*2 AND V V34*3 AND C REF(C,1)*1.05,V, 天 ),COLORBLACK;
DRAWTEXT (VOL MA(VOL,5)/2 AND V V12/2,HHV(V,100)/2, 地 ),COLORBLUE;
DRAWTEXT (CROSS(C,C6) AND V V5*1.2 AND V V12*1.2 AND ZZ 2 AND C H*0.975,HHV(V,100), 吸 ),COLORRED;
DRAWTEXT (CROSS(C6,C) AND V V5*1.2 AND V V12*1.2,HHV(V,100), 出 ),COLORGREEN;
E:=VOL;
DRAWICON(VOL LLV(REF(VOL,1),138),高压线100, ● ),COLORRED;
量60缩:=(VOL LLV(REF(VOL,1),60));
DRAWTEXT(量60缩,高压线100/2, ▲60 ),COLORBLUE;
量32缩:=(VOL LLV(REF(VOL,1),32));
DRAWTEXT(量32缩,高压线100, ■32 ),COLORMAGENTA;
DIFF0:=(EMA(CLOSE,3)-EMA(CLOSE,36));
DEA0:=EMA(DIFF0,3);
0:=2*(DIFF0-DEA0);
牛降: (MACD0 REF(MACD0,1)*2.5 AND MACD0 15),COLORBLACK,LINETHICK3;
变盘: IF(CROSS(方向线,隐线),-0.005,0), COLORRED,LINETHICK5 ;
盘降: IF(CROSS(隐线,方向线),-0.005,0), COLORCYAN ,LINETHICK5;