Gap and go on the Nasdaq-100
Micro E-mini Nasdaq-100 (MNQ) · 5-minute bars · 2016 to 2026 · Momentum
Marginal: profit factor 1.12 out of sample, not clearly above break-even, t = 0.8.
- Profit factor, out of sample
- 1.12
- Average trade, out of sample
- +0.08R
- Win rate, out of sample
- 37%
- Trades, 10 years
- 741
- Max drawdown
- $9,160
- Pass odds, median plan
- 2.3%
Hypothetical results. These results are based on simulated or hypothetical performance results that have certain inherent limitations. Unlike the results shown in an actual performance record, these results do not represent actual trading. Also, because these trades have not actually been executed, these results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated or hypothetical trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to these being shown.
Abstract
We backtested the gap and go rules on Micro E-mini Nasdaq-100 (MNQ) 5-minute bars from 2016-01-11 to 2026-10-30: 741 trades, with commission and a tick of slippage on every market and stop fill. In sample (to 2023-08-03) it made +0.01R per trade with a profit factor of 1.00; out of sample (from 2023-08-04) +0.08R per trade and 1.12 over 226 trades. 10 of the 16 parameter settings we tried were profitable out of sample. Sized at $250 of risk a trade, simulated 50K evaluations passed 1% to 5% of the time across 36 tracked plans.
1Hypothesis
After a gap of at least 0.3% that the first 5-minute bar confirms, trade with the gap, stop beyond the first bar, target twice the risk.
If a large gap that holds its first bar reflects real news, it should keep moving in its direction for the rest of the day.
2Data
- Instrument
- Micro E-mini Nasdaq-100 (MNQ), traded on the NQ price series (NQ.c.0: front month, rolled on the calendar). CME Globex via Databento.
- Period
- 2016-01-11 to 2026-10-30: 2,745 sessions, 1,056,797 one-minute bars, built into 210,814 5-minute bars of the regular session (09:30 to 16:00 ET).
- Costs
- $0.75 commission a contract each way and 1 tick ($0.50) of slippage on every market and stop fill. Limit orders fill when price touches them; market orders fill at the next bar's open and stops at their price, each with one tick of slippage; when a bar touches both the stop and the target, the stop counts.
- Position size
- About $250 of risk a trade: micro contracts, rounded down, at least one. R is a trade's net P&L divided by its risk at entry.
- Out of sample
- The last 30% of weekdays: 2023-08-04 on (846 days), after 1,974 in-sample days. The rules were fixed before either side was run.
3Method
Our reading of the publicly described rules; the creator may trade it differently. The rules, exactly as the code runs them:
- The gap is the 09:30 ET open against the previous session's 16:00 close, in percent.
- Entry: if the gap is at least min_gap_pct (0.3%) and the first 5-minute bar closes in the gap's direction (up after a gap up, down after a gap down), trade with the gap at 09:35 ET.
- Stop: one tick beyond the first bar's other extreme (its low for a long).
- Target: target_r (2) times the risk.
- Exit: the stop, the target, or flat at 15:55 ET. One trade a day.
- Size: about risk_usd dollars of risk a trade (micro contracts, rounded down, at least 1 and at most max_contracts).
"""Gap and go on Micro E-mini Nasdaq-100 (MNQ) 5-minute bars, regular session, New York time. Rules: 1. The gap is the 09:30 ET open against the previous session's 16:00 close, in percent. 2. Entry: if the gap is at least `min_gap_pct` (0.3%) and the first 5-minute bar closes in the gap's direction (up after a gap up, down after a gap down), trade with the gap at 09:35 ET. 3. Stop: one tick beyond the first bar's other extreme (its low for a long). 4. Target: `target_r` (2) times the risk. 5. Exit: the stop, the target, or flat at 15:55 ET. One trade a day. 6. Size: about `risk_usd` dollars of risk a trade (micro contracts, rounded down, at least 1 and at most `max_contracts`)."""import qy class Bot(qy.Strategy): """Trade with a large opening gap when the first bar confirms it.""" symbol = "MNQ" timeframe = "5m" session = "rth" params = {"min_gap_pct": 0.3, "target_r": 2.0, "risk_usd": 250, "max_contracts": 50} max_position = 50 entry_window = ("09:35", "09:40") flatten_time = "15:55" overnight = False def setup(self): self.day = None self.prev_close = None self.last_close = None def _size(self, risk_points): per_contract = risk_points * self.point_value n = int(self.p.risk_usd // per_contract) if per_contract > 0 else 1 return max(1, min(self.p.max_contracts, n)) def on_bar(self, bar): first = bar.date != self.day if first: self.day = bar.date self.prev_close = self.last_close self.last_close = bar.close if not first or self.prev_close is None: return gap = (bar.open - self.prev_close) / self.prev_close * 100 if abs(gap) < self.p.min_gap_pct: return tick = self.tick_size if gap > 0 and bar.close > bar.open: stop = bar.low - tick self.buy(self._size(bar.close - stop), stop_price=stop, target_r=self.p.target_r, tag=f"Gap and go long | f={abs(gap):.4f}") elif gap < 0 and bar.close < bar.open: stop = bar.high + tick self.sell(self._size(stop - bar.close), stop_price=stop, target_r=self.p.target_r, tag=f"Gap and go short | f={abs(gap):.4f}")4Results
| Statistic | In sample | Out of sample | All |
|---|---|---|---|
| Trades | 515 | 226 | 741 |
| Net P&L | +$147 | +$3,692 | +$3,838 |
| Profit factor | 1.00 | 1.12 | 1.03 |
| Average trade | +0.01R | +0.08R | +0.03R |
| 95% interval of the average | −0.12 to 0.13 | −0.11 to 0.27 | −0.07 to 0.13 |
| t-statistic of trade R | 0.14 | 0.81 | 0.57 |
| Win rate | 36% | 37% | 36% |
| Average win / average loss | 1.77 | 1.89 | 1.80 |
| Max drawdown | $9,160 | $3,903 | $9,160 |
| Sharpe ratio (daily, annualized) | 0.01 | 0.83 | 0.25 |
| Longest losing streak | 11 | 9 | 11 |
| Long / short profit factor | 1.09 / 0.87 | 0.98 / 1.35 | 1.06 / 1.00 |
| Average holding time | 43 min | 44 min | 43 min |
| Commission paid | $6,314 | $992 | $7,305 |
Drag across the chart to zoom into a period, double-click to reset.
Averages: +0.01R in sample, +0.08R out of sample.
Drag a box to zoom, double-click to reset.
5Robustness
We reran the strategy on a grid of 16 settings of its two main parameters, each on the full history with the same split. 8 were profitable in sample and 10 out of sample.
Smallest gap (%) across, target (R) up. Solid outline: the defaults we tested; dashed: the in-sample best.
Hover a cell for both sides of the split.
Smallest gap (%) 0.10 to 0.50 across · Target (R) 1.00 to 3.00 in depth · Profit factor, out of sample 0.92 to 1.32 as height and shade. Drag or use the arrow keys to turn it.
Drag to rotate; ctrl or ⌘ and scroll to zoom.
What would change it
Nothing on the grid clearly helps. Its in-sample best, smallest gap (%) 0.5 and target (R) 3, did better out of sample, profit factor 1.28 against 1.12 for the defaults, but over only 153 trades, t = 1.5: too few, or too noisy, to call it a fix.
6Prop-firm implications
The backtest's sessions run through the rules of 36 tracked 50K evaluations: 2,000 runs of up to 60 sessions each, with the drawdown and daily limits checked against each trade's intraday low. Intervals are Wilson 95% intervals of the simulation. A simulation of the past, not the chance that anyone passes.
| Plan | Pass odds, 95% interval | Pass | Fail | Out of time | Median sessions |
|---|---|---|---|---|---|
| FundedNext Futures Flex Challenge 50K | 5.0% | 34% | 61% | 43 | |
| Alpha Futures Standard 50K Evaluation | 2.3% | 14% | 84% | 48 | |
| Alpha Futures Zero 50K Evaluation | 2.3% | 14% | 84% | 48 | |
| Apex Trader Funding 50K EOD Evaluation | 2.3% | 14% | 84% | 48 | |
| Apex Trader Funding 50K Intraday Trailing Drawdown Evaluation | 2.3% | 20% | 78% | 48 | |
| AquaFutures Beginner 50K Evaluation | 2.3% | 5% | 93% | 48 | |
| Bulenox 50K Qualification Account (Legacy, Option 1, trailing drawdown) | 2.3% | 7% | 90% | 48 | |
| Bulenox 50K Qualification Account (Legacy, Option 2, EOD drawdown) | 2.3% | 5% | 93% | 48 | |
| Earn2Trade Gauntlet Mini $50K | 2.3% | 14% | 84% | 48 | |
| Earn2Trade Trader Career Path TCP50 | 2.3% | 14% | 84% | 48 |
7Limitations
- The stop sits at the first bar's extreme, which can be wide on news days.
- One market (MNQ).
- A backtest on the past, with fills simulated from one-minute bars; live fills, queues and outages differ.
8Conclusion
Marginal: profit factor 1.12 out of sample, not clearly above break-even, t = 0.8. Nothing on the grid clearly helps. Its in-sample best, smallest gap (%) 0.5 and target (R) 3, did better out of sample, profit factor 1.28 against 1.12 for the defaults, but over only 153 trades, t = 1.5: too few, or too noisy, to call it a fix. The result is too close to break-even to tell apart from noise after costs.