How to plot a vertical lines every day at a specific time?
Posted: Sun Oct 02, 2022 4:20 pm
by sushpawar001
I want to plot a vertical line on 15 min chart at 12 pm, how to do it in pine script? Thank You
Re: How to plot a vertical lines every day at a specific time?
Posted: Fri Oct 07, 2022 5:22 am
by ajinc
//@version=5
indicator("Time", overlay=true)
t1 = time_close(timeframe.period, "1200-1201", "GMT+5:30")
bgcolor(t1 ? color.new(color.blue, 90) : na)
Re: How to plot a vertical lines every day at a specific time?
Posted: Sat Oct 08, 2022 8:40 am
by sushpawar001
ajinc wrote: ↑Fri Oct 07, 2022 5:22 am
//@version=5
indicator("Time", overlay=true)
t1 = time_close(timeframe.period, "1200-1201", "GMT+5:30")
bgcolor(t1 ? color.new(color.blue, 90) : na)
Thank You