想创建一个用于交易视图的Pine脚本
想要创建一个用于创建指标的Pine脚本,该指标基于前一天的“历史值”开放蜡烛值。它应该基于公式
值=(SQRT(“ prev day open”)+9)^3
创建线路,请给我发送pine脚本,以根据给定条件创建此类水平线。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您,您可以熟悉Pine脚本语言参考,您可以在其中搜索这些内容
short Tradingvies Pine编辑器中的教程
您想要的变量看起来像是
在某个条件下打印或显示水平线,您可以做到这一点:
请记住,TradingView具有限制一条线可以返回的许多条,图表上可以有多少
I recommend to you, that you get familiar to the Pine Script language reference, where you can search these things up
short tutorial in tradingvies pine editor
your wanted variable would look like that
To print or display horizontal lines on a certain condition you can do that as follows:
keep in mind that tradingview has limitations on how many bars a line can go back, and how much there can be on a chart