label.new有金额限制吗



我已经写了300行pine脚本,其中只包含label.new函数,但只有一部分可以工作。我只能在图表中找到最后几十个结果。

所以我想知道label.new有金额限制吗?

以下是我代码的一部分:

label.new(1619163994000, 47909, text='', style=label.style_circle, xloc=xloc.bar_time, color=#b2d235, size=size.tiny)
label.new(1619164295000, 47666, text='', style=label.style_circle, xloc=xloc.bar_time, color=#b2d235, size=size.tiny)
label.new(1619172557000, 49052, text='', style=label.style_circle, xloc=xloc.bar_time, color=#f15b6c, size=size.tiny)
label.new(1619172562000, 49075, text='', style=label.style_circle, xloc=xloc.bar_time, color=#f15b6c, size=size.tiny)

我今天刚刚读到这些限制。也许这有助于:https://www.pinecoders.com/faq_and_code/#how-many-plots-security-calls-variables-or-lines-of-cod-can-i-use

来自函数study()文档:

max_labels_count(const integer(最后显示的标签图形数。默认值为50,允许的最大值为500。

最新更新