不破假阴真阳选股预警 源码 通达信 附图
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(4),0,1);
XA_8:=BARSCOUNT(CLOSE)>28;
XA_9:=IF(CODELIKE(5),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:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.0945 AND CLOSE=HIGH;
XA_13:=COUNT(XA_12,2)=1 AND COUNT(XA_12,1)=0;
XA_14:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>=0.01 AND HIGH>OPEN AND CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
XA_15:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>=0.01 AND HIGH>OPEN AND CLOSE>OPEN AND CLOSE<ZTPRICE(REF(CLOSE,1),0.1);
XA_16:=XA_13 AND XA_14;
XA_17:=XA_13 AND XA_15;
XA_18:=XA_16 OR XA_17;
选股:XA_18 AND XA_3 AND XA_11;