HGW1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
HGW2:=20*HGW1+19*REF(HGW1,1)+18*REF(HGW1,2)+17*REF(HGW1,3)+16*REF(HGW1,4)+15*REF(HGW1,5);
HGW3:=(HGW2+14*REF(HGW1,6)+13*REF(HGW1,7)+12*REF(HGW1,8)+11*REF(HGW1,9)+10*REF(HGW1,10)+9*REF(HGW1,11)+8*REF(HGW1,12)+7*REF(HGW1,13)+6*REF(HGW1,14)+5*REF(HGW1,15)+4*REF(HGW1,16)+3*REF(HGW1,17)+2*REF(HGW1,18)+REF(HGW1,20))/210;
HGW4:=REF(CLOSE,1);
HGW5:=EMA(CLOSE,14);
HGW6:=MA(CLOSE,5);
HGW7:=(CLOSE-HGW6)/HGW6*100;
HGW8:=ATAN((HGW6/REF(HGW6,1)-1)*100)*180/3.1416;
HGW9:=SMA(EMA((HGW6-REF(HGW6,1))/REF(HGW6,1),3)*100,3,1);
HGW10:=EMA(HGW9-REF(HGW9,1),3);
HGW11:=MA(CLOSE,10);
HGW12:=(CLOSE/HGW4-1)*100>5;
HGW13:=CROSS(0,HGW7);
HGW14:=MA(CLOSE,30);
HGW15:=(CLOSE-HGW14)/HGW14*100;
HGW16:=HGW15>REF(HGW15,1) AND HGW6>REF(HGW6,1);
HGW17:=HGW10>REF(HGW10,1) AND HGW9>REF(HGW9,1);
HGW18:=HGW15>REF(HGW15,1) AND HGW11>REF(HGW11,1);
HGW19:=COUNT(CROSS(HGW8,30),5)>=1;
HGW20:=FILTER(HGW19 AND HGW6>REF(HGW6,1) AND HGW18 AND HGW17,10);
HGW21:=HGW13 AND HGW15<REF(HGW15,1) AND HGW11>REF(HGW11,1);
HGW22:=FILTER(HGW21,10);
HGW23:=COUNT(CROSS(HGW7,0),3)>=1 AND HGW16 AND HGW12 AND REF(CLOSE,1)<HGW14;
HGW24:=FILTER(HGW23,10);
HGW25:=(HIGH+LOW+CLOSE)/3;
HGW26:=(HGW25-MA(HGW25,14))/(0.015*AVEDEV(HGW25,14));
HGW27:=HGW5>EMA(HGW3,13) AND UPNDAY(EMA(HGW3,13),2);
HGW28:=HGW26>=200;
指标平台:=CLOSE>HGW6 AND HGW6>HGW5;
好股网:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
趋势线:EMA(HGW3,13);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(HGW20 AND CLOSE>EMA(HGW3,13),CLOSE,OPEN,2,0),COLORYELLOW;
STICKLINE(HGW22,CLOSE,OPEN,2,0),COLOR008000;
DRAWICON(HGW24 AND CLOSE>EMA(HGW3,13),LOW*0.997,48);
DRAWICON(HGW28,HIGH*1.015,46);
DRAWICON(CROSS(84,好股网),HIGH*1.01,47);
DRAWICON(指标平台 AND HGW27,EMA(HGW3,13)*0.99,9);