分享几个前期使用过的选股公式给大家,有时间利用去试验一下,选好的票就多观察,如果好的话,以后就不用为选股发愁了。
源码分享如下。
1、几天内出现涨停
TS:=45;A:=5;
股价指示:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
行情启动:IF(CROSS(股价指示,A),100,0) AND C/REF(C,1) 1.00 AND C 28 =0.50;
2、15天内先死叉一次,今天金叉
S1:=IF(CODELIKE('300'),0,1);
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
S4:=DYNAINFO(4) {去除停牌OR}
XG: S1 AND S2 AND S3 AND S4 AND C 0
AND RANGE(CAPITAL/100,3000,110000)
AND DYNAINFO(17) =2.00{量比 }AND C 22
AND BETWEEN(V/CAPITAL*100, 2.3,30) AND
COUNT(CROSS(MA(C,10),MA(C,5)),15)=1 AND CROSS(MA(C,5),MA(C,10));
3、低位金叉选股
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
低位金叉:CROSS(DIFF,DEA) AND DIFF -0.1;