We enter the transaction only after the candle is closed. For example, if there is a signal for sales, we wait for the next candle to appear and if the signal is left then we enter if we do not wait.
Tip to test in 1 minute TF there you will understand everything.