VAR1:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
VAR2:=REF(CLOSE,1);
VAR3:=IF((VAR2-CLOSE)*100/VAR2>=(10-0.01*100/VAR2),1,0);
VAR4:=NAMELIKE('ST') OR NAMELIKE('*ST');
VAR5:=CLOSE=ZTPRICE(REF(CLOSE,1),0.05);
VAR6:=CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200824);
VAR7:=CLOSE=ZTPRICE(REF(CLOSE,1),0.2);
VAR8:=IF(VAR4,VAR5,IF(VAR6,VAR7,CLOSE=ZTPRICE(REF(CLOSE,1),0.1)));
VAR9:=REF(VAR8,1);
VAR10:=CLOSE<OPEN;
VAR11:=vol>REF(VOL,1)*2;
VAR12:=VAR9 AND VAR10 AND VAR11;
STICKLINE(VAR1,OPEN,CLOSE,3,1),COLORWHITE;
STICKLINE(VAR1,OPEN,CLOSE,2,0),COLOR0066FF;
STICKLINE(VAR3,OPEN,CLOSE,3,0),COLOR00FF00;
STICKLINE(VAR3,OPEN,CLOSE,2,0),COLOR008000;
XG:BARSLAST(VAR12),NODRAW;
DRAWICON(crOSS(HIGH,REF(HIGH,XG)),LOW*0.98,9);
DTL:REF(H,BARSLAST(CROSS(COUNT(VAR12,20),0.5))),DOTLINE,COLORFFFF00;