HGW1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HGW2:=SMA(HGW1,3,1);
HGW3:=SMA(HGW2,3,1);
HGW4:=3*HGW2-2*HGW3;
HGW5:=HGW2>HGW3 AND HGW4>HGW3 AND HGW4>HGW2;
HGW6:=CAPITAL*C/1000000;
HGW7:=(C-REF(C,1))/REF(C,1)*100;
HGW8:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR DYNAINFO(4)=0 OR INBLOCK('创业板') OR INBLOCK('科创板')) OR BARSCOUNT(C)>1;
HGW9:=HGW6>0 AND HGW6<80;
HGW10:=HGW7>9.8 AND HGW7<10.99 AND C=H;
HGW11:=C>2 AND C<22;
HGW12:=COUNT(HGW10,2)=1;
HGW13:=HGW5 AND HGW8 AND HGW9 AND HGW10 AND HGW11 AND HGW12;
HGW14:=(C/REF(C,1)-1)*100;
HGW15:=(O/REF(C,1)-1)*100;
HGW16:=DYNAINFO(15)/O/100;
HGW17:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
HGW18:=REF(L,BARSLAST(CROSS(HGW17,0)));
HGW19:=(O-HGW18)/HGW18*100;
HGW20:=CODELIKE('60') OR CODELIKE('00');
HGW21:=(C/REF(C,1)-1)*100>9.8 AND H=C;
X_1:=EVERY(HGW21,4)<3;
好股网:=X_1 AND HGW19<=20 AND REF(HGW14>9.80,1) AND HGW15>=2 AND HGW15<=7.5 AND HGW20;
MA10:MA(C,10)DOTLINE,COLORLIMAGENTA;
STICKLINE(HGW13,H,L,0,0),COLOR0000FF;
STICKLINE(HGW13,C,O,3,0),COLOR000099;
STICKLINE(HGW13,C,O,2,0),COLORYELLOW;
STICKLINE(HGW13,C,O,1,0),COLORYELLOW;
STICKLINE(HGW13,C,O,0.3,0),COLOR0000FF;
DRAWTEXT(HGW13,L*0.99,'←活跃'),COLORYELLOW;
DRAWICON(HGW13,L*0.999,9);
STICKLINE(好股网,H,L,0,0),COLORFF00FF;
STICKLINE(好股网,C,O,3,0),COLOR990099;
STICKLINE(好股网,C,O,2,0),COLORRED;
STICKLINE(好股网,C,O,1,0),COLORRED;
STICKLINE(好股网,C,O,0.3,0),COLORRED;
DRAWTEXT(好股网,L*0.99,'←起飞'),COLORRED;
DRAWICON(好股网,L*0.999,28);
主力抢筹:HGW16/REF(V,1)*100,COLORRED,NODRAW;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND V>0,0.85,0.9001,0,'主力抢筹:'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND V>0,0.92,0.9001,0,主力抢筹),COLORYELLOW;