给定数量的栏返回的“最高价值偏移”意义?
我是Pine脚本的新手,请任何人确切地向我解释一下此high [abs(abs distbars(applitude))]
语句返回,特别是在最高bars(2)
定义中最高价值偏移意味着什么?仅供参考,该语句来自TradingView.com Halftrend脚本, 谢谢
I'm new to Pine script, please, anyone explain me exactly what this high[abs(highestbars(amplitude))]
statement returns, specially in highestbars(2)
definition what it mean Highest value offset?? FYI this statement is from Tradingview.com HalfTrend script,
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
lizeBars()
将为您提供给定范围内最高栏的条索引偏移。例如,如果
最高bar(5)
返回-2
,您知道最后5个bar中的最高栏是2个bars以前。highestbars()
will give you the bar index offset of the highest bar in the given range.For example, if
highestbars(5)
returns-2
, you know that the highest bar within the last 5 bars was 2 bars ago.