HGW1:=HHV(HHV(LOW,14),240);
HGW2:=CLOSE*VOL;
HGW3:=EMA((EMA(HGW2,3)/EMA(VOL,3)+EMA(HGW2,6)/EMA(VOL,6)+EMA(HGW2,12)/EMA(VOL,12)+EMA(HGW2,24)/EMA(VOL,24))/4,13);
HGW4:=1.06*HGW3;
HGW5:=DMA((H+L+C*2)/4,0.9);
HGW6:=EMA(HGW5,5);
HGW7:=(CROSS(C,HGW6) AND CROSS(C,HGW4)) OR CROSS(C,HGW4);
HGW58:=CROSS(HGW6,HGW4);
HGW59:=IF(REF(C,1)*1.1-C<0.01,1,0);
XG:HGW59 OR HGW58;