the block "once per bar", closes trades at the close of the current candle, irrespective of time, just as soon as the candle is over, your trade would be closed