Example: at the end of a session I would like to determine the opening range high and low. So I would like to know the high and lowest bar between 1 and 120. But I only want to determine it at the end of the session (Bars.BarsSinceSession = 390 in case of 1 min chart).
I know I could create a custom function that required two inputs (start, end) and loop through the bars (start to end) ago and set variables that way... But maybe there was a shortcut
Comment