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.
| Timeframe | NQ · 2024-10-08 to 2026-10-07 | ES · 2024-08-28 to 2026-08-27 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Trades | Win % | Avg pts | Profit factor | Net pts | Net $ (1 NQ) | Max DD pts | Trades | Win % | Avg pts | Profit factor | Net pts | Net $ (1 ES) | Max DD pts | |
| Session | 514 | 54.1% | 10.30 | 1.151 | 5,293.25 | $105,865 | 4,340.50 | 514 | 58.0% | 2.10 | 1.170 | 1,077.75 | $53,888 | 1,045.75 |
Free to use with credit to CE Market Solutions (CC BY 4.0).
ES session: the equity line
Long and short
| Side | Trades | Net pts |
|---|---|---|
| Long | 514 | 1,077.75 |
| Short | 0 | — |
By month
| Month | Trades | Net pts |
|---|---|---|
| 2024-08 | 3 | 38.00 |
| 2024-09 | 21 | 177.00 |
| 2024-10 | 23 | 43.50 |
| 2024-11 | 21 | 202.00 |
| 2024-12 | 21 | −26.00 |
| 2025-01 | 21 | 69.75 |
| 2025-02 | 20 | 24.75 |
| 2025-03 | 21 | −300.25 |
| 2025-04 | 21 | −413.75 |
| 2025-05 | 22 | 77.25 |
| 2025-06 | 21 | 188.00 |
| 2025-07 | 23 | 95.75 |
| 2025-08 | 21 | 97.00 |
| 2025-09 | 22 | 62.25 |
| 2025-10 | 23 | 365.75 |
| 2025-11 | 20 | −32.50 |
| 2025-12 | 22 | 142.50 |
| 2026-01 | 21 | −34.50 |
| 2026-02 | 20 | −126.00 |
| 2026-03 | 22 | −115.75 |
| 2026-04 | 21 | 185.75 |
| 2026-05 | 21 | 55.50 |
| 2026-06 | 22 | 114.50 |
| 2026-07 | 23 | 22.00 |
| 2026-08 | 18 | 165.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 date | Side | Entry (ET) | Entry price | Exit (ET) | Exit price | Exit reason | Points |
|---|---|---|---|---|---|---|---|
| 2026-06-17 | long | 15:59 | 7490.00 | 09:30 | 7577.25 | next open 0930 | 87.25 |
| 2026-06-16 | long | 15:59 | 7591.00 | 09:30 | 7595.75 | next open 0930 | 4.75 |
| 2026-06-15 | long | 15:59 | 7555.75 | 09:30 | 7627.75 | next open 0930 | 4.50 |
| 2026-06-12 | long | 15:59 | 7435.00 | 09:30 | 7535.00 | next open 0930 | 100.00 |
| 2026-06-11 | long | 15:59 | 7402.00 | 09:30 | 7423.50 | next open 0930 | 21.50 |
| 2026-06-10 | long | 15:59 | 7290.25 | 09:30 | 7308.00 | next open 0930 | 17.75 |
| 2026-06-09 | long | 15:59 | 7390.25 | 09:30 | 7355.00 | next open 0930 | −35.25 |
| 2026-06-08 | long | 15:59 | 7416.25 | 09:30 | 7458.50 | next open 0930 | 42.25 |
| 2026-06-05 | long | 15:59 | 7406.25 | 09:30 | 7457.25 | next open 0930 | 51.00 |
| 2026-06-04 | long | 15:59 | 7603.00 | 09:30 | 7547.75 | next open 0930 | −55.25 |
| 2026-06-03 | long | 15:59 | 7573.25 | 09:30 | 7548.25 | next open 0930 | −25.00 |
| 2026-06-02 | long | 15:59 | 7622.50 | 09:30 | 7608.50 | next open 0930 | −14.00 |
| 2026-06-01 | long | 15:59 | 7612.25 | 09:30 | 7598.25 | next open 0930 | −14.00 |
| 2026-05-29 | long | 15:59 | 7594.75 | 09:30 | 7583.00 | next open 0930 | −11.75 |
| 2026-05-28 | long | 15:59 | 7583.25 | 09:30 | 7590.75 | next open 0930 | 7.50 |
| 2026-05-27 | long | 15:59 | 7539.75 | 09:30 | 7535.25 | next open 0930 | −4.50 |
| 2026-05-26 | long | 15:59 | 7535.75 | 09:30 | 7542.00 | next open 0930 | 6.25 |
| 2026-05-25 | long | 12:59 | 7561.75 | 09:30 | 7534.00 | next open 0930 | −27.75 |
| 2026-05-22 | long | 15:59 | 7495.00 | 09:30 | 7558.50 | next open 0930 | 63.50 |
| 2026-05-21 | long | 15:59 | 7467.25 | 09:30 | 7496.75 | next open 0930 | 29.50 |
| 2026-05-20 | long | 15:59 | 7450.75 | 09:30 | 7423.75 | next open 0930 | −27.00 |
| 2026-05-19 | long | 15:59 | 7373.50 | 09:30 | 7395.00 | next open 0930 | 21.50 |
| 2026-05-18 | long | 15:59 | 7423.00 | 09:30 | 7386.75 | next open 0930 | −36.25 |
| 2026-05-15 | long | 15:59 | 7431.50 | 09:30 | 7438.50 | next open 0930 | 7.00 |
| 2026-05-14 | long | 15:59 | 7523.00 | 09:30 | 7459.50 | next open 0930 | −63.50 |
| 2026-05-13 | long | 15:59 | 7469.50 | 09:30 | 7481.00 | next open 0930 | 11.50 |
| 2026-05-12 | long | 15:59 | 7428.75 | 09:30 | 7429.25 | next open 0930 | 0.50 |
| 2026-05-11 | long | 15:59 | 7435.50 | 09:30 | 7414.00 | next open 0930 | −21.50 |
| 2026-05-08 | long | 15:59 | 7420.50 | 09:30 | 7410.00 | next open 0930 | −10.50 |
| 2026-05-07 | long | 15:59 | 7363.00 | 09:30 | 7395.75 | next open 0930 | 32.75 |
| 2026-05-06 | long | 15:59 | 7392.50 | 09:30 | 7399.25 | next open 0930 | 6.75 |
| 2026-05-05 | long | 15:59 | 7287.50 | 09:30 | 7331.00 | next open 0930 | 43.50 |
| 2026-05-04 | long | 15:59 | 7228.75 | 09:30 | 7267.50 | next open 0930 | 38.75 |
| 2026-05-01 | long | 15:59 | 7261.25 | 09:30 | 7250.50 | next open 0930 | −10.75 |
| 2026-04-30 | long | 15:59 | 7243.25 | 09:30 | 7264.50 | next open 0930 | 21.25 |
| 2026-04-29 | long | 15:59 | 7160.25 | 09:30 | 7200.00 | next open 0930 | 39.75 |
| 2026-04-28 | long | 15:59 | 7173.00 | 09:30 | 7163.25 | next open 0930 | −9.75 |
| 2026-04-27 | long | 15:59 | 7207.25 | 09:30 | 7172.00 | next open 0930 | −35.25 |
| 2026-04-24 | long | 15:59 | 7197.25 | 09:30 | 7186.25 | next open 0930 | −11.00 |
| 2026-04-23 | long | 15:59 | 7144.75 | 09:30 | 7162.50 | next open 0930 | 17.75 |
| 2026-04-22 | long | 15:59 | 7171.00 | 09:30 | 7152.25 | next open 0930 | −18.75 |
| 2026-04-21 | long | 15:59 | 7100.25 | 09:30 | 7150.25 | next open 0930 | 50.00 |
| 2026-04-20 | long | 15:59 | 7145.50 | 09:30 | 7162.50 | next open 0930 | 17.00 |
| 2026-04-17 | long | 15:59 | 7163.25 | 09:30 | 7148.25 | next open 0930 | −15.00 |
| 2026-04-16 | long | 15:59 | 7078.50 | 09:30 | 7121.25 | next open 0930 | 42.75 |
| 2026-04-15 | long | 15:59 | 7062.50 | 09:30 | 7071.50 | next open 0930 | 9.00 |
| 2026-04-14 | long | 15:59 | 7004.25 | 09:30 | 7014.25 | next open 0930 | 10.00 |
| 2026-04-13 | long | 15:59 | 6921.50 | 09:30 | 6937.75 | next open 0930 | 16.25 |
| 2026-04-10 | long | 15:59 | 6855.75 | 09:30 | 6834.75 | next open 0930 | −21.00 |
| 2026-04-09 | long | 15:59 | 6864.00 | 09:30 | 6875.00 | next open 0930 | 11.00 |
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?