Strategy library · Opening and session

Buy the close, sell the next open backtest on NQ and ES futures

Buy the close, sell the next open

Also called: overnight strategy, overnight hold strategy, close to open strategy

What happens if you buy NQ every time the 15:59 close arrives and you exit at the next 09:30 open?

What it is

This strategy goes long at 15:59 ET every day. It exits at the next 09:30 ET open.

What it did

On NQ futures from 2024-10-08 to 2026-10-07, the buy the close, sell the next open strategy took 514 trades on the session timeframe, won 54.1% of them and finished 5,293.25 points ($105,865 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the buy the close, sell the next open strategy took 514 trades on the session timeframe, won 58.0% of them and finished 1,077.75 points ($53,888 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 buy the close, sell the next open 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: Long at 15:59 every day. Exit: Exit at the next 09:30 open.

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
Session51454.1%10.301.1515,293.25$105,8654,340.5051458.0%2.101.1701,077.75$53,8881,045.75

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

NQ session: the equity line

Buy the close, sell the next open, NQ session, 2024-10-08 to 2026-10-07. Cumulative points after each trade; low −2,361.25, high 5,293.25, last 5,293.25.

Long and short

SideTradesNet pts
Long5145,293.25
Short0—

By month

MonthTradesNet pts
2024-1018183.50
2024-1121492.25
2024-12219.00
2025-0121357.00
2025-0220159.50
2025-0321−1,248.25
2025-0421−1,686.25
2025-0522469.00
2025-0621821.50
2025-0723519.25
2025-0821242.25
2025-0922540.50
2025-10232,051.25
2025-1120−253.25
2025-1222618.75
2026-012144.25
2026-0220−878.25
2026-0322−561.50
2026-04211,258.00
2026-0521625.25
2026-0622632.25
2026-0723−65.00
2026-0821245.25
2026-0922398.50
2026-104318.50
Every trade, NQ session514 trades

No trade of this result has a chart.

All trades (514), newest first

Times are New York time; points are gross.

Session dateSideEntry (ET)Entry priceExit (ET)Exit priceExit reasonPoints
2025-10-16long15:5924817.0009:3024736.25next open 0930−80.75
2025-10-15long15:5924913.7509:3025045.25next open 0930131.50
2025-10-14long15:5924768.2509:3025002.50next open 0930234.25
2025-10-13long15:5924931.2509:3024638.75next open 0930−292.50
2025-10-10long15:5924404.7509:3024824.75next open 0930420.00
2025-10-09long15:5925274.5009:3025313.00next open 093038.50
2025-10-08long15:5925338.2509:3025329.00next open 0930−9.25
2025-10-07long15:5925034.5009:3025079.75next open 093045.25
2025-10-06long15:5925196.7509:3025237.00next open 093040.25
2025-10-03long15:5924987.7509:3025214.25next open 0930226.50
2025-10-02long15:5925105.2509:3025133.50next open 093028.25
2025-10-01long15:5925028.5009:3025165.25next open 0930136.75
2025-09-30long15:5924903.5009:3024763.00next open 0930−140.50
2025-09-29long15:5924833.7509:3024820.50next open 0930−13.25
2025-09-26long15:5924730.5009:3024850.75next open 0930120.25
2025-09-25long15:5924630.2509:3024654.25next open 093024.00
2025-09-24long15:5924746.0009:3024576.25next open 0930−169.75
2025-09-23long15:5924823.2509:3024885.25next open 093062.00
2025-09-22long15:5925004.0009:3025001.00next open 0930−3.00
2025-09-19long15:5924885.5009:3024815.50next open 0930−70.00
2025-09-18long15:5924707.5009:3024767.75next open 093060.25
2025-09-17long15:5924460.5009:3024679.50next open 0930219.00
2025-09-16long15:5924296.7509:3024521.00next open 0930−10.00
2025-09-15long15:5924304.2509:3024344.25next open 093040.00
2025-09-12long15:5924125.0009:3024177.75next open 093052.75
2025-09-11long15:5924032.7509:3024040.75next open 09308.00
2025-09-10long15:5923887.5009:3023977.25next open 093089.75
2025-09-09long15:5923878.2509:3023998.75next open 0930120.50
2025-09-08long15:5923789.7509:3023835.50next open 093045.75
2025-09-05long15:5923668.7509:3023784.25next open 0930115.50
2025-09-04long15:5923671.2509:3023875.00next open 0930203.75
2025-09-03long15:5923437.2509:3023480.50next open 093043.25
2025-09-02long15:5923282.2509:3023423.50next open 0930141.25
2025-09-01long12:5923499.2509:3023100.25next open 0930−399.00
2025-08-29long15:5923462.0009:3023476.00next open 093014.00
2025-08-28long15:5923777.0009:3023652.00next open 0930−125.00
2025-08-27long15:5923643.5009:3023640.25next open 0930−3.25
2025-08-26long15:5923587.0009:3023541.00next open 0930−46.00
2025-08-25long15:5923511.0009:3023470.75next open 0930−40.25
2025-08-22long15:5923560.5009:3023496.00next open 0930−64.50
2025-08-21long15:5923205.5009:3023264.50next open 093059.00
2025-08-20long15:5923326.7509:3023260.50next open 0930−66.25
2025-08-19long15:5923459.7509:3023426.25next open 0930−33.50
2025-08-18long15:5923810.7509:3023762.50next open 0930−48.25
2025-08-15long15:5923800.2509:3023768.25next open 0930−32.00
2025-08-14long15:5923939.2509:3023909.25next open 0930−30.00
2025-08-13long15:5923954.7509:3023857.75next open 0930−97.00
2025-08-12long15:5923940.5009:3024044.50next open 0930104.00
2025-08-11long15:5923620.7509:3023733.00next open 0930112.25
2025-08-08long15:5923713.5009:3023715.75next open 09302.25

← NewerPage 6 of 11Older →

Questions and answers

What happens if you buy NQ every time the 15:59 close arrives and you exit at the next 09:30 open?

From 2024-10-08 to 2026-10-07 on the NQ session timeframe, the buy the close, sell the next open strategy took 514 long trades, won 54.1% of them and made 5,293.25 points ($105,865 on one NQ contract), before commission and slippage.

Does the buy the close, sell the next open strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the buy the close, sell the next open strategy on the session timeframe took 514 trades, won 54.1% of them and finished 5,293.25 points ($105,865 on one NQ contract), before commission and slippage.

What is the win rate of Buy the close, sell the next open on ES futures?

The buy the close, sell the next open strategy won 58.0% of its 514 trades on the ES session timeframe from 2024-08-28 to 2026-08-27, before commission and slippage.

How many trades does the buy the close, sell the next open strategy take on NQ in two years?

The buy the close, sell the next open strategy took 514 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 buy the close, sell the next open strategy on NQ?

The buy the close, sell the next open strategy had a max drawdown of 4,340.50 points ($86,810 on one NQ contract) on the NQ session timeframe from 2024-10-08 to 2026-10-07, before commission and slippage.

How does the buy the close, sell the next open strategy do on ES compared with NQ?

On the ES session timeframe from 2024-08-28 to 2026-08-27, the buy the close, sell the next open strategy took 514 trades, won 58.0% of them and made 1,077.75 points ($53,888 on one ES contract), before commission and slippage. On the NQ session timeframe from 2024-10-08 to 2026-10-07, the buy the close, sell the next open strategy took 514 trades, won 54.1% of them and made 5,293.25 points ($105,865 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?