我可以在Pine脚本V5中获得ABS的工作
我试图找到蜡烛,看涨或看跌的全尺寸,所以我尝试: 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用的是
v5
,则是Math.abs()
不是MATHS
。在
v4
中,它是abs()
。If you are using
v5
, it ismath.abs()
notmaths
.In
v4
, it isabs()
.