给定数量的栏返回的“最高价值偏移”意义?

发布于 2025-01-27 01:03:08 字数 170 浏览 4 评论 0原文

我是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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烟火散人牵绊 2025-02-03 01:03:08

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文