ma5:MA(C,5),COLORRED;
MA13:MA(C,13),COLORCYAN;
MA67:MA(C,67),COLORWHITE;
ZT:=C>=REF(C,1)*1.099;
STICKLINE(ZT,OPEN,CLOSE,8,0),COLORBLUE;
立庄量:=IF(BARSCOUNT(CLOSE)=1,vol*240/MINUTE/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
倍量:=V>REF(V,1)*1.9;
梯量柱:=REF(V,1)/V<0.95 AND REF(V,2)/REF(V,1)<0.95 AND V=HHV(V,13) AND COUNT(倍量,3)=0;
TJ:=(立庄量>=1 OR V>REF(V,1)*1.9 OR 梯量柱) AND C>REF(C,1);
STICKLINE(TJ>0 AND ZT>0,O,O+(C-O)/2,8,0),COLORWHITE;
STICKLINE(TJ>0 AND ZT=0,O,C,8,0),COLORWHITE;
DRAWTEXT(crOSS(MA5,MA67),MA5,'进');
DRAWTEXT(CROSS(MA13,MA5),MA13,'出');