Strategy library · Momentum oscillators
MACD zero-line cross backtest on NQ and ES futures
MACD zero-line cross
Also called: MACD zero cross, MACD crossing zero, MACD centerline cross, MACD crosses zero line, buy when the MACD line crosses above zero, short when the MACD line crosses below zero
What happens if you buy NQ every time the MACD line crosses above zero?
What it is
The MACD line is the 12-period EMA minus the 26-period EMA, and the zero line is where the two averages are equal. This strategy goes long when the MACD line crosses above zero, 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 zero-line cross strategy took 454 trades on the 15-minute chart, won 43.8% of them and finished 696.00 points ($13,920 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, the 233 long trades on the 15-minute chart won 46.8% and made -78.50 points (-$1,570 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the MACD zero-line cross strategy took 494 trades on the 15-minute chart, won 44.7% of them and finished 199.00 points ($9,950 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 zero-line cross 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 zero; short below. Exit: Opposite cross.
| 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 | |
| 5 minute | 1290 | 36.1% | 0.52 | 1.015 | 671.00 | $13,420 | 3,798.50 | 1287 | 36.3% | 0.14 | 1.020 | 185.75 | $9,288 | 582.75 |
| 5 minute · longs only | 652 | 37.6% | — | — | −908.50 | −$18,170 | 2,750.00 | 644 | 38.5% | — | — | −213.75 | −$10,687 | 554.50 |
| 5 minute · shorts only | 638 | 34.5% | — | — | 1,579.50 | $31,590 | 2,134.25 | 643 | 34.1% | — | — | 399.50 | $19,975 | 436.50 |
| 15 minute | 454 | 43.8% | 1.53 | 1.031 | 696.00 | $13,920 | 4,214.75 | 494 | 44.7% | 0.40 | 1.040 | 199.00 | $9,950 | 673.50 |
| 15 minute · longs only | 233 | 46.8% | — | — | −78.50 | −$1,570 | 2,718.25 | 240 | 45.4% | — | — | −243.75 | −$12,187 | 602.00 |
| 15 minute · shorts only | 221 | 40.7% | — | — | 774.50 | $15,490 | 2,393.00 | 254 | 44.1% | — | — | 442.75 | $22,138 | 308.25 |
| 1 hour | 153 | 53.6% | 19.01 | 1.475 | 2,908.75 | $58,175 | 1,656.75 | 160 | 51.3% | 2.87 | 1.324 | 459.75 | $22,988 | 181.75 |
| 1 hour · longs only | 73 | 58.9% | — | — | 1,952.00 | $39,040 | 551.00 | 75 | 58.7% | — | — | 451.00 | $22,550 | 96.50 |
| 1 hour · shorts only | 80 | 48.8% | — | — | 956.75 | $19,135 | 1,820.75 | 85 | 44.7% | — | — | 8.75 | $438 | 301.00 |
| Daily | 20 | 20.0% | −28.95 | 0.946 | −579.00 | −$11,580 | 5,759.75 | 18 | 22.2% | 8.49 | 1.092 | 152.75 | $7,638 | 765.25 |
| Daily · longs only | 10 | 30.0% | — | — | 3,888.75 | $77,775 | 2,337.50 | 9 | 33.3% | — | — | 960.75 | $48,038 | 233.75 |
| Daily · shorts only | 10 | 10.0% | — | — | −4,467.75 | −$89,355 | 5,463.25 | 9 | 11.1% | — | — | −808.00 | −$40,400 | 844.50 |
ES Daily: small sample (18 trades).
Free to use with credit to CE Market Solutions (CC BY 4.0).
ES 5 minute: the equity line
Long and short
| Side | Trades | Net pts |
|---|---|---|
| Long | 644 | −213.75 |
| Short | 643 | 399.50 |
By month
| Month | Trades | Net pts |
|---|---|---|
| 2024-08 | 5 | 71.25 |
| 2024-09 | 59 | 79.50 |
| 2024-10 | 54 | −77.25 |
| 2024-11 | 47 | 89.50 |
| 2024-12 | 53 | 160.00 |
| 2025-01 | 51 | −92.00 |
| 2025-02 | 53 | 100.25 |
| 2025-03 | 50 | −30.00 |
| 2025-04 | 49 | 213.25 |
| 2025-05 | 64 | −326.00 |
| 2025-06 | 51 | 15.25 |
| 2025-07 | 52 | 41.75 |
| 2025-08 | 53 | −38.00 |
| 2025-09 | 49 | −81.75 |
| 2025-10 | 53 | 303.25 |
| 2025-11 | 52 | 86.25 |
| 2025-12 | 55 | −208.00 |
| 2026-01 | 53 | −47.75 |
| 2026-02 | 50 | −109.50 |
| 2026-03 | 68 | −53.75 |
| 2026-04 | 52 | −72.50 |
| 2026-05 | 52 | 42.25 |
| 2026-06 | 56 | 15.00 |
| 2026-07 | 52 | 149.25 |
| 2026-08 | 54 | −44.50 |
Every trade, ES 5 minute1287 trades
Pick any of the 1287 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 (1287), newest first
Times are New York time; points are gross. Click a row to draw that trade in the chart above.
| Session date | Side | Entry (ET) | Entry price | Exit (ET) | Exit price | Exit reason | Points |
|---|---|---|---|---|---|---|---|
| 2026-06-10 | short | 11:10 | 7338.25 | 15:59 | 7276.00 | end of day 15:59 | 62.25 |
| 2026-06-09 | long | 13:55 | 7346.50 | 15:59 | 7392.00 | end of day 15:59 | 45.50 |
| 2026-06-09 | short | 10:20 | 7422.75 | 13:55 | 7346.50 | opposite zero cross | 76.25 |
| 2026-06-08 | short | 12:10 | 7448.75 | 15:59 | 7416.00 | end of day 15:59 | 32.75 |
| 2026-06-08 | long | 10:50 | 7458.75 | 12:10 | 7448.75 | opposite zero cross | −10.00 |
| 2026-06-08 | short | 10:00 | 7431.25 | 10:50 | 7458.75 | opposite zero cross | −27.50 |
| 2026-06-03 | short | 15:25 | 7574.50 | 15:59 | 7572.50 | end of day 15:59 | 2.00 |
| 2026-06-03 | long | 14:05 | 7583.00 | 15:25 | 7574.50 | opposite zero cross | −8.50 |
| 2026-06-02 | long | 15:20 | 7621.25 | 15:59 | 7623.50 | end of day 15:59 | 2.25 |
| 2026-06-02 | short | 13:40 | 7615.75 | 15:20 | 7621.25 | opposite zero cross | −5.50 |
| 2026-06-02 | long | 09:50 | 7604.25 | 13:40 | 7615.75 | opposite zero cross | 11.50 |
| 2026-06-01 | long | 11:45 | 7601.50 | 15:59 | 7614.00 | end of day 15:59 | 12.50 |
| 2026-05-29 | long | 15:30 | 7599.50 | 15:59 | 7595.00 | end of day 15:59 | −4.50 |
| 2026-05-29 | short | 13:30 | 7596.25 | 15:30 | 7599.50 | opposite zero cross | −3.25 |
| 2026-05-29 | long | 11:15 | 7603.25 | 13:30 | 7596.25 | opposite zero cross | −7.00 |
| 2026-05-29 | short | 10:45 | 7582.25 | 11:15 | 7603.25 | opposite zero cross | −21.00 |
| 2026-05-29 | long | 09:40 | 7598.75 | 10:45 | 7582.25 | opposite zero cross | −16.50 |
| 2026-05-27 | long | 14:15 | 7533.75 | 15:59 | 7540.00 | end of day 15:59 | 6.25 |
| 2026-05-26 | long | 15:30 | 7528.50 | 15:59 | 7539.25 | end of day 15:59 | 10.75 |
| 2026-05-26 | short | 15:05 | 7525.75 | 15:30 | 7528.50 | opposite zero cross | −2.75 |
| 2026-05-26 | long | 14:25 | 7532.50 | 15:05 | 7525.75 | opposite zero cross | −6.75 |
| 2026-05-26 | short | 11:20 | 7537.50 | 14:25 | 7532.50 | opposite zero cross | 5.00 |
| 2026-05-26 | long | 10:10 | 7547.25 | 11:20 | 7537.50 | opposite zero cross | −9.75 |
| 2026-05-25 | short | 10:25 | 7559.75 | 12:59 | 7564.50 | early close | −4.75 |
| 2026-05-25 | long | 09:45 | 7564.25 | 10:25 | 7559.75 | opposite zero cross | −4.50 |
| 2026-05-22 | short | 14:35 | 7507.00 | 15:59 | 7490.75 | end of day 15:59 | 16.25 |
| 2026-05-22 | long | 10:45 | 7498.00 | 14:35 | 7507.00 | opposite zero cross | 9.00 |
| 2026-05-22 | short | 10:30 | 7491.25 | 10:45 | 7498.00 | opposite zero cross | −6.75 |
| 2026-05-21 | long | 13:15 | 7442.25 | 15:59 | 7465.25 | end of day 15:59 | 23.00 |
| 2026-05-21 | short | 12:50 | 7422.00 | 13:15 | 7442.25 | opposite zero cross | −20.25 |
| 2026-05-21 | long | 11:50 | 7434.25 | 12:50 | 7422.00 | opposite zero cross | −12.25 |
| 2026-05-21 | short | 10:25 | 7416.00 | 11:50 | 7434.25 | opposite zero cross | −18.25 |
| 2026-05-21 | long | 10:10 | 7441.50 | 10:25 | 7416.00 | opposite zero cross | −25.50 |
| 2026-05-20 | long | 10:30 | 7417.50 | 15:59 | 7451.50 | end of day 15:59 | 34.00 |
| 2026-05-19 | short | 15:00 | 7382.75 | 15:59 | 7377.50 | end of day 15:59 | 5.25 |
| 2026-05-19 | long | 12:30 | 7384.00 | 15:00 | 7382.75 | opposite zero cross | −1.25 |
| 2026-05-18 | long | 15:40 | 7410.25 | 15:59 | 7426.25 | end of day 15:59 | 16.00 |
| 2026-05-18 | short | 10:45 | 7423.00 | 15:40 | 7410.25 | opposite zero cross | 12.75 |
| 2026-05-15 | short | 14:50 | 7453.00 | 15:59 | 7432.50 | end of day 15:59 | 20.50 |
| 2026-05-15 | long | 12:35 | 7455.00 | 14:50 | 7453.00 | opposite zero cross | −2.00 |
| 2026-05-15 | short | 11:55 | 7436.00 | 12:35 | 7455.00 | opposite zero cross | −19.00 |
| 2026-05-15 | long | 10:20 | 7461.00 | 11:55 | 7436.00 | opposite zero cross | −25.00 |
| 2026-05-14 | long | 14:20 | 7527.25 | 15:59 | 7526.00 | end of day 15:59 | −1.25 |
| 2026-05-14 | short | 13:20 | 7509.00 | 14:20 | 7527.25 | opposite zero cross | −18.25 |
| 2026-05-14 | long | 09:45 | 7498.25 | 13:20 | 7509.00 | opposite zero cross | 10.75 |
| 2026-05-13 | long | 10:55 | 7433.50 | 15:59 | 7468.50 | end of day 15:59 | 35.00 |
| 2026-05-12 | long | 13:30 | 7388.75 | 15:59 | 7428.25 | end of day 15:59 | 39.50 |
| 2026-05-12 | short | 09:50 | 7402.75 | 13:30 | 7388.75 | opposite zero cross | 14.00 |
| 2026-05-11 | short | 14:55 | 7439.50 | 15:59 | 7438.75 | end of day 15:59 | 0.75 |
| 2026-05-11 | long | 13:30 | 7444.00 | 14:55 | 7439.50 | opposite zero cross | −4.50 |
Questions and answers
What happens if you buy NQ every time the MACD line crosses above zero?
From 2024-10-08 to 2026-10-07 on the NQ 15-minute chart, the MACD zero-line cross strategy took 233 long trades, won 46.8% of them and made -78.50 points (-$1,570 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, its long trades also made -908.50 points on 652 trades on the 5-minute chart, 1,952.00 points on 73 trades on the 1-hour chart and 3,888.75 points on 10 trades on the daily chart, before commission and slippage.
What happens if you short ES every time the MACD line crosses below zero?
From 2024-08-28 to 2026-08-27 on the ES 15-minute chart, the MACD zero-line cross strategy took 254 short trades, won 44.1% of them and made 442.75 points ($22,138 on one ES contract), before commission and slippage. From 2024-08-28 to 2026-08-27 on ES, its short trades also made 399.50 points on 643 trades on the 5-minute chart, 8.75 points on 85 trades on the 1-hour chart and -808.00 points on 9 trades on the daily chart, before commission and slippage.
Does the MACD zero-line cross strategy work on Nasdaq futures?
On NQ futures from 2024-10-08 to 2026-10-07, the MACD zero-line cross strategy on the 15-minute chart took 454 trades, won 43.8% of them and finished 696.00 points ($13,920 on one NQ contract), before commission and slippage.
What is the win rate of MACD zero-line cross on ES futures?
The MACD zero-line cross strategy won 44.7% of its 494 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 36.3% of 1,287 trades on the 5-minute chart, 51.3% of 160 trades on the 1-hour chart and 22.2% of 18 trades on the daily chart, before commission and slippage.
Is the MACD zero-line cross 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 zero-line cross strategy made 671.00 points on 1,290 trades on the 5-minute chart, 696.00 points on 454 trades on the 15-minute chart, 2,908.75 points on 153 trades on the 1-hour chart and -579.00 points on 20 trades on the daily chart, before commission and slippage.
Is it better to only buy or only sell MACD zero-line cross signals on NQ?
On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the long trades made -78.50 points on 233 trades (46.8% won) and the short trades made 774.50 points on 221 trades (40.7% won), before commission and slippage.
How many trades does the MACD zero-line cross strategy take on NQ in two years?
The MACD zero-line cross strategy took 454 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 1,290 on the 5-minute chart, 153 on the 1-hour chart and 20 on the daily chart, before commission and slippage.
What is the max drawdown of the MACD zero-line cross strategy on NQ?
The MACD zero-line cross strategy had a max drawdown of 4,214.75 points ($84,295 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,798.50 points on the 5-minute chart, 1,656.75 points on the 1-hour chart and 5,759.75 points on the daily chart, before commission and slippage.
How does the MACD zero-line cross strategy do on ES compared with NQ?
On the ES 15-minute chart from 2024-08-28 to 2026-08-27, the MACD zero-line cross strategy took 494 trades, won 44.7% of them and made 199.00 points ($9,950 on one ES contract), before commission and slippage. On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the MACD zero-line cross strategy took 454 trades, won 43.8% of them and made 696.00 points ($13,920 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?