在线检测未来函数

MACD金叉收中阳,后面连续盘整N天,输出N排序

来源:Internet,编辑:股旁网,2012-06-25

编写条件:

MACD金叉收中阳线 后面盘整N天(3编写方法:

 s0:="macd.macd";

s1:=barslast(cross(s0,0) and c/ref(c,1)>=1.05);
s2:=all(h<=ref(c,s1)*1.05 and l>=ref(l,s1),s1);
N:if(between(s1,3,10) and s2,s1,0);
 
排序使用飞狐的排序功能即可

相关文章