通达信止跌买入优化(选股、源码、说明)
止跌买入选股是从我的综合选股公式中分离出来的,怕有些坛友嫌在弱市中选出股票少,所以未加优化直接将源码放出。现在将我的综合选股公式优化源码放出,弱市中选的股票少可别怪哦......
生命线:=MA(CLOSE,60);
去除停牌:=DYNAINFO(17)!=0;
去除ST股:=EXIST((C-REF(C,1))/REF(C,1)*100>5.6,100);
涨幅%:=(C-REF(C,1))/REF(C,1)*100;
开盘封涨停:=O/REF(C,1)<1.098;
去除星股:=IF(NAMELIKE('*'),0,1);
EMA3:=EMA(C,3);
EMA13:=EMA(C,13);
EMA21:=EMA(C,21);
HR2:=EMA3>=REF(EMA3,3) AND EMA13>=REF(EMA13,1) AND EMA21>=REF(EMA21,1) AND CROSS(C,EMA3) AND CROSS(C,EMA13) AND CROSS
(C,EMA21);
止跌买入:HR2 AND FILTER(HR2,10) AND C>生命线 AND 涨幅%>6 AND 去除停牌 AND 去除ST股 AND 去除星股 AND 开盘封涨停;