VDAR_1:=STR2CON(CODE);
VDAR_2:=VDAR_1>=300000 AND VDAR_1<=302999;
VDAR_3:=VDAR_1>=688000 AND VDAR_1<=688999;
VDAR_4:=ZTPRICE(REF(CLOSE,1),0.1);
VDAR_5:=ZTPRICE(REF(CLOSE,1),0.2);
VDAR_6:=IF(VDAR_2 OR VDAR_3,VDAR_5,VDAR_4);
VDAR_7:=CLOSE>=VDAR_6 AND CLOSE=HIGH;
VDAR_8:=IF(NAMEINCLUDE('退'),0,1);
VDAR_9:=BARSCOUNT(vol)>=120;
VDAR_10:=NAMELIKE('ST')=0 AND NAMELIKE('*ST')=0 AND NAMELIKE('SST')=0 AND NAMELIKE('S*ST')=0;
VDAR_11:=DYNAINFO(4)>0;
VDAR_12 :=IF(CODELIKE('300') OR CODELIKE('301') ,0,1);
VDAR_13 :=IF(CODELIKE('688'),0,1);
VDAR_14:=VDAR_7 AND LOW=HIGH;
VDAR_15:=REF(VDAR_14=0,1) AND REF(VDAR_14=0,2);
VDAR_16:=BARSLASTCOUNT(VDAR_7);
VDAR_17:=VDAR_8 AND VDAR_9 AND VDAR_10 AND VDAR_11 AND VDAR_12 AND VDAR_13 AND VDAR_15;
选股1:=OPEN/REF(CLOSE,1)>=1.03 AND (OPEN/REF(CLOSE,1)-1)*100<=8.8 AND VDAR_17 AND REF(VDAR_16>=1 AND VDAR_16<=2,1);
AA:=(EMA(CLOSE,12)/EMA(CLOSE,26)-1)*1000;
VAR3:=EMA(AA,5);
BB:=(EMA(INDEXC,12)/EMA(INDEXC,26)-1)*1000;
VAR4:=EMA(BB,5);
VAR40:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR69:=(CLOSE-VAR40)/VAR40*200>31;
Z:=DYNAINFO(15)/OPEN/FINANCE(46)*100;
竞价成交量:=DYNAINFO(15)/O/100;
竞流通比:=竞价成交量/CAPITAL*100 ;
竞昨量:=竞价成交量/REF(V,1);
今日竞价股数:=DYNAINFO(15)/DYNAINFO(4);
竞价动能:=今日竞价股数/FINANCE(46)*10000*(O-REF(C,1))/REF(C,1);
TJT1:=O>=1.097*REF(C,1);
TT:=NOT(TJT1);
MM:=REF(C,0)/REF(C,1)>=1.0973 AND C=H;
ZT:=C/REF(C,1)>=1.095 AND C=H;
VAR1:=Abs((OPEN-REF(CLOSE,1))/REF(CLOSE,1)/((INDEXO-REF(INDEXC,1))/REF(INDEXC,1)));
VAR2:=REF(COUNT(ZT AND L=H,1)=1,1) AND REF(O,1)=REF(C,1);
XG:=VAR1>3 AND NOT(VAR2) AND VAR3 AND VAR4 AND REF(MM,1) AND TT AND 竞流通比+竞昨量+竞价动能>4 AND VAR69;
选股:选股1 AND XG;