如何使绘图线默认为在 pine 脚本中不可见 [英] how to make a plot line default to not visable in pine script

查看:51
本文介绍了如何使绘图线默认为在 pine 脚本中不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,所以我有这行代码,我希望它不要默认为可见,因为现在确定我可以打开它并在样式菜单中将其关闭,但是如果可能的话,我希望让它以这种方式开始.提前感谢您的观看

Ok so I have this line of code, and I would like for it not to default to visable, as it is right now sure I can just open it and turn it off in the style menu, but If possible I would like to have it start off that way. Thanks in advance for taking a look

plot(tsl, color=colr, linewidth=3, title="BUY/SELL Chart Line")

推荐答案

使用参数display

plot(tsl, color=colr, linewidth=3, title="BUY/SELL Chart Line", display=display.none)

这篇关于如何使绘图线默认为在 pine 脚本中不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