函数ta.rsi pinescript在TradingView上

发布于 2025-02-07 04:10:06 字数 248 浏览 1 评论 0原文

我不明白为什么我的脚本不能保存我的函数ta.rsi(关闭,9)。 我对Math.max也有同样的问题 我认为我没有在代码中犯错

”在此处输入图像说明”

I dont't understand why my script doesn't save my function ta.rsi(close,9).
I have the same problem with math.max
I think I didn't make a mistake in my code

enter image description here

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

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

发布评论

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

评论(1

过潦 2025-02-14 04:10:06

这些ta。数学。名称空间已在v5中引入。

看起来您的Pinescript在较旧的版本中。

您应该在没有命名空间的情况下调用这些功能。

vrsi = rsi(close, 9)

Those ta. and math. namespaces have been introduced in v5.

It looks like your pinescript is in an older version.

You should call those functions without the namespaces.

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