I'm trying to plot something from the first bar of the second last session that is loaded on the graph.
Since the bar count per session varies and for example a monday can be preceded by a sunday, friday or thursday, and not every session covers the same amount of time, I find it hard to pinpoint the session that is preceding the last session.
I want an indicator that works on multiple tickers.
Tried calculating the bar_index by subtracting it from last_bar_index but when the second last session starts you don't know yet how many bars there will be in the last session.