JL:MA(VOL,21),COLORWHITE;
ZF:=C/REF(C,1);
SF:=C/O;
STICKLINE(C>=MA(C,10),O,VOL,3,1),COLORRED;
STICKLINE(C< MA(C,10),O,VOL,3,0),COLORLIGREEN;
缩量比:VOL/MA(VOL,20);
DX3:=IF( C>=MA(C,10) AND VOL>1.3*MA(VOL,20) ,1,0);
支撑:=IF( COUNT(DX3,8)>=6 AND C>=MA(C,10) ,1,0);
STICKLINE(支撑>0,O,VOL,3,0),COLORRED;
废:=IF( C< MA(C,10) AND VOL>MA(VOL,20) ,1,0);
STICKLINE(废>0,O,VOL,3,0),COLORGREEN;
OK:=IF( VOL/MA(VOL,21)<=0.618 AND C< MA(C,10) AND LLV(ZF,4)>0.92 AND BARSLAST(支撑)< 30 AND ZF>0.901 AND HHV(AMOUNT,30)>200000000 AND C< O ,JL,0);
STICKLINE(OK=JL,O,VOL,3,0),COLORBLUE;