我正在尝试绘制水平射线,称为“支持9000区间”如何使名称=动态标签?
//@version=2
study(title="Plot", shorttitle="Plots", overlay = true)
sd = input(true, title="Show Plots?")
naa = "Support"
ttl1 = input(title=naa, type=integer, defval = 9000)
wid = input(title="Width", type=integer, defval = 4)
offset = 0
plot(sd and ttl1 ? ttl1 : na, title=naa,style=circles, color=#311B92,linewidth=wid, trackprice=true)
无法完成。如果要在图表上显示名称,则可以使用如下方法:
https://www.tradingview.com/script/yyDYIrRQ-Pine-Color-Magic-and-Chart-Theme-Simulator/