HGW1:=(HIGH+L+C)/3;
HGW2:=VOL/IF(H=L,4,H-L);
HGW3:='KDJ.J';
HGW4:=IF(CAPITAL=0,HGW2*(HGW1-MIN(C,O)),HGW2*(MIN(O,C)-L));
HGW5:=IF(CAPITAL=0,HGW2*(MIN(O,C)-L),HGW2*(HGW1-MIN(C,O)));
HGW6:=HGW2*(H-MAX(O,C));
HGW7:=HGW2*(MAX(C,O)-HGW1);
HGW8:=HGW4+HGW5;
HGW9:=HGW6+HGW7;
HGW10:=(HGW8-HGW9)/(HGW8+HGW9)*100;
HGW11:=((HGW4+HGW5)-(HGW6+HGW7))/SUM(VOL,10)*100;
HGW12:=HGW10*17;
HGW13:=((HGW5+HGW7)-(HGW4+HGW6))/SUM(VOL,10)*100;
HGW14:=CROSS(HGW3,0) AND ((HGW11>0 AND HGW13>0) OR HGW12>400);
HGW17:=SMA((CLOSE-LLV(LOW,13))/(HHV(H,13)-LLV(LOW,13))*100,5,1);
HGW18:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1) AND IF(CODELIKE('688'),0,1);
HGW19:=SMA((HHV(H,13)-CLOSE)/(HHV(H,13)-LLV(LOW,13))*100,5,1);
HGW20:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;
HGW21:=CROSS(EMA(HGW20,3), HGW17) AND HGW19>65;
HGW22:=CROSS(0.9,1/VOL*1000>0.01 AND 'KDJ.J'< 0);
HGW23:=EMA(CLOSE,12)-EMA(CLOSE,26);
HGW24:=EMA(HGW23,9);
HGW25:=(HGW23-HGW24)*2;
HGW26:=HGW25>REF(HGW25,1);
回转反击:HGW14 AND HGW21 AND HGW22 AND C>REF(C,1) AND HGW18 AND HGW26,LINETHICK2,COLORFF00FF;