Strategy library · Momentum oscillators

MACD crossover backtest on NQ and ES futures

MACD (12, 26, 9) signal cross

Also called: MACD signal line cross, MACD cross strategy, MACD 12 26 9, MACD line crosses signal line, MACD bullish crossover, MACD bearish crossover, buy when the MACD line crosses above the signal line, short when the MACD line crosses below the signal line

What happens if you buy NQ every time the MACD line crosses above the signal line?

What it is

The MACD is the difference between the 12-period and 26-period exponential moving averages, compared with its own 9-period average (the signal line). This strategy goes long when the MACD line crosses above the signal line, short when it crosses below, and exits on the opposite cross.

What it did

On NQ futures from 2024-10-08 to 2026-10-07, the MACD crossover strategy took 1,042 trades on the 15-minute chart, won 42.1% of them and finished -1,921.25 points (-$38,425 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, the 512 long trades on the 15-minute chart won 44.7% and made -1,330.75 points (-$26,615 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the MACD crossover strategy took 1,089 trades on the 15-minute chart, won 41.1% of them and finished -152.25 points (-$7,612 on one ES contract), before commission and slippage. The 5-minute, 1-hour and daily results for both markets are in the table on this page.

How it was tested

CE Market Solutions tested the MACD crossover 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 when the MACD line crosses above the signal line; short below. Exit: Opposite cross.

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
5 minute307637.2%0.151.006461.00$9,2203,313.00297638.7%0.521.0971,535.75$76,788546.75
5 minute · longs only152439.0%——2,241.50$44,8301,849.00147740.2%——804.75$40,238326.00
5 minute · shorts only155235.4%——−1,780.50−$35,6103,618.50149937.3%——731.00$36,550508.25
15 minute104242.1%−1.840.955−1,921.25−$38,4254,660.75108941.1%−0.140.983−152.25−$7,612659.75
15 minute · longs only51244.7%——−1,330.75−$26,6153,420.2554242.4%——−368.25−$18,412596.75
15 minute · shorts only53039.6%——−590.50−$11,8102,545.5054739.9%——216.00$10,800391.25
1 hour26447.0%−3.730.930−984.75−$19,6953,826.2529845.6%−0.470.959−139.50−$6,975598.50
1 hour · longs only14249.3%——−1,257.75−$25,1552,813.0015248.0%——−108.50−$5,425323.25
1 hour · shorts only12244.3%——273.00$5,4601,458.5014643.2%——−31.00−$1,550381.00
Daily4327.9%−69.410.809−2,984.75−$59,6957,162.254524.4%−19.490.733−877.00−$43,8501,643.75
Daily · longs only2231.8%——3,038.00$60,7602,493.002236.4%——426.25$21,313581.00
Daily · shorts only2123.8%——−6,022.75−$120,4556,435.752313.0%——−1,303.25−$65,1621,303.25

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

NQ 5 minute: the equity line

MACD (12, 26, 9) signal cross, NQ 5 minute, 2024-10-08 to 2026-10-07. Cumulative points after each trade; low −1,529.00, high 3,732.25, last 461.00.

Long and short

SideTradesNet pts
Long15242,241.50
Short1552−1,780.50

By month

MonthTradesNet pts
2024-10109−812.50
2024-11104−292.25
2024-12124484.50
2025-01123−169.25
2025-021052,164.75
2025-03141−187.25
2025-041191,647.00
2025-05149−626.25
2025-06142−815.75
2025-07150−458.75
2025-08121−236.00
2025-09139−7.00
2025-10145102.00
2025-111091,368.25
2025-12146−1,774.25
2026-01117718.75
2026-02101677.50
2026-03132−11.50
2026-04114825.75
2026-05125135.25
2026-06140−779.50
2026-0713361.25
2026-08125−478.75
2026-09121−426.25
2026-1042−648.75
Every trade, NQ 5 minute3076 trades

Pick any of the 3076 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 (3076), 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-10-07short13:3531372.5015:5931396.00end of day 15:59−23.50
2026-10-07long13:2031376.0013:3531372.50opposite cross−3.50
2026-10-07short12:3531333.7513:2031376.00opposite cross−42.25
2026-10-07long10:1031222.7512:3531333.75opposite cross111.00
2026-10-07short09:4031180.7510:1031222.75opposite cross−42.00
2026-10-06short15:3531514.5015:5931480.75end of day 15:5933.75
2026-10-06long15:3031525.2515:3531514.50opposite cross−10.75
2026-10-06short15:2531516.2515:3031525.25opposite cross−9.00
2026-10-06long15:2031524.7515:2531516.25opposite cross−8.50
2026-10-06short15:1031508.0015:2031524.75opposite cross−16.75
2026-10-06long15:0031532.7515:1031508.00opposite cross−24.75
2026-10-06short14:4031512.5015:0031532.75opposite cross−20.25
2026-10-06long13:4031531.5014:4031512.50opposite cross−19.00
2026-10-06short11:4031583.7513:4031531.50opposite cross52.25
2026-10-06long10:4531572.7511:4031583.75opposite cross11.00
2026-10-06short10:3031501.0010:4531572.75opposite cross−71.75
2026-10-06long09:5531522.0010:3031501.00opposite cross−21.00
2026-10-05short15:4531342.7515:5931338.25end of day 15:594.50
2026-10-05long15:0531335.5015:4531342.75opposite cross7.25
2026-10-05short14:1031292.7515:0531335.50opposite cross−42.75
2026-10-05long13:4531310.5014:1031292.75opposite cross−17.75
2026-10-05short13:4031276.0013:4531310.50opposite cross−34.50
2026-10-05long13:3031275.7513:4031276.00opposite cross0.25
2026-10-05short11:1031221.5013:3031275.75opposite cross−54.25
2026-10-02long13:5531057.0015:5931070.00end of day 15:5913.00
2026-10-02short13:2531024.5013:5531057.00opposite cross−32.50
2026-10-02long13:2031066.5013:2531024.50opposite cross−42.00
2026-10-02short13:1531057.2513:2031066.50opposite cross−9.25
2026-10-02long13:0531089.5013:1531057.25opposite cross−32.25
2026-10-02short12:4531057.5013:0531089.50opposite cross−32.00
2026-10-02long12:1031121.7512:4531057.50opposite cross−64.25
2026-10-02short10:4531240.7512:1031121.75opposite cross119.00
2026-10-02long10:0531249.2510:4531240.75opposite cross−8.50
2026-10-02short09:4031125.0010:0531249.25opposite cross−124.25
2026-10-01short15:0530811.0015:5930772.75end of day 15:5938.25
2026-10-01long15:0030840.5015:0530811.00opposite cross−29.50
2026-10-01short14:4530807.0015:0030840.50opposite cross−33.50
2026-10-01long14:3530837.0014:4530807.00opposite cross−30.00
2026-10-01short14:1530741.5014:3530837.00opposite cross−95.50
2026-10-01long11:2030655.0014:1530741.50opposite cross86.50
2026-10-01short11:0530602.7511:2030655.00opposite cross−52.25
2026-10-01long10:5030680.2511:0530602.75opposite cross−77.50
2026-09-30long15:1030853.2515:5930693.75end of day 15:59−159.50
2026-09-30short14:2530819.0015:1030853.25opposite cross−34.25
2026-09-30long13:5530855.0014:2530819.00opposite cross−36.00
2026-09-30short10:3530793.0013:5530855.00opposite cross−62.00
2026-09-29short15:3530629.7515:5930617.50end of day 15:5912.25
2026-09-29long13:2030537.5015:3530629.75opposite cross92.25
2026-09-29short12:4530518.7513:2030537.50opposite cross−18.75
2026-09-29long12:3530569.2512:4530518.75opposite cross−50.50

Page 1 of 62Older →

Questions and answers

What happens if you buy NQ every time the MACD line crosses above the signal line?

From 2024-10-08 to 2026-10-07 on the NQ 15-minute chart, the MACD crossover strategy took 512 long trades, won 44.7% of them and made -1,330.75 points (-$26,615 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, its long trades also made 2,241.50 points on 1,524 trades on the 5-minute chart, -1,257.75 points on 142 trades on the 1-hour chart and 3,038.00 points on 22 trades on the daily chart, before commission and slippage.

What happens if you short ES every time the MACD line crosses below the signal line?

From 2024-08-28 to 2026-08-27 on the ES 15-minute chart, the MACD crossover strategy took 547 short trades, won 39.9% of them and made 216.00 points ($10,800 on one ES contract), before commission and slippage. From 2024-08-28 to 2026-08-27 on ES, its short trades also made 731.00 points on 1,499 trades on the 5-minute chart, -31.00 points on 146 trades on the 1-hour chart and -1,303.25 points on 23 trades on the daily chart, before commission and slippage.

Does the MACD crossover strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the MACD crossover strategy on the 15-minute chart took 1,042 trades, won 42.1% of them and finished -1,921.25 points (-$38,425 on one NQ contract), before commission and slippage.

What is the win rate of MACD (12, 26, 9) signal cross on ES futures?

The MACD crossover strategy won 41.1% of its 1,089 trades on the ES 15-minute chart from 2024-08-28 to 2026-08-27, before commission and slippage. On ES from 2024-08-28 to 2026-08-27 it also won 38.7% of 2,976 trades on the 5-minute chart, 45.6% of 298 trades on the 1-hour chart and 24.4% of 45 trades on the daily chart, before commission and slippage.

Is the MACD crossover strategy better on the 5-minute, 15-minute, 1-hour or daily chart for NQ?

On NQ from 2024-10-08 to 2026-10-07, the MACD crossover strategy made 461.00 points on 3,076 trades on the 5-minute chart, -1,921.25 points on 1,042 trades on the 15-minute chart, -984.75 points on 264 trades on the 1-hour chart and -2,984.75 points on 43 trades on the daily chart, before commission and slippage.

Is it better to only buy or only sell MACD crossover signals on NQ?

On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the long trades made -1,330.75 points on 512 trades (44.7% won) and the short trades made -590.50 points on 530 trades (39.6% won), before commission and slippage.

How many trades does the MACD crossover strategy take on NQ in two years?

The MACD crossover strategy took 1,042 trades on the NQ 15-minute chart from 2024-10-08 to 2026-10-07, before commission and slippage. On NQ from 2024-10-08 to 2026-10-07 it also took 3,076 on the 5-minute chart, 264 on the 1-hour chart and 43 on the daily chart, before commission and slippage.

What is the max drawdown of the MACD crossover strategy on NQ?

The MACD crossover strategy had a max drawdown of 4,660.75 points ($93,215 on one NQ contract) on the NQ 15-minute chart from 2024-10-08 to 2026-10-07, before commission and slippage. On NQ from 2024-10-08 to 2026-10-07 its max drawdown was also 3,313.00 points on the 5-minute chart, 3,826.25 points on the 1-hour chart and 7,162.25 points on the daily chart, before commission and slippage.

How does the MACD crossover strategy do on ES compared with NQ?

On the ES 15-minute chart from 2024-08-28 to 2026-08-27, the MACD crossover strategy took 1,089 trades, won 41.1% of them and made -152.25 points (-$7,612 on one ES contract), before commission and slippage. On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the MACD crossover strategy took 1,042 trades, won 42.1% of them and made -1,921.25 points (-$38,425 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?