通达信【竞价优选】一进二竞价指标助力竞价吃肉肉 副图公式 源码
X_1:=(OPEN/REF(CLOSE,1)-1)*100;
X_2:=DYNAINFO(15)/OPEN/100;
X_3:=X_2/CAPITAL*100;
X_4:=X_2/REF(MA(VOL,5),1)*240;
X_5:=X_1<6 AND X_1>3;
X_6:=X_4>10 AND X_4<60;
X_7:=X_4*X_3/OPEN*20;
X_8:=IF(X_7>10 AND X_7<100,X_7,0);
X_9:=IF(X_5 AND X_6 AND X_3>0.3 AND X_8>10 AND X_8<100,X_8,0);
X_10:=IF(CODELIKE('688'),0,1);
X_11:=IF(CODELIKE('300'),0,1);
X_12:=IF(CODELIKE('300'),0,1);
X_13:=IF(NAMELIKE('ST'),0,1);
X_14:=IF(NAMELIKE('*'),0,1);
X_15:=DYNAINFO(17)>0;
优选:X_9>10 AND X_10 AND X_13 AND X_14 AND X_15 AND X_11 AND X_12;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
X_1赋值:(开盘价/1日前的收盘价-1)*100
X_2赋值:开盘金额/开盘价/100
X_3赋值:X_2/当前流通股本*100
X_4赋值:X_2/REF(成交量的5日简单移动平均,1)*240
X_5赋值:X_1<6 AND X_1>3
X_6赋值:X_4>10 AND X_4<60
X_7赋值:X_4*X_3/开盘价*20
如果X_7>10 AND X_7<100返回X_7否则返回0
如果X_5 AND X_6 AND X_3>0.3 AND X_8>10 AND X_8<100返回X_8否则返回0
X_10:=IF(CODELIKE('688'),0,1)
X_11:=IF(CODELIKE('300'),0,1)
X_12:=IF(CODELIKE('300'),0,1)
X_13:=IF(NAMELIKE('ST'),0,1)
X_14:=IF(NAMELIKE('*'),0,1)
X_15:=DYNAINFO(17)>0
输出优选:X_9>10 AND X_10 AND X_13 AND X_14 AND X_15 AND X_11 AND X_12