有没有办法让用户无法在配置选项中修改tradingview中的样式?

Is there a way that the user cannot modify the style in tradingview in the configuration options?

当我使用 plot() 时,我看到在“配置选项”中用户将能够修改样式。

有没有办法让用户无法在配置选项中修改tradingview中的样式?

有没有办法让用户在使用 plot() 时看不到样式?

也就是我想使用plot()但是我不希望它出现在配置选项中,我更喜欢风格是我的标准。

是的,这可以通过将 plot()editable 参数设置为 false 来实现。

plot(close, editable=false)

来自reference manual for plot()

editable (const bool) If true then plot style will be editable in Format dialog. Default is true.