在线检测未来函数

制涨停后回落10日均线的选股公式

来源:Internet,编辑:股旁网,2012-07-17

编写条件:

请老师编制十五日期内有过涨停,然后第一次回落到10日期线后站稳的选股公式,谢谢了!

编写方法:

 m10:=ma(c,10);

st:=namelike('st') or namelike('*st') or namelike('sst');
c1:=ref(c,1);
zt:=1.1*c1-c<0.005 or (1.05*c1-c<0.005 and st);
ztyl:=barslast(zt);
zg:=hhv(c,ztyl+1);
zd:=llv(c,ztyl+1);
zgyl:=barslast(zg=c);
zdyl:=barslast(zd=c);
xg:ref(c,ztyl)>1.25*ref(m10,ztyl) and count(zt,15)>=1 and zd>hhv(m10,ztyl+1) and zgyl>zdyl;

相关文章