通达信振幅选股指标公式

[复制链接]
查看86 | 回复0 | 2021-8-20 22:00:57 | 显示全部楼层 |阅读模式

v1:=(h-l)/l*100;{振幅}
xg8涨:if(v1>8 and c>=o,1,0),colorwhite;{振幅大于8,阳线}
xg8跌:if(v1>8 and c<o,1,0),colorwhite,stick;{振幅大于8,阴线}
xg10涨:if(v1>10 and c>=o,1,0),colorff9900;{振幅大于10,阳线}
xg10跌:if(v1>10 and c<o,1,0),colorff9900,stick;{振幅大于10,阴线}
xg15涨:if(v1>15 and c>=o,1,0),color00ff00;{振幅大于15,阳线}
xg15跌:if(v1>15 and c<o,1,0),color00ff00,stick;{振幅大于15,阴线}
xg20涨:if(v1>20 and c>=o,1,0),colorred;{振幅大于20,阳线}
xg20跌:if(v1>20 and c<o,1,0),colorred,stick;{振幅大于20,阴线}

202108201624.jpg

202108201624.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则