@ambrogio yes sir, Looks like you are referring to something like this?

Two quick questions sir
- How do we update for each candle that passes?
- What if the gap size result is smaller or greater to the constant value? Like the gap distance should be a minimum of a certain number for example 5pips gap...How do we make it a minimum of the result? high candle ID4 - low candle ID6 => pips






