你好,游客 登录 注册 搜索
背景:

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

[日期:2020-01-19] 来源:  作者: [字体: ]

编写要求:

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);
 
排序使用飞狐的排序功能即可
收藏 推荐 打印 | 录入:admin | 阅读:
相关新闻