i like to get the high/low of n-bars after my trade exited. N-Bars should always be the value of the trade duration multiplied by two. So for example, if the last trade took 4 bars and exited today, i want to have the high or low of the next 8 bars (if data available, e.g. not in the future).
How can this be done? I poked around with OnExecution() but i can't seem to get it right.
many thanks in advantage.


Comment