在线检测未来函数

前峰顶部开盘的选股公式

来源:Internet,编辑:股旁网,2013-06-04

编写条件:

股票5 天线上穿24天线回踩后成短期顶部,求选出回调后开盘价在这个短期顶部开盘,或跳空高开前顶部开盘的股票。

编写方法:

aa:=cross(ma(c,5),ma(c,24));
ta:=barslast(aa);
bb:=c<ma(c,24);
tb:=barslast(bb);
hh:=ref(hhv(h,ta-tb),tb);
cross(o,hh) and ta>tb and tb>0 and ma(c,5)>ref(ma(c,5),1);

相关文章