D:=21;
STICKLINE(HIGH REF(CLOSE,1)*1.1-0.005,CLOSE,OPEN,1,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.4,0.04,0,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.04,0.06,0,HYBLOCK),COLORWHITE;
XA_1:=BARSLAST(REF(CLOSE REF(CLOSE,1)*1.1-0.005,1) AND CLOSE REF(CLOSE,1)*1.1-0.005 AND CROSS(VOL/REF(VOL,2) 1.5 AND REF(NOT(VOL/REF(VOL,1) 1.5),1) OR VOL/REF(VOL,1) 1.5,0.3));
XA_2:=BARSLAST(CLOSE REF(CLOSE,1)*1.1-0.005 AND REF(CLOSE REF(CLOSE,1)*1.1-0.005,2) AND REF(CLOSE REF(CLOSE,1)*1.1-0.005 AND CROSS(VOL/REF(VOL,2) 1.5 AND REF(NOT(VOL/REF(VOL,1) 1.5),1) OR VOL/REF(VOL,1) 1.5,0.3),1));
XA_3:=HIGH REF(CLOSE,1)*1.1-0.005;{九毛八公式指标网www.9m8.cn}
DRAWICON(REF(XA_1 6 AND COUNT(XA_3,XA_1)=0,1) AND XA_3,LOW,15);
DRAWICON(REF(XA_2 5 AND COUNT(CLOSE REF(CLOSE,1)*1.1-0.005,1+XA_2)=0,1) AND XA_3,LOW,15);
CB60:REF(SUM(AMOUNT,60)/SUM(VOL,60)/100,1);