HGW1:=REF(OPEN,5)*100;
HGW2:=(CLOSE-REF(OPEN,5));
HGW3:=REF(CLOSE,1)*100;
HGW4:=(CLOSE-REF(CLOSE,1));
HGW5:=REF(CLOSE,3)*100;
HGW6:=(REF(CLOSE,3)-CLOSE);
HGW7:=MA(CLOSE,54);
HGW8:=HGW6/HGW5>5;
HGW9:=FILTER(HGW8,10);
HGW10:=BARSLAST(HGW9);
HGW11:=REF(HIGH,HGW10+2);
HGW12:=REF(HIGH,HGW10+1);
HGW13:=REF(HIGH,HGW10);
HGW14:=MAX(HGW11,HGW12);
HGW15:=MAX(HGW14,HGW13);
HGW16:=HGW4/HGW3>5;
HGW17:=HGW10< 150;
HGW18:=(OPEN-HGW15)/HGW15*100< 30;
HGW19:=(CLOSE-LLV(LOW,HGW10))/LLV(LOW,HGW10)*100< 50;
HGW20:=HGW2/HGW1< 30;
HGW21:=VOL/MA(VOL,5)< 3.5;
HGW22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
HGW25:=HGW16 AND HGW17 AND HGW18 AND HGW19 AND HGW20 AND HGW21 AND HGW22;
HGW26:=FILTER(HGW25,15);
HGW27:=(((CLOSE-HGW7)/HGW7)< 0.1);
HGW28:=(((CLOSE-MA(CLOSE,10))/MA(CLOSE,10))< 0.3);
HGW29:=(((HGW27=1) AND (HGW28=1))*0.2);
HGW30:=((((HGW29=0) AND (REF(HGW29,1)=0.2)) AND (REF((COUNT((HGW29=0.2),10)=10),1)=1))*-0.1);
HGW31:=HGW30=-0.1;
HGW32:=(HGW26 OR HGW31);
HGW33:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
HGW34:=(V/REF(V,1)>1.2 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>1.2);
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
成妖:HGW32 AND C/REF(C,1)>1.095 AND HGW34 AND HGW33,NODRAW;
STICKLINE(C/REF(C,1)>=1.096 AND H=C,O,C,2,0),COLOR00FFFF;
DRAWICON(成妖,LOW*0.995,7);
DRAWTEXT(成妖,LOW*0.975,' 成妖'),COLOR00FFFF;