I'm trying to figure out how to plot a line from one specific time to another specific time in Pine Script / TradingView.
I'd like to plot from the close price at 14:00 to the close price at 15:30 (exchange time). - If it isn't 15:30 yet, then plot to the close of the most recent bar.
This seems like it should be easy to do, but I can't figure it out. Any help would be greatly appreciated!