主力资金监控:=BARSCOUNT(C)>5;{上市大于五天,前五天不限制幅度}
选股指标公式:=REF(C,1);{通达信公式www.gs6699.com}
ZF:=(H-选股指标公式+0.01)/选股指标公式*100;
DF:=(选股指标公式-L+0.01)/选股指标公式*100;
vvvv5:=ZF>=5 AND 主力资金监控 AND C=H;
cccc5:=DF>=5 AND 主力资金监控 AND C=L;
vvvv10:=ZF>=10 AND 主力资金监控 AND C=H;
cccc10:=DF>=10 AND 主力资金监控 AND C=L;
vvvv20:=ZF>=20 AND 主力资金监控 AND C=H;
cccc20:=DF>=20 AND 主力资金监控 AND C=L;
cssssw:=IF(INBLOCK('科创板'),vvvv20,IF(INBLOCK('创业板') AND DATE>1200823,vvvv20,IF(INBLOCK('ST板块'),vvvv5,vvvv10)));
aaaaa8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
aaaaa9:=FILTER(aaaaa8,10);
aaaaa10:=BARSLAST(aaaaa9);
aaaaa11:=REF(HIGH,aaaaa10+2);
aaaaa12:=REF(HIGH,aaaaa10+1);
aaaaa13:=REF(HIGH,aaaaa10);
aaaaa14:=MAX(aaaaa11,aaaaa12);
aaaaa15:=MAX(aaaaa14,aaaaa13);
aaaaa16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
aaaaa17:=aaaaa10<150;
aaaaa18:=(OPEN-aaaaa15)/aaaaa15*100<30;
aaaaa19:=(CLOSE-LLV(LOW,aaaaa10))/LLV(LOW,aaaaa10)*100<50;
aaaaa20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
aaaaa21:=VOL/MA(VOL,5)<3.5;
aaaaa22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
aaaaa25:=aaaaa16 AND aaaaa17 AND aaaaa18 AND aaaaa19 AND aaaaa20 AND aaaaa21 AND aaaaa22;
affse2:=FILTER(aaaaa25,15);
MA10:=MA(CLOSE,10);
MA54:=MA(CLOSE,54);
PL1:=(((CLOSE-MA54)/MA54)<0.1);
PL2:=(((CLOSE-MA10)/MA10)<0.3);
affse1:=(((PL1=1) AND (PL2=1))*0.2);
affse3:=((((affse1=0) AND (REF(affse1,1)=0.2)) AND (REF((COUNT((affse1=0.2),10)=10),1)=1))*-0.1);
affse4:=affse3=-0.1;
XDF:=affse2 OR affse4;
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);
affse9:=XDF AND cssssw AND FLIGA AND VARAA;
affse5:affse9;