F5:MA(C,5),COLORWHITE;
F13:MA(C,13),COLORGREEN;
F67:MA(C,67),COLORRED;
ZT:=C>=REF(C,1)*1.099;
STICKLINE(ZT,OPEN,CLOSE,8,0),COLORYELLOW;
立庄量:=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),COLORRED;
STICKLINE(TJ>0 AND ZT=0,O,C,8,0),COLORRED;
DRAWTEXT(CROSS(F5,F67),F5,'进'),COLORRED;
DRAWTEXT(CROSS(F13,F5),F13,'出'),COLORGREEN;