Strategy library · Moving averages

EMA 20/50 cross backtest on NQ and ES futures

EMA 20 / 50 cross

Also called: 20 50 EMA crossover, 20 and 50 EMA strategy, buy when the 20 EMA crosses above the 50 EMA, short when the 20 EMA crosses below the 50 EMA

What happens if you buy NQ every time the 20 EMA crosses above the 50 EMA?

What it is

An exponential moving average (EMA) weights recent prices more heavily than older ones. This strategy goes long when the 20-period EMA crosses above the 50-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 20/50 cross strategy took 329 trades on the 15-minute chart, won 44.7% of them and finished 2,209.50 points ($44,190 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, the 156 long trades on the 15-minute chart won 48.1% and made 1,099.00 points ($21,980 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the EMA 20/50 cross strategy took 321 trades on the 15-minute chart, won 46.1% of them and finished 207.00 points ($10,350 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 20/50 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 20 crosses above EMA 50; 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 minute69541.2%−1.830.957−1,273.25−$25,4653,121.0074840.5%0.221.024165.50$8,275738.50
5 minute · longs only35843.3%——−1,875.25−$37,5052,697.7537340.8%——33.75$1,688385.25
5 minute · shorts only33738.9%——602.00$12,0401,523.2537540.3%——131.75$6,588423.75
15 minute32944.7%6.721.1422,209.50$44,1901,991.2532146.1%0.641.060207.00$10,350496.50
15 minute · longs only15648.1%——1,099.00$21,9802,018.2513946.8%——26.25$1,313337.75
15 minute · shorts only17341.6%——1,110.50$22,2101,636.2518245.6%——180.75$9,038297.00
1 hour8844.3%−8.290.863−729.75−$14,5951,617.009344.1%1.351.118125.75$6,288267.75
1 hour · longs only4854.2%——−579.75−$11,5951,090.254843.8%——45.00$2,250127.50
1 hour · shorts only4032.5%——−150.00−$3,000859.254544.4%——80.75$4,038218.75
Daily837.5%86.811.149694.50$13,8903,182.00837.5%87.471.978699.75$34,988408.00
Daily · longs only475.0%——4,674.25$93,485681.50450.0%——1,113.25$55,663152.50
Daily · shorts only40.0%——−3,979.75−$79,5953,979.75425.0%——−413.50−$20,675413.50

NQ Daily: small sample (8 trades). ES Daily: small sample (8 trades).

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

ES 1 hour: the equity line

EMA 20 / 50 cross, ES 1 hour, 2024-08-28 to 2026-08-27. Cumulative points after each trade; low −246.25, high 135.00, last 125.75.

Long and short

SideTradesNet pts
Long4845.00
Short4580.75

By month

MonthTradesNet pts
2024-082−47.50
2024-09522.50
2024-105−55.25
2024-114−21.75
2024-125−43.25
2025-011−3.50
2025-025−20.00
2025-03320.00
2025-045−56.75
2025-06347.25
2025-075−1.25
2025-083−6.00
2025-091−8.50
2025-107170.75
2025-112100.25
2025-12422.75
2026-014−89.00
2026-025−4.25
2026-035−31.50
2026-04391.75
2026-054−10.75
2026-0642.25
2026-07555.75
2026-083−8.25
Every trade, ES 1 hour93 trades

Pick any of the 93 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 (93), 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-08-26long10:007701.2515:597692.00end of day 15:59−9.25
2026-08-17short14:007775.2515:597768.75end of day 15:596.50
2026-08-12long15:007775.0015:597769.50end of day 15:59−5.50
2026-07-29short11:007403.7515:597350.25end of day 15:5953.50
2026-07-27short13:007428.2515:597449.25end of day 15:59−21.00
2026-07-21long14:007549.0015:597545.75end of day 15:59−3.25
2026-07-14long15:007592.2515:597590.00end of day 15:59−2.25
2026-07-09long11:007562.0015:597590.75end of day 15:5928.75
2026-06-22short12:007542.5015:597540.25end of day 15:592.25
2026-06-22long10:007596.2512:007542.50opposite cross−53.75
2026-06-17short15:007540.5015:597492.25end of day 15:5948.25
2026-06-03short13:007578.0015:597572.50end of day 15:595.50
2026-05-28long11:007562.7515:597582.00end of day 15:5919.25
2026-05-20long14:007437.5015:597451.50end of day 15:5914.00
2026-05-15short11:007450.5015:597432.50end of day 15:5918.00
2026-05-12short13:007366.2515:597428.25end of day 15:59−62.00
2026-04-30long11:007192.0015:597238.25end of day 15:5946.25
2026-04-28short12:007153.7515:597171.50end of day 15:59−17.75
2026-04-13long10:006858.0015:596921.25end of day 15:5963.25
2026-03-31long14:006532.0015:596569.00end of day 15:5937.00
2026-03-18short15:006695.5015:596677.25end of day 15:5918.25
2026-03-17long10:006803.0015:596771.75end of day 15:59−31.25
2026-03-05short14:006787.2515:596835.00end of day 15:59−47.75
2026-03-04long12:006880.7515:596873.00end of day 15:59−7.75
2026-02-24long15:006900.5015:596903.25end of day 15:592.75
2026-02-23short12:006849.0015:596854.00end of day 15:59−5.00
2026-02-12short12:006884.5015:596850.50end of day 15:5934.00
2026-02-03short15:006914.2515:596940.50end of day 15:59−26.25
2026-02-02long14:007012.7515:597003.00end of day 15:59−9.75
2026-01-29short11:006911.0015:596989.75end of day 15:59−78.75
2026-01-15long10:006999.0015:596984.75end of day 15:59−14.25
2026-01-12long10:007000.0015:597016.00end of day 15:5916.00
2026-01-05long12:006958.0015:596946.00end of day 15:59−12.00
2025-12-29short11:006949.0015:596955.00end of day 15:59−6.00
2025-12-12short14:006839.2515:596831.25end of day 15:598.00
2025-12-11long12:006871.7515:596908.00end of day 15:5936.25
2025-12-08short14:006841.0015:596856.50end of day 15:59−15.50
2025-11-20short15:006615.0015:596558.75end of day 15:5956.25
2025-11-13short11:006806.0015:596762.00end of day 15:5944.00
2025-10-30short12:006887.7515:596853.75end of day 15:5934.00
2025-10-23long14:006782.5015:596774.75end of day 15:59−7.75
2025-10-10short11:006757.5015:596595.00end of day 15:59162.50
2025-10-10long10:006796.7511:006757.50opposite cross−39.25
2025-10-08long12:006799.5015:596802.00end of day 15:592.50
2025-10-07short14:006754.0015:596762.50end of day 15:59−8.50
2025-10-01long11:006733.2515:596760.50end of day 15:5927.25
2025-09-17short13:006651.7515:596660.25end of day 15:59−8.50
2025-08-29short13:006471.2515:596475.25end of day 15:59−4.00
2025-08-22long12:006485.2515:596483.25end of day 15:59−2.00
2025-08-06long12:006371.7515:596371.75end of day 15:590.00
2025-07-29short15:006406.2515:596406.00end of day 15:590.25
2025-07-22long15:006350.7515:596345.50end of day 15:59−5.25
2025-07-22short13:006336.0015:006350.75opposite cross−14.75
2025-07-14long15:006313.0015:596310.75end of day 15:59−2.25
2025-07-09long12:006286.2515:596307.00end of day 15:5920.75
2025-06-23long11:006040.0015:596076.75end of day 15:5936.75
2025-06-17short14:006043.0015:596038.25end of day 15:594.75
2025-06-12long14:006044.7515:596050.50end of day 15:595.75
2025-04-30short15:005537.2515:595584.00end of day 15:59−46.75
2025-04-30long14:005546.2515:005537.25opposite cross−9.00
2025-04-30short13:005537.0014:005546.25opposite cross−9.25
2025-04-08short13:005123.2515:595017.50end of day 15:59105.75
2025-04-08long12:005220.7513:005123.25opposite cross−97.50
2025-03-26short15:005745.2515:595758.25end of day 15:59−13.00
2025-03-19long12:005718.0015:595730.75end of day 15:5912.75
2025-03-14long14:005617.2515:595637.50end of day 15:5920.25
2025-02-20short10:006116.7515:596137.25end of day 15:59−20.50
2025-02-13long11:006109.5015:596135.25end of day 15:5925.75
2025-02-12short10:006052.5015:596072.75end of day 15:59−20.25
2025-02-11long15:006094.2515:596092.50end of day 15:59−1.75
2025-02-10long14:006091.5015:596088.25end of day 15:59−3.25
2025-01-03long15:005991.5015:595988.00end of day 15:59−3.50
2024-12-27short12:005996.0015:596028.50end of day 15:59−32.50
2024-12-16long12:006082.2515:596080.00end of day 15:59−2.25
2024-12-13short11:006048.0015:596055.75end of day 15:59−7.75
2024-12-11long13:006099.2515:596092.25end of day 15:59−7.00
2024-12-09short13:006072.0015:596065.75end of day 15:596.25
2024-11-20short14:005902.0015:595939.25end of day 15:59−37.25
2024-11-14short11:006003.0015:595976.75end of day 15:5926.25
2024-11-13long14:006032.2515:596015.75end of day 15:59−16.50
2024-11-05long13:005807.2515:595813.00end of day 15:595.75
2024-10-29long15:005878.2515:595871.75end of day 15:59−6.50
2024-10-25long11:005890.2515:595845.50end of day 15:59−44.75
2024-10-21short13:005888.0015:595897.00end of day 15:59−9.00
2024-10-08long12:005792.2515:595800.75end of day 15:598.50
2024-10-01short12:005757.0015:595760.50end of day 15:59−3.50
2024-09-11long14:005513.2515:595556.75end of day 15:5943.50
2024-09-11short11:005424.2514:005513.25opposite cross−89.00
2024-09-10long14:005484.5015:595502.00end of day 15:5917.50
2024-09-10short13:005466.0014:005484.50opposite cross−18.50
2024-09-03short10:005612.2515:595543.25end of day 15:5969.00
2024-08-29long13:005658.2515:595610.25end of day 15:59−48.00
2024-08-28short12:005612.0015:595611.50end of day 15:590.50

Page 1 of 1

Questions and answers

What happens if you buy NQ every time the 20 EMA crosses above the 50 EMA?

From 2024-10-08 to 2026-10-07 on the NQ 15-minute chart, the EMA 20/50 cross strategy took 156 long trades, won 48.1% of them and made 1,099.00 points ($21,980 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, its long trades also made -1,875.25 points on 358 trades on the 5-minute chart, -579.75 points on 48 trades on the 1-hour chart and 4,674.25 points on 4 trades on the daily chart, before commission and slippage.

What happens if you short ES every time the 20 EMA crosses below the 50 EMA?

From 2024-08-28 to 2026-08-27 on the ES 15-minute chart, the EMA 20/50 cross strategy took 182 short trades, won 45.6% of them and made 180.75 points ($9,038 on one ES contract), before commission and slippage. From 2024-08-28 to 2026-08-27 on ES, its short trades also made 131.75 points on 375 trades on the 5-minute chart, 80.75 points on 45 trades on the 1-hour chart and -413.50 points on 4 trades on the daily chart, before commission and slippage.

Does the EMA 20/50 cross strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the EMA 20/50 cross strategy on the 15-minute chart took 329 trades, won 44.7% of them and finished 2,209.50 points ($44,190 on one NQ contract), before commission and slippage.

What is the win rate of EMA 20 / 50 cross on ES futures?

The EMA 20/50 cross strategy won 46.1% of its 321 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 40.5% of 748 trades on the 5-minute chart, 44.1% of 93 trades on the 1-hour chart and 37.5% of 8 trades on the daily chart, before commission and slippage.

Is the EMA 20/50 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 20/50 cross strategy made -1,273.25 points on 695 trades on the 5-minute chart, 2,209.50 points on 329 trades on the 15-minute chart, -729.75 points on 88 trades on the 1-hour chart and 694.50 points on 8 trades on the daily chart, before commission and slippage.

Is it better to only buy or only sell EMA 20/50 cross signals on NQ?

On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the long trades made 1,099.00 points on 156 trades (48.1% won) and the short trades made 1,110.50 points on 173 trades (41.6% won), before commission and slippage.

How many trades does the EMA 20/50 cross strategy take on NQ in two years?

The EMA 20/50 cross strategy took 329 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 695 on the 5-minute chart, 88 on the 1-hour chart and 8 on the daily chart, before commission and slippage.

What is the max drawdown of the EMA 20/50 cross strategy on NQ?

The EMA 20/50 cross strategy had a max drawdown of 1,991.25 points ($39,825 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,121.00 points on the 5-minute chart, 1,617.00 points on the 1-hour chart and 3,182.00 points on the daily chart, before commission and slippage.

How does the EMA 20/50 cross strategy do on ES compared with NQ?

On the ES 15-minute chart from 2024-08-28 to 2026-08-27, the EMA 20/50 cross strategy took 321 trades, won 46.1% of them and made 207.00 points ($10,350 on one ES contract), before commission and slippage. On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the EMA 20/50 cross strategy took 329 trades, won 44.7% of them and made 2,209.50 points ($44,190 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?