我可以在Pine脚本V5中获得ABS的工作

发布于 2025-01-31 01:06:05 字数 285 浏览 1 评论 0原文

我试图找到蜡烛,看涨或看跌的全尺寸,所以我尝试: fulllength = Maths.abs(高低)fulllength = abs(高低) 但两者都没有起作用。 我收到信息:

Could not find function or function reference 'maths.abs'.
Could not find function or function reference 'abs'.

任何想法都非常感谢。提前致谢。

I am trying to find the full size of a candle, bullish or bearish, so I try:
FullLength = maths.abs(high-low) and FullLength = abs(high-low)
but neither works.
I get the message:

Could not find function or function reference 'maths.abs'.
Could not find function or function reference 'abs'.

Any ideas much appreciated. Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

脱离于你 2025-02-07 01:06:05

如果您使用的是v5,则是Math.abs()不是MATHS

v4中,它是abs()

If you are using v5, it is math.abs() not maths.

In v4, it is abs().

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