这个策略可以更新到v4吗
我一直在尝试将这个 v2 策略更新为 v4,但没有成功;我想知道这是否可以在不从头开始重新编码的情况下完成。
我仍然是 pinescript 的初学者,在过去的几个小时里我已经尝试了所有方法,但无法成功加载它。
我非常感谢任何帮助/意见。
谢谢
I have been trying to update this v2 strategy to v4 without any luck; I am wondering if this could be done without actually re-coding it from scratch.
I am still a beginner with pinescript, and I have tried everything for the last few hours without being able to get it to successfully load.
I would highly appreciate any help/input.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
升级时您需要了解某些变化。幸运的是,
pinescript
有非常好的文档。请密切注意一些函数,例如security
,其中参数的默认值已更改。请阅读此内容并尝试升级到v3。之后,自动转换器应该完成这项工作。
You need to know certain changes when upgrading. Luckily,
pinescript
has a very good documentation. Pay close attention to some functions likesecurity
where the deafult value of a parameter has been changed.Please read this and try to upgrade to v3. After that, the auto converter should do the job.