在线检测未来函数

上穿5日均线的选股指标

来源:Internet,编辑:股旁网,2015-04-19

编写条件:

日线5、10、30多头排列,股价当天上穿5日均线且收3%以上的阳K线。

编写方法:

m1:=ma(c,5);
m2:=ma(c,10);
m3:=ma(c,30);
t1:=m1>m2 and m2>m3;
t2:=c>O and c/ref(c,1);
t: cross(c,m1) and t1 and t2;

相关文章