Hello!,
I've been trying to get a label to print on a vertical line that I've set for a specific time but no matter the x, y, xloc and yloc parameters I set, it will not display but the code compiles fine. If anyone could help, it would be greatly appreciated
//@version=5
indicator("DR Vertical", overlay=true)
t1 = time_close(timeframe.period, "0000-0001", "America/New_York")
bgcolor(t1 ? color.new(color.blue, 90) : na)
var label1 = label.new(x=time(timeframe.period, "0000-0001", "America/New_York"), y=low, text="High/Low",xloc=xloc.bar_time,style=label.style_circle,yloc=yloc.abovebar, size=size.huge)
plot(na)