Strategy library · Moving averages

EMA 12/26 cross backtest on NQ and ES futures

EMA 12 / 26 cross

Also called: 12 26 EMA crossover, 12 and 26 EMA strategy, buy when the 12 EMA crosses above the 26 EMA, short when the 12 EMA crosses below the 26 EMA

What happens if you buy NQ every time the 12 EMA crosses above the 26 EMA?

What it is

An exponential moving average (EMA) weights recent prices more heavily than older ones. This strategy goes long when the 12-period EMA crosses above the 26-period EMA, 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 EMA 12/26 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 EMA 12/26 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 EMA 12/26 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 EMA 12 crosses above EMA 26; 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 minute129036.1%0.521.015671.00$13,4203,798.50128736.3%0.141.020185.75$9,288582.75
5 minute · longs only65237.6%——−908.50−$18,1702,750.0064438.5%——−213.75−$10,687554.50
5 minute · shorts only63834.5%——1,579.50$31,5902,134.2564334.1%——399.50$19,975436.50
15 minute45443.8%1.531.031696.00$13,9204,214.7549444.7%0.401.040199.00$9,950673.50
15 minute · longs only23346.8%——−78.50−$1,5702,718.2524045.4%——−243.75−$12,187602.00
15 minute · shorts only22140.7%——774.50$15,4902,393.0025444.1%——442.75$22,138308.25
1 hour15353.6%19.011.4752,908.75$58,1751,656.7516051.3%2.871.324459.75$22,988181.75
1 hour · longs only7358.9%——1,952.00$39,040551.007558.7%——451.00$22,55096.50
1 hour · shorts only8048.8%——956.75$19,1351,820.758544.7%——8.75$438301.00
Daily2020.0%−28.950.946−579.00−$11,5805,759.751822.2%8.491.092152.75$7,638765.25
Daily · longs only1030.0%——3,888.75$77,7752,337.50933.3%——960.75$48,038233.75
Daily · shorts only1010.0%——−4,467.75−$89,3555,463.25911.1%——−808.00−$40,400844.50

ES Daily: small sample (18 trades).

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

See what a full report looks like →

NQ 5 minute: the equity line

EMA 12 / 26 cross, NQ 5 minute, 2024-10-08 to 2026-10-07. Cumulative points after each trade; low −321.75, high 3,476.75, last 671.00.

Long and short

SideTradesNet pts
Long652−908.50
Short6381,579.50

By month

MonthTradesNet pts
2024-1035763.25
2024-1157167.50
2024-1256425.75
2025-0145226.50
2025-02471,033.00
2025-0355−454.75
2025-0449578.75
2025-0563−1,104.50
2025-0658−723.25
2025-07508.00
2025-0849−30.75
2025-0949199.25
2025-1053969.00
2025-1143870.25
2025-1271−1,257.50
2026-0150141.75
2026-0247114.00
2026-0364−292.00
2026-0448−182.75
2026-0551−143.75
2026-0654183.25
2026-0758179.00
2026-0873−1,188.50
2026-0960−21.50
2026-105211.00
Every trade, NQ 5 minute1290 trades

