Opening gap strategies have been around for a long time. That gives traders plenty of ideas to work with, but it also creates assumptions about which gaps matter and how they should be traded.

I wanted to test those assumptions. In BreakoutOS, I built 225 long continuation opening-gap breakout variations on E-mini NASDAQ, combining three gap definitions with different volatility settings. The conventional midnight-to-opening gap was the weakest of the three definitions in this experiment. The aftermarket gap performed best.

Below, I’ll explain how the test was structured, why the opening level was only a reference point, and how I checked promising results on unseen data. The outcome was a promising strategy candidate that still needs further work, including a stop loss and possibly a filter.

Watch the full video below, then read on for the complete breakdown.

What Are Opening Gap Strategies?

A gap measures the movement between a selected session close and a selected session open. If the later open is higher than the earlier close, we have an upward gap. If it is lower, we have a downward gap.

With electronic trading, your chart may show bars throughout that interval. The gap can still be useful as a measurement even when there is no empty space on the screen. What matters to this approach is the relationship between the two selected prices.

To work with that relationship, we need to understand the market’s sessions. The regular session is the main period of activity, with premarket trading before it and aftermarket trading after it. In the video, I use volume on an E-mini NASDAQ chart to explain those distinctions.

Session settings deserve attention because chart times can reflect local time or exchange time. Before reproducing the experiment, check what your platform’s timestamps mean. The important idea here is to define the sessions consistently and test their behavior, rather than assume one familiar time window must be the best.

If the broader method is new to you, start with the basic breakout trading framework. The gap gives us a way to define a reference level within that framework.

Continuation Gaps Versus Fading Gaps

There are two different ways to trade a gap. A continuation approach looks for movement in the same direction as the gap. A fading approach looks for movement in the opposite direction.

For example, after an upward gap, a long continuation setup looks for additional upward movement. A fading setup would look for a move back against that upward gap. These are different hypotheses, so they need separate tests.

For this experiment, I used the advanced opening-gap continuation-long preset in BreakoutOS. The market was E-mini NASDAQ, the direction was long, and the strategies were designed for day trading with positions closed at the end of the day.

That scope matters when interpreting the results. A gap definition that performed poorly here might behave differently in a fading strategy. The video leaves the fading-gap comparison for a follow-up; it does not provide those results.

Use the Gap Open as a Point of Initiation

In this method, an eligible upward gap does not trigger an immediate buy. Instead, the selected open becomes the point of initiation: the reference level from which we measure a breakout.

We then add a volatility-based distance. The long entry requires price to move beyond that reference level by the selected amount. In the demonstration, that distance comes from Average True Range, or ATR, multiplied by a chosen value.

Long breakout threshold = point of initiation + ATR × multiplier.

This distinction is essential when looking at the chart. A marked potential trade or reference line means the setup has a point of initiation. It does not mean a position has already been entered. Price still needs to reach the breakout threshold.

Using volatility spacing also gives us another dimension to test. We can investigate how much additional movement to require after the gap, instead of treating every qualifying open as an entry. The experiment combines that spacing question with the choice of gap session.

How Three Parameter Dimensions Produced 225 Variations

The first dimension was the gap definition. I tested three ways to measure the movement between sessions and obtain the resulting point of initiation.

  • Conventional premarket gap: the preset’s midnight-to-9 a.m. window.
  • Main-session gap: an exploratory definition that treats movement between the premarket close and aftermarket open as the gap.
  • Aftermarket gap: a definition based on the aftermarket movement, with its resulting open used as the reference for subsequent long entries.

The main-session definition is deliberately unconventional. The purpose is to see whether a different way of dividing the trading day produces useful continuation behavior. We do not have to limit the experiment to the gap window traders traditionally discuss.

The second dimension was the ATR period, using 5, 20, and 40. The third was the ATR multiplier, starting at 0.2 and increasing in steps of 0.2 through 5.0. That gives 25 multiplier values.

Parameter Values tested Count
Gap/session definition Premarket, main session, aftermarket 3
ATR period 5, 20, 40 3
ATR multiplier 0.2–5.0 in 0.2 steps 25
Total combinations 3 × 3 × 25 225

These were 225 parameter variations within the demonstrated setup. The batch allowed me to compare session definitions and volatility spacing systematically. It did not turn each variation into a separately validated live trading system.

Which Opening Gap Definition Performed Best?

After running the batch, I used the point-of-initiation analysis to compare the three gap definitions. This was the most surprising part: the familiar overnight window was the weakest choice for continuation in this run.

Gap definition Observed result in this experiment
Conventional midnight-to-opening gap Weakest; almost no useful continuation results
Main session treated as a gap Performed well
Aftermarket gap Strongest and most interesting continuation setup

The result gave me a reason to focus on aftermarket gaps for the next stage of evaluation. It also showed why testing alternative session definitions can be worthwhile. A familiar approach is a starting hypothesis, and the data may point somewhere else.

Keep the comparison attached to its actual scope: long continuation-gap variations on the demonstrated E-mini NASDAQ setup. It does not establish that aftermarket gaps always win across markets, directions, or trading styles. In particular, fading gaps may produce a different ranking.

Check In-Sample Selection Against Unseen Data

Finding attractive results in a batch is only part of the process. I first sorted the strategies using their in-sample Robustness Suite scores, then examined how those candidates behaved on the out-of-sample data that had not been used during optimization.

The distinction keeps the evaluation clearer. In-sample data supports the initial selection. Out-of-sample data provides a separate check on how the selected candidates behaved beyond that development data.

In this run, many of the high-scoring in-sample candidates also showed strong out-of-sample results. One highlighted aftermarket-gap candidate had a Robustness Suite score of about 80% and passed most of the suite’s tests.

That score was a useful signal within the demonstration. It was not an 80% win rate or a probability of future success. The video references the suite without fully teaching every test. For more context on separating development from validation, see how I assess whether a strategy is real.

Why the ATR 20 Neighborhood Deserves Attention

The best-looking setting highlighted at the end used the aftermarket gap with ATR period 20 multiplied by 4.6. But the adjacent multipliers, 4.4 and 4.8, also worked well in the demonstration.

That neighboring agreement matters. It gives us more reason to investigate the area than we would have from one isolated attractive setting. The useful finding is the promising neighborhood around 4.6, together with the session definition and the separate out-of-sample check.

I would treat this as a candidate for further development. In the video, I mention adding a stop loss and possibly a filter. Gap-size filtering is also available, but this demonstration does not explain or test a complete gap-size-filter workflow.

  1. Define the sessions consistently for the market and platform.
  2. Use the qualifying gap open as the point of initiation.
  3. Compare ATR periods and breakout distances systematically.
  4. Select candidates on in-sample robustness and examine unseen results.
  5. Check neighboring settings and develop the risk controls before treating the candidate as complete.

The practical lesson from these 225 opening gap strategies is to test the assumptions built into your setup. Here, the aftermarket gap offered the strongest continuation candidates, and neighboring ATR settings supported further investigation. The next comparison is fading gaps, which need their own experiment.

Related Posts


Want to trade the gaps most traders think disappeared? The Gap Breakout Playbook shows you how to find hidden gaps in markets that never close and trade them as breakouts, with 11 plays, three model strategies and code.