为什么号码不见了?
Why is the number missing?
为什么号码不见了?
//@version=4
study("我的编号指标", shorttitle='My bianhao', overlay=true)
y = 0
for a =0 to 100
y := a + 1
l = label.new(bar_index[y],na)
label.set_text(l, text = tostring(y))
label.set_yloc(l, yloc.belowbar)
label.set_style(l, label.style_none)
label.set_textcolor(l, textcolor = color.white)
这是由 Pine 中的垃圾回收进程引起的。
默认情况下,图表上只保留最后 50 个绘图对象。
通过使用 study()
函数中的 max_labels_count
参数,可以将该限制增加到最大值 500。
study("我的编号指标", shorttitle='My bianhao', overlay=true, max_labels_count=500)
您可以在 User Manual under Total number of drawings 中阅读有关垃圾收集的更多信息。
为什么号码不见了?
//@version=4
study("我的编号指标", shorttitle='My bianhao', overlay=true)
y = 0
for a =0 to 100
y := a + 1
l = label.new(bar_index[y],na)
label.set_text(l, text = tostring(y))
label.set_yloc(l, yloc.belowbar)
label.set_style(l, label.style_none)
label.set_textcolor(l, textcolor = color.white)
这是由 Pine 中的垃圾回收进程引起的。
默认情况下,图表上只保留最后 50 个绘图对象。
通过使用 study()
函数中的 max_labels_count
参数,可以将该限制增加到最大值 500。
study("我的编号指标", shorttitle='My bianhao', overlay=true, max_labels_count=500)
您可以在 User Manual under Total number of drawings 中阅读有关垃圾收集的更多信息。