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-12-26long15:5925866.5009:3025706.75next open 0930−159.75
2025-12-24long13:1425860.7509:3025899.00next open 093038.25
2025-12-23long15:5925816.2509:3025795.00next open 0930−21.25
2025-12-22long15:5925698.5009:3025644.25next open 0930−54.25
2025-12-19long15:5925563.7509:3025780.75next open 0930217.00
2025-12-18long15:5925258.2509:3025361.25next open 0930103.00
2025-12-17long15:5924889.7509:3025278.75next open 0930389.00
2025-12-16long15:5925407.5009:3025422.50next open 093015.00
2025-12-15long15:5925087.5009:3025232.00next open 0930−99.75
2025-12-12long15:5925204.7509:3025408.00next open 0930203.25
2025-12-11long15:5925711.2509:3025560.25next open 0930−151.00
2025-12-10long15:5925813.5009:3025643.50next open 0930−170.00
2025-12-09long15:5925690.5009:3025647.25next open 0930−43.25
2025-12-08long15:5925634.5009:3025618.50next open 0930−16.00
2025-12-05long15:5925720.2509:3025791.00next open 093070.75
2025-12-04long15:5925605.7509:3025680.00next open 093074.25
2025-12-03long15:5925658.0009:3025712.00next open 093054.00
2025-12-02long15:5925607.2509:3025495.25next open 0930−112.00
2025-12-01long15:5925377.7509:3025492.75next open 0930115.00
2025-11-28long13:1425473.2509:3025255.00next open 0930−218.25
2025-11-27long12:5925299.5009:3025358.00next open 093058.50
2025-11-26long15:5925312.0009:3025301.50next open 0930−10.50
2025-11-25long15:5925098.0009:3025222.25next open 0930124.25
2025-11-24long15:5924948.2509:3024857.25next open 0930−91.00
2025-11-21long15:5924295.2509:3024522.25next open 0930227.00
2025-11-20long15:5924128.5009:3024203.50next open 093075.00
2025-11-19long15:5924719.2509:3025211.50next open 0930492.25
2025-11-18long15:5924603.5009:3024611.50next open 09308.00
2025-11-17long15:5924883.2509:3024718.25next open 0930−165.00
2025-11-14long15:5925082.0009:3024997.75next open 0930−84.25
2025-11-13long15:5925084.2509:3024723.50next open 0930−360.75
2025-11-12long15:5925595.0009:3025477.25next open 0930−117.75
2025-11-11long15:5925626.7509:3025778.50next open 0930151.75
2025-11-10long15:5925721.2509:3025605.00next open 0930−116.25
2025-11-07long15:5925167.0009:3025538.75next open 0930371.75
2025-11-06long15:5925251.2509:3025110.50next open 0930−140.75
2025-11-05long15:5925742.7509:3025674.00next open 0930−68.75
2025-11-04long15:5925572.0009:3025542.25next open 0930−29.75
2025-11-03long15:5926100.7509:3025742.00next open 0930−358.75
2025-10-31long15:5926013.0009:3026235.75next open 0930222.75
2025-10-30long15:5925887.2509:3026199.25next open 0930312.00
2025-10-29long15:5926254.7509:3026125.25next open 0930−129.50
2025-10-28long15:5926173.7509:3026266.00next open 093092.25
2025-10-27long15:5925972.7509:3026051.50next open 093078.75
2025-10-24long15:5925510.2509:3025815.75next open 0930305.50
2025-10-23long15:5925257.7509:3025466.50next open 0930208.75
2025-10-22long15:5925031.5009:3025016.25next open 0930−15.25
2025-10-21long15:5925310.2509:3025265.50next open 0930−44.75
2025-10-20long15:5925312.2509:3025300.75next open 0930−11.50
2025-10-17long15:5925005.5009:3025119.00next open 0930113.50

← NewerPage 5 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?