早盘竞价擒牛选股预警 盘前9:25至9:30分使用 通达信
XA_1:=1200630;
XA_2:=DATE;
XA_3:=IF(DATE<=XA_1,1,1);
XA_4:=IF(DYNAINFO(17)>0 AND DYNAINFO(4)>0,1,0);
XA_5:=IF(NAMELIKE(1),0,1);
XA_6:=IF(NAMELIKE(2),0,1);
XA_7:=IF(INBLOCK(3) OR INBLOCK(5),0,1);
XA_8:=BARSCOUNT(CLOSE)>28;
XA_9:=IF(CODELIKE(4),0,1);
XA_10:=FINANCE(33)>0;
XA_11:=XA_4 AND XA_5 AND XA_6 AND XA_7 AND XA_10 AND XA_8 AND XA_9;
XA_12:=DYNAINFO(17)>1;
XA_13:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.03 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<=0.06;
XA_14:=DYNAINFO(9)>10000;
XA_15:=CAPITAL/1000000<10;
XA_16:=IF(CLOSE>=SAR(4,2,20),1,0);
XA_17:=REF(CLOSE/REF(CLOSE,1)>=1.095,1) AND CLOSE>0 AND NOT(EVERY(CLOSE=OPEN,BARSCOUNT(CLOSE)));
XA_18:=CLOSE/REF(CLOSE,1)>=1.095 AND CLOSE=HIGH;
XA_19:=COUNT(XA_18,120)>=4 AND COUNT(XA_18,60)>=1 AND DYNAINFO(8)>0;
XA_20:=MACHINETIME;
XA_21:=XA_20>=92400 AND XA_20<=93100;
选股:(XA_12 AND XA_13 AND XA_14 AND XA_15 AND XA_11 AND XA_16 AND XA_17 AND XA_19 AND XA_21)*XA_3;
|