Strategy library · Opening and session

Opening gap fill backtest on NQ and ES futures

Opening gap fill

Also called: gap fill strategy, fade the gap, opening gap fade, buy when the market opens at least 0.25% below yesterday's 16:00 close (fading the gap at 09:30), short when the market opens at least 0.25% above yesterday's 16:00 close (fading the gap at 09:30)

What happens if you buy NQ every time the market opens at least 0.25% below yesterday's 16:00 close (fading the gap at 09:30)?

What it is

An opening gap is a gap of at least 0.25% between the 09:30 open and yesterday's 16:00 close. This strategy fades the gap at 09:30, with the target at yesterday's close, the stop one gap-size beyond the open, and an exit at 15:59 ET otherwise.

What it did

On NQ futures from 2024-10-08 to 2026-10-07, the opening gap fill strategy took 330 trades on the session timeframe, won 51.2% of them and finished 4,498.75 points ($89,975 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, the 148 long trades on the session timeframe won 54.7% and made 2,267.50 points ($45,350 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the opening gap fill strategy took 279 trades on the session timeframe, won 50.9% of them and finished 852.75 points ($42,638 on one ES contract), before commission and slippage. This strategy was tested on the session timeframe only; the NQ trades are listed on this page and the ES trades under the ES tab.

How it was tested

CE Market Solutions tested the opening gap fill strategy on NQ (2024-10-08 to 2026-10-07) and ES (2024-08-28 to 2026-08-27) futures, before commission and slippage, with each signal filled at the next bar's open, intraday positions flat at 15:59 ET and textbook default indicator settings; the NQ trades are listed on this page and the ES trades under the ES tab.

See it tested with one change · $19

Tested by CE Market Solutions on 2026-10-26. The trades are listed below, one market at a time. Gross, no commission or slippage. Last 2 years.

Results

Rule as tested: Gap of at least 0.25% between the 09:30 open and yesterday's 16:00 close. Fade it at 09:30. Exit: Target yesterday's close, stop one gap-size beyond the open, else exit at 15:59.

TimeframeNQ · 2024-10-08 to 2026-10-07ES · 2024-08-28 to 2026-08-27
TradesWin %Avg ptsProfit factorNet ptsNet $ (1 NQ)Max DD ptsTradesWin %Avg ptsProfit factorNet ptsNet $ (1 ES)Max DD pts
Session33051.2%13.631.2114,498.75$89,9751,639.5027950.9%3.061.230852.75$42,638248.75
Session · longs only14854.7%——2,267.50$45,3501,190.5012154.6%——348.25$17,413228.25
Session · shorts only18248.4%——2,231.25$44,6251,664.7515848.1%——504.50$25,225277.50

Free to use with credit to CE Market Solutions (CC BY 4.0).

ES session: the equity line

Opening gap fill, ES session, 2024-08-28 to 2026-08-27. Cumulative points after each trade; low −111.50, high 944.75, last 852.75.

Long and short

SideTradesNet pts
Long121348.25
Short158504.50

By month

MonthTradesNet pts
2024-0822.00
2024-09832.50
2024-1013−42.75
2024-1172.50
2024-121023.75
2025-011494.75
2025-028152.75
2025-0316−32.75
2025-041886.50
2025-051395.75
2025-0611−72.00
2025-071079.00
2025-089−100.50
2025-099−9.25
2025-1012102.00
2025-111374.25
2025-12837.50
2026-011045.00
2026-021073.00
2026-0318166.75
2026-041119.75
2026-0511−149.25
2026-0613208.75
2026-071322.75
2026-0812−60.00
Every trade, ES session279 trades

Pick any of the 279 charted trades with Previous, Next or a date, or click a row in the trades table below, to see it drawn on the real 1-minute bars. Drag the chart sideways to move through the sessions around it.

Chart unavailable. The trades are in the table below.

All trades (279), newest first

Times are New York time; points are gross. Click a row to draw that trade in the chart above.

Session dateSideEntry (ET)Entry priceExit (ET)Exit priceExit reasonPoints
2026-04-28long09:307172.0015:597171.50end of day 15:59−0.50
2026-04-24short09:307162.5011:447183.25stop gap size−20.75
2026-04-23long09:307152.2509:487170.25target prev close18.00
2026-04-22short09:307150.2515:597170.25end of day 15:59−20.00
2026-04-17short09:307121.2510:407165.75stop gap size−44.50
2026-04-13long09:306834.7509:506855.50target prev close20.75
2026-04-08short09:306829.5015:596823.50end of day 15:596.00
2026-04-07long09:306629.5009:486606.00stop gap size−23.50
2026-04-02long09:306527.7510:366619.50target prev close91.75
2026-04-01short09:306606.2511:536643.50stop gap size−37.25
2026-03-31short09:306457.2512:406526.75stop gap size−69.50
2026-03-30short09:306467.7513:156407.25target prev close60.50
2026-03-27long09:306494.7509:366466.50stop gap size−28.25
2026-03-26long09:306593.0013:506544.00stop gap size−49.00
2026-03-25short09:306661.7515:596642.00end of day 15:5919.75
2026-03-24long09:306589.2510:526631.50target prev close42.25
2026-03-23short09:306658.0015:596631.50end of day 15:5926.50
2026-03-19long09:306629.2515:066677.25target prev close48.00
2026-03-18long09:306746.5010:276721.25stop gap size−25.25
2026-03-17short09:306787.7515:596771.75end of day 15:5916.00
2026-03-16short09:306697.2515:596703.00end of day 15:59−5.75
2026-03-13short09:306706.5009:466736.75stop gap size−30.25
2026-03-12long09:306726.7515:596676.25end of day 15:59−50.50
2026-03-09long09:306681.5015:196742.50target prev close61.00
2026-03-06long09:306752.2515:596742.50end of day 15:59−9.75
2026-03-05long09:306842.2509:596873.00target prev close30.75
2026-03-03long09:306772.7515:596825.75end of day 15:5953.00
2026-03-02long09:306811.0011:436888.25target prev close77.25
2026-02-27long09:306855.7515:596888.25end of day 15:5932.50
2026-02-25short09:306930.5014:066957.75stop gap size−27.25
2026-02-20long09:306852.7509:426878.25target prev close25.50
2026-02-19long09:306870.7515:596878.25end of day 15:597.50
2026-02-17long09:306835.0009:366854.25target prev close19.25
2026-02-12short09:306981.5010:346958.75target prev close22.75
2026-02-11short09:307003.7510:116961.25target prev close42.50
2026-02-06short09:306856.2509:446894.75stop gap size−38.50
2026-02-05long09:306853.5015:596817.75end of day 15:59−35.75
2026-02-02long09:306943.5009:366968.00target prev close24.50
2026-01-30long09:306966.2510:476989.75target prev close23.50
2026-01-22short09:306956.0015:596946.00end of day 15:5910.00
2026-01-21short09:306852.7509:526871.75stop gap size−19.00
2026-01-20long09:306871.7514:316830.25stop gap size−41.50
2026-01-19long09:306896.5012:596913.25early close16.75
2026-01-15short09:307009.0015:596984.75end of day 15:5924.25
2026-01-14long09:306972.2510:006943.75stop gap size−28.50
2026-01-12long09:306969.5011:077004.75target prev close35.25
2026-01-05short09:306934.2515:596946.00end of day 15:59−11.75
2026-01-02short09:306927.7510:226891.75target prev close36.00
2025-12-29long09:306951.2515:596955.00end of day 15:593.75
2025-12-22short09:306921.7515:596929.50end of day 15:59−7.75

← NewerPage 2 of 6Older →

Questions and answers

What happens if you buy NQ every time the market opens at least 0.25% below yesterday's 16:00 close (fading the gap at 09:30)?

From 2024-10-08 to 2026-10-07 on the NQ session timeframe, the opening gap fill strategy took 148 long trades, won 54.7% of them and made 2,267.50 points ($45,350 on one NQ contract), before commission and slippage.

What happens if you short ES every time the market opens at least 0.25% above yesterday's 16:00 close (fading the gap at 09:30)?

From 2024-08-28 to 2026-08-27 on the ES session timeframe, the opening gap fill strategy took 158 short trades, won 48.1% of them and made 504.50 points ($25,225 on one ES contract), before commission and slippage.

Does the opening gap fill strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the opening gap fill strategy on the session timeframe took 330 trades, won 51.2% of them and finished 4,498.75 points ($89,975 on one NQ contract), before commission and slippage.

What is the win rate of Opening gap fill on ES futures?

The opening gap fill strategy won 50.9% of its 279 trades on the ES session timeframe from 2024-08-28 to 2026-08-27, before commission and slippage.

Is it better to only buy or only sell opening gap fill signals on NQ?

On the NQ session timeframe from 2024-10-08 to 2026-10-07, the long trades made 2,267.50 points on 148 trades (54.7% won) and the short trades made 2,231.25 points on 182 trades (48.4% won), before commission and slippage.

How many trades does the opening gap fill strategy take on NQ in two years?

The opening gap fill strategy took 330 trades on the NQ session timeframe from 2024-10-08 to 2026-10-07, before commission and slippage.

What is the max drawdown of the opening gap fill strategy on NQ?

The opening gap fill strategy had a max drawdown of 1,639.50 points ($32,790 on one NQ contract) on the NQ session timeframe from 2024-10-08 to 2026-10-07, before commission and slippage.

How does the opening gap fill strategy do on ES compared with NQ?

On the ES session timeframe from 2024-08-28 to 2026-08-27, the opening gap fill strategy took 279 trades, won 50.9% of them and made 852.75 points ($42,638 on one ES contract), before commission and slippage. On the NQ session timeframe from 2024-10-08 to 2026-10-07, the opening gap fill strategy took 330 trades, won 51.2% of them and made 4,498.75 points ($89,975 on one NQ contract), before commission and slippage.

How these were run

  • Gross: no commission and no slippage.
  • The last 2 years of each market, from the first to the last session of its window.
  • A signal on a closed bar fills at the next bar’s open.
  • A stop and a target touched in the same minute count as the stop.
  • Intraday positions are flat at 15:59 ET.
  • Textbook TradingView default settings for every indicator; nothing is tuned.

Want your own rules tested the same way?