Pick any of the 1290 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 (1290), 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
2024-12-26long10:0521967.7510:1021929.25opposite cross−38.50
2024-12-26short09:5521882.0010:0521967.75opposite cross−85.75
2024-12-23short15:1521708.5015:5921755.50end of day 15:59−47.00
2024-12-23long11:2021630.2515:1521708.50opposite cross78.25
2024-12-20short15:2021680.2515:5921567.50end of day 15:59112.75
2024-12-20long14:3021718.5015:2021680.25opposite cross−38.25
2024-12-20short14:1521672.0014:3021718.50opposite cross−46.50
2024-12-19short14:3521481.7515:5921376.75end of day 15:59105.00
2024-12-19long14:0021596.7514:3521481.75opposite cross−115.00
2024-12-19short09:4521586.5014:0021596.75opposite cross−10.25
2024-12-18short12:3522297.0015:5921496.75end of day 15:59800.25
2024-12-18long12:2022315.0012:3522297.00opposite cross−18.00
2024-12-18short12:1522299.5012:2022315.00opposite cross−15.50
2024-12-18long11:5522319.2512:1522299.50opposite cross−19.75
2024-12-18short11:2022267.2511:5522319.25opposite cross−52.00
2024-12-18long10:5022348.2511:2022267.25opposite cross−81.00
2024-12-17short13:3022014.2515:5922015.75end of day 15:59−1.50
2024-12-17long11:2522032.5013:3022014.25opposite cross−18.25
2024-12-13long13:4521749.0015:5921797.50end of day 15:5948.50
2024-12-13short10:4021794.5013:4521749.00opposite cross45.50
2024-12-13long09:4521888.5010:4021794.50opposite cross−94.00
2024-12-12short14:0021697.0015:5921643.25end of day 15:5953.75
2024-12-12long12:1021718.7514:0021697.00opposite cross−21.75
2024-12-12short12:0021674.0012:1021718.75opposite cross−44.75
2024-12-12long10:4521700.7512:0021674.00opposite cross−26.75
2024-12-10short11:0521510.2515:5921408.00end of day 15:59102.25
2024-12-09short14:2021497.0015:5921485.50end of day 15:5911.50
2024-12-09long13:4521537.5014:2021497.00opposite cross−40.50
2024-12-09short10:2021606.0013:4521537.50opposite cross68.50
2024-12-09long09:5021644.5010:2021606.00opposite cross−38.50
2024-12-06long14:5021640.2515:5921658.50end of day 15:5918.25
2024-12-06short14:4521632.2514:5021640.25opposite cross−8.00
2024-12-05short13:2521489.7515:5921475.50end of day 15:5914.25
2024-12-05long11:3521530.2513:2521489.75opposite cross−40.50
2024-12-05short10:0021511.0011:3521530.25opposite cross−19.25
2024-12-04long13:5521485.0015:5921537.50end of day 15:5952.50
2024-12-04short13:4521461.0013:5521485.00opposite cross−24.00
2024-12-04long10:1021437.0013:4521461.00opposite cross24.00
2024-12-04short09:4021389.0010:1021437.00opposite cross−48.00
2024-12-03long12:5021226.2515:5921279.00end of day 15:5952.75
2024-12-03short12:4021199.5012:5021226.25opposite cross−26.75
2024-12-03long11:0521221.7512:4021199.50opposite cross−22.25
2024-12-03short10:4521189.5011:0521221.75opposite cross−32.25
2024-12-03long10:4021204.5010:4521189.50opposite cross−15.00
2024-12-03short10:3021177.0010:4021204.50opposite cross−27.50
2024-12-03long10:1521214.2510:3021177.00opposite cross−37.25
2024-12-02long15:1521221.2515:5921217.00end of day 15:59−4.25
2024-12-02short14:1521183.5015:1521221.25opposite cross−37.75
2024-11-29long09:5520896.5013:1420991.25early close94.75
2024-11-28long12:2520891.7512:5920890.00early close−1.75

← NewerPage 24 of 26Older →

Questions and answers

What happens if you buy NQ every time the 12 EMA crosses above the 26 EMA?

From 2024-10-08 to 2026-10-07 on the NQ 15-minute chart, the EMA 12/26 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 12 EMA crosses below the 26 EMA?

From 2024-08-28 to 2026-08-27 on the ES 15-minute chart, the EMA 12/26 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 EMA 12/26 cross strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the EMA 12/26 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 EMA 12 / 26 cross on ES futures?

The EMA 12/26 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 EMA 12/26 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 EMA 12/26 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 EMA 12/26 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 EMA 12/26 cross strategy take on NQ in two years?

The EMA 12/26 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 EMA 12/26 cross strategy on NQ?

The EMA 12/26 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 EMA 12/26 cross strategy do on ES compared with NQ?

On the ES 15-minute chart from 2024-08-28 to 2026-08-27, the EMA 12/26 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 EMA 12/26 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?

Pricing · Sample report