以下是通达信一进二神器选股指标公式源码副图 X_1:=BARSCOUNT(CLOSE); X_2:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1) AND LOW=HIGH; X_3:=EVERY(X_2,X_1) OR X_1=1; X_4:=NOT(X_3 OR NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) OR INBLOCK(4)); X_5:=2; X_6:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1); X_7:=COUNT(X_6,X_5)=1 AND X_6; X_8:=vol/700000000; X_9:=1.1*(maX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1); X_10:=2.5*MAX(X_8,X_9); X_11:=DMA(CLOSE,X_10); X_12:=SMA(20*(X_11/REF(X_11,1)-1),2,1); X_13:=EMA(X_12,2); X_14:=0.24; X_15:=CLOSE>=REF(CLOSE,1); X_16:=IF(X_12>X_14 AND X_13>=0.005 AND X_15,1,0); X_17:=crOSS(X_16,0.5) AND COUNT(X_16>0.5,10)=1; X_18:=kdj.J-REF(kdJ.J,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND macd.MacD>0 AND MACD.DEA>0; X_19:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAst(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)); X_20:=FILTER(X_19,28)*100 AND LOW>REF(CLOSE,1)*0.93; X_21:=X_18 OR X_20 AND X_17; X_22:=9; |