I want to draw vertical line for example on the day specific start.
In manual there is example:
plot(timestamp(2016, 01, 19, 09, 30),linewidth=3,color=green)
But this drawing horizontal line instead of vertical.
Thanks for help.
I want to draw vertical line for example on the day specific start.
In manual there is example:
plot(timestamp(2016, 01, 19, 09, 30),linewidth=3,color=green)
But this drawing horizontal line instead of vertical.
Thanks for help.
Now in Pinescript v5, you can code :
line.new(bar_index, 1, bar_index, 10, extend = extend.both)
You will get a vertical line at x=bar_index