【问题标题】:Pine Script Tradingview: How to prevent the chart from being compressed when the plot is too far from the price?Pine Script Tradingview:当图表离价格太远时,如何防止图表被压缩?
【发布时间】:2021-12-31 07:01:27
【问题描述】:

在Tradingview网站的Pine Script中,当我们使用plot时,如果Plot离Prices太远,图表会被压缩,有什么办法可以防止吗?

//@version=5
indicator("My Script", overlay=true)
plot(2000, title='High', style=plot.style_line, color=color.new(color.red,10), linewidth=2)

【问题讨论】:

    标签: pine-script pinescript-v5


    【解决方案1】:

    我找到了,没有办法编程,但可以从交易视图设置中修复。

    1. 点击图表右上角的设置图标。
    2. 启用Scale Price Chart Only 选项

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-04-01
      • 1970-01-01
      • 1970-01-01
      • 2014-05-25
      • 1970-01-01
      • 1970-01-01
      • 2022-11-28
      相关资源
      最近更新 更多