HGW1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
HGW2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HGW3:=(SMA(HGW2,3,1)-18)*1.55;
HGW4:=SMA(HGW3,3,1);
HGW5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
HGW6:=SMA(HGW5,10,1);
HGW7:=(EMA(SMA(HGW6,8,1),34)-25)*2.6;
HGW8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
HGW9:=POW(MA(LOW,5),2)+MA(LOW,5);
HGW10:=POW(MA(HIGH,5),2)+MA(HIGH,5);
HGW11:=((HGW8-LLV(HGW9,64))/(HHV(HGW10,64)-LLV(HGW9,64))*150+65-10)/2;
HGW12:=SMA(HGW11,3,1)*1.5-46;
HGW13:=SMA(HGW12,3,1);
HGW14:=3*HGW12-2*HGW13;
HGW15:=(HGW1+HGW2+HGW5)/3;
HGW16:=((HGW3+HGW3+HGW6+HGW12)/4-15)*1.67;
HGW17:=((HGW4+HGW4+HGW7+HGW13)/4-15)*1.67;
HGW18:=((HGW1+HGW5*2+HGW15+HGW16+HGW17+HGW11+HGW12+HGW13+HGW14)/10-15)*1.67;
HGW19:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
HGW20:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
HGW21:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
HGW22:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
HGW23:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
HGW24:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
HGW25:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
HGW26:=((HGW19*8+HGW20*8+HGW21*8+HGW22+HGW23+HGW24+HGW25)/28-0.1)*185;
HGW27:=SMA(HGW26,3,1);
HGW28:=(SMA(HGW27,8,1)-8)*1.18;
彩线1:(HGW16+HGW17+HGW18+HGW12+HGW13+HGW14+HGW28+HGW7)/13,COLOR004080;
彩线2:(HGW16+HGW17+HGW18+HGW12+HGW13+HGW14+HGW28+HGW7)/21,COLOR808000;
彩线3:(HGW16+HGW17+HGW18+HGW12+HGW13+HGW14+HGW28+HGW7)/34,COLORFF8080;
彩线4:(HGW3+HGW6+HGW27*2)/4,COLOR0000FF;
100,COLORLIGRAY;
HGW32:=CROSS(彩线4,彩线3);
HGW35:=HGW32 AND REF(彩线4,1)<0;
DRAWICON(HGW35,HGW35+5,38);
黑马:CROSS(彩线1,彩线3),COLORBLUE;
DRAWICON(黑马,黑马+5,25);