HGW1:=DATE=DATE;
HGW2:=MA(CLOSE,6);
HGW3:=MA(CLOSE,12);
HGW4:=MA(CLOSE,18);
HGW5:=OPEN<HGW2 AND CLOSE>HGW2;
HGW6:=OPEN<HGW3 AND CLOSE>HGW3;
HGW7:=OPEN<HGW4 AND CLOSE>HGW4;
HGW8:=CLOSE/OPEN>=1.02;
HGW9:=VOL>HHV(HIGH,10);
HGW12:=HGW2>=REF(HGW2,1);
HGW16:=HGW12 AND HGW5 AND HGW6 AND HGW7 AND HGW8 AND HGW9;
STICKLINE(HGW16,0.8,8.8,1,0)*HGW1,COLOR000000;
STICKLINE(HGW16,0.8,8.8,1,0)*HGW1,COLOR505050;
DRAWTEXT(HGW16,7,'▲')*HGW1,COLOR00FFFF;
DRAWTEXT(HGW16,6,'〓')*HGW1,COLOR00FFFF;
DRAWTEXT(HGW16,5,'冲')*HGW1,COLOR00FFFF;
DRAWTEXT(HGW16,4,'破')*HGW1,COLOR00D1FF;
DRAWTEXT(HGW16,3,'九')*HGW1,COLOR0099FF;
DRAWTEXT(HGW16,2,'天')*HGW1,COLOR0070FF;
DRAWTEXT(HGW16,1,'〓')*HGW1,COLOR0040FF;