HGW1:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100);
HGW2:=(HHV(HIGH,75)-LLV(LOW,75))/100;
HGW3:=SMA((CLOSE-LLV(LOW,75))/HGW2,20,1);
HGW4:=3*HGW3-2*SMA(HGW3,15,1);
HGW5:=MAX(CLOSE-REF(CLOSE,1),0);
HGW6:=ABS(CLOSE-REF(CLOSE,1));
HGW7:=SMA(HGW5,7,1)/SMA(HGW6,7,1)*100;
HGW8:=SMA(HGW5,13,1)/SMA(HGW6,13,1)*100;
HGW9:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
HGW10:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
HGW11:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
HGW12:=SMA((SMA(HGW11,4,1)-50)*2,3,1);
HGW13:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
HGW14:=SMA(SMA(HGW13,4,1),3,1);
HGW15:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
HGW16:=HGW9<=25 AND HGW10<-95 AND HGW15>20;
HGW18:=HGW16 AND HGW12<-30 AND HGW14<30 AND EMA(L*0.9,30)-C>=-0.25;
HGW19:=HGW18 AND HGW7<22 AND HGW8<28 AND BARSCOUNT(CLOSE)>50;
主力做底轴线:95,COLORYELLOW,LINETHICK2;
主力做大底轴线:100,COLORMAGENTA,LINETHICK3;
主力做顶轴线:0,COLORCYAN,LINETHICK2;
中线轴:15,COLORWHITE,LINETHICK2;
主力筹码趋向:(100-HGW4),COLOR0099FF,LINETHICK1;
STICKLINE(主力筹码趋向>HGW1,HGW1,主力筹码趋向,1,0),COLOR0099FF;
STICKLINE(HGW19,0,80,1,0),COLORRED,LINETHICK3;