rma functions from pinescript to MT5 新评论 灵魂设计师 2022.06.27 06:38 I want to port the functions from pinescript to MT5 but I don't know how to do the recursive part. rma(src, length,m) => alpha = m / length sum = 0.0 sum := na(sum[1]) ? sma(src, length) : alpha * src + (1 - alpha) * nz(sum[1]) This part of 'sum[1]' is not known how to implement ATR like trading view in MT5 Could someone please help me(trendline question) Relative Strength of True Range 新评论 您错过了交易机会: 免费交易应用程序 8,000+信号可供复制 探索金融市场的经济新闻 注册 登录 拉丁字符(不带空格) 密码将被发送至该邮箱 发生错误 使用 Google 登录 您同意网站政策和使用条款 如果您没有帐号,请注册 可以使用cookies登录MQL5.com网站。 请在您的浏览器中启用必要的设置,否则您将无法登录。 忘记您的登录名/密码? 使用 Google 登录
I want to port the functions from pinescript to MT5 but I don't know how to do the recursive part.
rma(src, length,m) =>
alpha = m / length
sum = 0.0
sum := na(sum[1]) ? sma(src, length) : alpha * src + (1 - alpha) * nz(sum[1])
This part of 'sum[1]' is not known how to implement