VAR1:=DATE=DATE;
VAR2:=MA(CLOSE,6);
VAR3:=MA(CLOSE,12);
VAR4:=MA(CLOSE,18);
VAR5:=OPEN<VAR2 AND CLOSE>VAR2;
VAR6:=OPEN<VAR3 AND CLOSE>VAR3;
VAR7:=OPEN<VAR4 AND CLOSE>VAR4;
VAR8:=CLOSE/OPEN>=1.02;
VAR9:=vol>HHV(HIGH,10);
VAR12:=VAR2>=REF(VAR2,1);
VAR16:=VAR12 AND VAR5 AND VAR6 AND VAR7 AND VAR8 AND VAR9;
STICKLINE(VAR16,0.8,8.8,1,0)*VAR1,COLOR000000;
STICKLINE(VAR16,0.8,8.8,1,0)*VAR1,COLOR505050;
DRAWTEXT(VAR16,7,'▲')*VAR1,COLOR00FFFF;
DRAWTEXT(VAR16,6,'〓')*VAR1,COLOR00FFFF;
DRAWTEXT(VAR16,5,'冲')*VAR1,COLOR00FFFF;
DRAWTEXT(VAR16,4,'破')*VAR1,COLOR00D1FF;
DRAWTEXT(VAR16,3,'九')*VAR1,COLOR0099FF;
DRAWTEXT(VAR16,2,'天')*VAR1,COLOR0070FF;
DRAWTEXT(VAR16,1,'〓')*VAR1,COLOR0040FF;