This is how MetaTrader handles it, but it is not realistc - usually trades in live trading are opened at first tick when the gap ends.
Add optional realistic gap testing to SQ - by turning it on we'll get more realistic results, but backtests might not 100% match MT4 backtest.