Learn › Strategies › EMA 12/26 Trend › EEM

EMA 12/26 Trend on EEM

iShares MSCI Emerging Markets ETF: emerging-market equities, on a different cycle than US indexes. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: EMA 12/26 trend on EEM turned $10,000 into $10,167 (1.7% total, 0.3% CAGR): it trailed buy-and-hold by 6.3% per year, with a maximum drawdown 7.3 points shallower than holding (31.8% vs 39.1%).
0.3%CAGR
6.6%buy & hold CAGR
−31.8%max drawdown
0.09Sharpe ratio
25round trips
32%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
2021−19.4%−4.2%
2022−12.7%−20.2%
20237.8%8.9%
2024−2.8%6.2%
202518.0%33.1%
202616.8%23.9%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%−6.4%2.4%−1.0%−1.9%0.9%−4.4%0.0%−5.5%−3.0%−2.0%0.0%
2022−4.3%−2.9%0.0%0.0%0.0%−6.2%0.0%−1.3%0.0%0.0%4.2%−2.6%
20239.0%−4.6%0.0%−2.0%−0.8%1.0%5.9%−6.5%0.0%0.0%2.8%3.7%
2024−5.5%1.3%2.7%−3.1%1.9%2.6%−0.8%−0.8%1.6%−2.9%0.6%0.0%
2025−0.3%1.2%1.0%−4.7%3.8%7.0%0.7%2.6%6.9%3.5%−4.5%0.1%
20267.9%5.7%−9.0%6.1%7.2%0.3%−2.6%0.3%−0.3%1.3%––

Every trade

EMA 12/26 trend on EEM made 25 closed round trips and one position still open at the end of the test, an average hold of 44 days, an average winner of 6.41%, an average loser of −2.76%, a profit factor of 1.01, a longest losing streak of 11. It held a position at the close on 54.2% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-10$50.902021-03-03$48.73−4.3%21
2021-04-26$48.282021-05-12$46.69−3.3%16
2021-05-28$48.402021-07-08$46.80−3.3%41
2021-09-07$47.412021-09-21$44.76−5.6%14
2021-10-20$46.732021-11-05$45.42−2.8%16
2021-11-15$46.332021-11-22$45.21−2.4%7
2022-01-12$45.752022-01-26$43.72−4.4%14
2022-02-10$44.572022-02-15$44.27−0.7%5
2022-02-16$44.512022-02-23$43.50−2.3%7
2022-06-06$38.992022-06-14$36.52−6.3%8
2022-08-09$36.532022-08-31$36.04−1.3%22
2022-11-11$34.462023-02-21$36.415.7%102
2023-04-04$36.462023-04-26$35.73−2.0%22
2023-05-23$35.962023-05-24$35.67−0.8%1
2023-06-06$36.462023-08-14$36.460.0%69
2023-11-08$35.792024-01-18$36.050.7%71
2024-02-08$37.432024-04-17$37.911.3%69
2024-04-30$39.102024-07-26$40.393.3%87
2024-08-20$41.732024-09-09$40.20−3.7%20
2024-09-20$41.842024-11-01$42.742.1%42
2025-01-30$41.592025-04-04$40.23−3.3%64
2025-04-30$42.322025-11-21$51.7322.2%205
2025-12-09$53.252025-12-17$52.97−0.5%8
2025-12-24$54.062026-03-09$56.514.5%75
2026-04-13$59.812026-07-09$66.6411.4%87
2026-08-14$66.77open–1.4%–

Prices are adjusted for splits and dividends, so they sit below the quotes printed at the time. An open position is marked at the last close.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-02-172022-11-21−31.8%6422026-05-061262
2026-06-022026-06-05−8.6%32026-06-1813
2026-06-222026-08-18−8.2%57not yet–

Buy-and-hold's deepest drawdown ran from 2021-02-17 to 2022-10-24 and reached −39.1%.

With trading costs

The headline run fills at the bar price. These runs charge slippage on every fill.

Slippage per fillCAGRMax drawdownFinal valueSharpe
None (headline)0.3%−31.8%$10,1670.09
5 basis points−0.1%−32.5%$9,9140.06
10 basis points−0.6%−33.3%$9,6710.02

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules0.3%−31.8%2532%$10,167
EMA 8/211.4%−33.4%3834%$10,862
EMA 20/503.7%−19.0%944%$12,313
EMA 12/50−0.4%−33.0%1926%$9,748

How EEM behaved

MeasureEEM
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold46.9%
Annualized volatility19.9%
Deepest drawdown−39.8% (2021-02-17 to 2022-10-24)
Up days52.0%
Average daily range1.04%
Average overnight gap0.75%
Correlation to SPY0.67
Correlation to QQQ0.69
Correlation to TLT0.09
Sessions above the 200-day average66.7%
Crossings of the 200-day average31
Falls of 10% or more from a 20-day high14

The rules

Hold while the 12-day exponential average is above the 26-day, the core of the MACD used as a position switch.

  1. WHEN the market opens · IF not invested AND EMA(12) > EMA(26) · THEN buy with 98% of the sleeve
  2. WHEN the market opens · IF invested AND EMA(12) < EMA(26) · THEN sell the whole position

The 12/26 exponential moving average pair is the core of the MACD indicator. Exponential averages weight recent days more than simple averages, so this crossover reacts faster than an SMA pair of the same length. Used as a long/flat switch, it gives you a position you can hold and measure.

Good for: traders who like MACD logic but want it expressed as a simple, testable long/flat rule.
Watch out: faster reaction means more trades and more whipsaws than a 50/200 cross; check the trade count on each backtest page.

Run EMA 12/26 trend on EEM yourself, free →

Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Frequently asked questions

Did EMA 12/26 trend beat buy-and-hold on EEM?

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on EEM returned 0.3% annualized vs 6.6% for buy-and-hold: it trailed buy-and-hold by 6.3% per year, with a maximum drawdown 7.3 points shallower than holding (31.8% vs 39.1%).

How many trades did it make?

25 completed round trips over 5.7 years (51 fills), with 32% of round trips closing profitably.

Is this the same as trading MACD signals?

It uses the MACD's underlying trend component. Classic MACD trades the signal-line crossover of the 12/26 spread. This template trades the spread's sign directly, which is simpler and can be built fully in blocks.

Related

EMA 12/26 Trend on all 59 ETFsfull results table All strategies on EEM12 templates compared RSI(14) Mean Reversion on EEMsame ETF, different rulesRSI(2) Dip Snapback on EEMsame ETF, different rules

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.