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).

ES session: the equity line

Buy the close, sell the next open, ES session, 2024-08-28 to 2026-08-27. Cumulative points after each trade; low −351.25, high 1,077.75, last 1,077.75.

Long and short

SideTradesNet pts
Long5141,077.75
Short0—

By month

MonthTradesNet pts
2024-08338.00
2024-0921177.00
2024-102343.50
2024-1121202.00
2024-1221−26.00
2025-012169.75
2025-022024.75
2025-0321−300.25
2025-0421−413.75
2025-052277.25
2025-0621188.00
2025-072395.75
2025-082197.00
2025-092262.25
2025-1023365.75
2025-1120−32.50
2025-1222142.50
2026-0121−34.50
2026-0220−126.00
2026-0322−115.75
2026-0421185.75
2026-052155.50
2026-0622114.50
2026-072322.00
2026-0818165.25
Every trade, ES 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
2026-08-26long15:597692.0009:307716.25next open 093024.25
2026-08-25long15:597693.0009:307678.75next open 0930−14.25
2026-08-24long15:597673.0009:307695.00next open 093022.00
2026-08-21long15:597696.5009:307681.75next open 0930−14.75
2026-08-20long15:597663.7509:307695.75next open 093032.00
2026-08-19long15:597728.5009:307698.00next open 0930−30.50
2026-08-18long15:597715.2509:307743.50next open 093028.25
2026-08-17long15:597770.5009:307726.25next open 0930−44.25
2026-08-14long15:597802.7509:307803.00next open 09300.25
2026-08-13long15:597821.5009:307827.75next open 09306.25
2026-08-12long15:597768.2509:307793.25next open 093025.00
2026-08-11long15:597748.5009:307791.75next open 093043.25
2026-08-10long15:597774.0009:307791.75next open 093017.75
2026-08-07long15:597783.0009:307773.00next open 0930−10.00
2026-08-06long15:597738.2509:307757.25next open 093019.00
2026-08-05long15:597760.5009:307752.00next open 0930−8.50
2026-08-04long15:597768.0009:307809.75next open 093041.75
2026-08-03long15:597629.7509:307657.50next open 093027.75
2026-07-31long15:597533.2509:307546.25next open 093013.00
2026-07-30long15:597470.2509:307499.00next open 093028.75
2026-07-29long15:597351.2509:307414.50next open 093063.25
2026-07-28long15:597468.7509:307456.25next open 0930−12.50
2026-07-27long15:597447.7509:307449.75next open 09302.00
2026-07-24long15:597444.0009:307507.75next open 093063.75
2026-07-23long15:597446.5009:307444.00next open 0930−2.50
2026-07-22long15:597542.7509:307453.50next open 0930−89.25
2026-07-21long15:597545.5009:307527.75next open 0930−17.75
2026-07-20long15:597484.7509:307526.00next open 093041.25
2026-07-17long15:597505.0009:307534.50next open 093029.50
2026-07-16long15:597573.7509:307485.25next open 0930−88.50
2026-07-15long15:597615.2509:307597.00next open 0930−18.25
2026-07-14long15:597593.0009:307612.50next open 093019.50
2026-07-13long15:597568.0009:307579.50next open 093011.50
2026-07-10long15:597620.5009:307595.50next open 0930−25.00
2026-07-09long15:597586.7509:307592.25next open 09305.50
2026-07-08long15:597534.2509:307546.75next open 093012.50
2026-07-07long15:597555.0009:307507.00next open 0930−48.00
2026-07-06long15:597592.0009:307580.75next open 0930−11.25
2026-07-03long12:597557.2509:307564.75next open 09307.50
2026-07-02long15:597531.5009:307554.75next open 093023.25
2026-07-01long15:597541.5009:307555.25next open 093013.75
2026-06-30long15:597556.5009:307532.25next open 0930−24.25
2026-06-29long15:597499.0009:307500.00next open 09301.00
2026-06-26long15:597427.7509:307457.25next open 093029.50
2026-06-25long15:597414.7509:307380.75next open 0930−34.00
2026-06-24long15:597418.7509:307485.75next open 093067.00
2026-06-23long15:597443.5009:307447.25next open 09303.75
2026-06-22long15:597540.2509:307429.50next open 0930−110.75
2026-06-19long12:597557.5009:307573.25next open 093015.75
2026-06-18long15:597578.0009:307559.00next open 0930−19.00

Page 1 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?