how do i limit one trade per candle because i have a trade that was open in a lower timeframe and it close for exit reasons. after exit, it opens another position within the same candle on the higher time frame.
It’s a boolean which will be equal to 1 (true) when the barindex from the 1 hour timeframe is different from the previous one on the inferior timeframe.