H1:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
H2:=FILTER(H1,10);
H3:=BARSLAST(H2);
H5:=REF(HIGH,H3+2);
H6:=REF(HIGH,H3+1);
H7:=REF(HIGH,H3);
H8:=MAX(H5,H6);
H9:=MAX(H8,H7);
H10:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
H11:=H3<150;
H12:=(OPEN-H9)/H9*100<30;
H13:=(CLOSE-LLV(LOW,H3))/LLV(LOW,H3)*100<50;
H15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
H16:=vol/MA(VOL,5)<3.5;
H17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
H18:=H10 AND H11 AND H12 AND H13 AND H15 AND H16 AND H17;
暴利:=FILTER(H18,15);
MA5A:=MA(CLOSE,5);
MA10A:=MA(CLOSE,10);
MA20A:=MA(CLOSE,20);
MA30A:=MA(CLOSE,30);
MA54A:=MA(CLOSE,54);
MA60A:=MA(CLOSE,60);
MA120A:=MA(CLOSE,120);
P1:=(((CLOSE-MA54A)/MA54A)<0.1);
P2:=(((CLOSE-MA10A)/MA10A)<0.3);
P3:=(((P1=1) AND (P2=1))*0.2);
突破:=((((P3=0) AND (REF(P3,1)=0.2)) AND (REF((COUNT((P3=0.2),10)=10),1)=1))*-0.1);
小妖:=突破=-0.1;
XDF:=(暴利 OR 小妖);
VARA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
FLIGA:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
妖股:XDF AND C/REF(C,1)>1.095 AND FLIGA AND VARAA;