HGW1:=(C-REF(LLV(L,15),3))/(REF(HHV(H,15),3)-REF(LLV(L,15),3))*100;
HGW2:=SMA(HGW1,3.1,1);
HGW3:=SMA(HGW2,3.1,1);
弹射:=(HGW2*HGW2+HGW3*HGW3)/100,COLORYELLOW,LINETHICK2;
HGW4:=弹射>REF(弹射,1)*1.01;
VAR22:=HGW4 AND CLOSE>REF(CLOSE,1)*1.02;
VAR23:=VAR22 AND vol/REF(MA(VOL,5),1)>1.5;
主升线:=IF(VAR23,弹射*1.05,MA(弹射,5)),COLORMAGENTA,LINETHICK2;
XG:主升线=弹射*1.05;