My understanding is that you wait for the 4 hour candle to close - you just don’t know what’s going to happen until the candle closes - a last minute up or down surge may prevent a Stochastic cross from happening whereas it may have looked like it was going to be one at the time of your early entry.
Plus - if you wait you might get a better entry point - with a smaller stop loss.
Confirmation is the key.