A:=VOL*CLOSE;

B:=SUM(A,1)/SUM(VOL,1);

B1:=EMA(B,17);

进:=STICKLINE(((B-B1)*1500/B)>=0 AND 0>=REF(0,1),0,((B-B1)*1500/B),2,1),COLORRED;

出:=STICKLINE(((B-B1)*1500/B)<0 AND 0>=REF(0,1),0,((B-B1)*1500/B),2,1),COLORGREEN;

主力突破:=(B-B1)*1500/B COLORRED,NODRAW;

{100;}

XG:=主力突破>100;

DRAWICON(主力突破>100 AND NOT(L=H) AND 主力突破>REF(主力突破,1) ,主力突破,16);