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%).

The EMA 12/26 trend rule on EEM, the iShares MSCI Emerging Markets ETF, turned $10,000 into $10,167 between 2021-01-04 and 2026-10-02. That is a CAGR of 0.29% with a maximum drawdown of 31.79% and a Sharpe ratio of 0.09. Holding EEM over the same window ended at $14,416, a CAGR of 6.58%, with a drawdown of 39.09%. The rule gave up a lot of return and cut the worst fall by a smaller amount.

The rule has two lines. When the fund is flat and the 12-day exponential average is above the 26-day, it buys with 98% of the sleeve at the open. When it is invested and the 12-day drops below the 26-day, it sells everything. There is no stop, no target and no position sizing beyond that. The run covers 5.74 years of daily-decision rules on minute-resolution data, with no margin and no fees or slippage in the headline figures.

The result lands tenth of the 12 strategies on EEM and fortieth of 59 funds for this rule. The strategy median across all 59 funds is a 2.76% CAGR, so EEM sits below the middle for this rule. Among the funds in the broad index category the median is 7.85%, and EEM is near the bottom of that group, ahead only of IWM at 0.18%.

The rest of the text goes through the years, the trade list, the one long drawdown, the cost runs and the parameter variants, and then what EEM's own price behaviour says about why the crossover struggled. All figures are hypothetical, from one window, and say what happened on past data.

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%

How each calendar year went

The rule had three positive years and three negative ones, and the three negative years cost more than the positive ones returned. In 2021 it lost 19.4% while EEM lost 4.2%. In 2022 it lost 12.7% while EEM lost 20.2%. In 2023 it made 7.8% against 8.9% for the fund. In 2024 it lost 2.8% while EEM gained 6.2%. In 2025 it gained 18% against 33.1%, and in 2026 so far it has gained 16.8% against 23.9%.

2022 is the only year the rule beat the fund, by 7.5 percentage points. The fall that year was long and persistent, and a crossover that sits in cash for most of it avoids a good part of the decline. It did not avoid all of it. The rule still lost 12.7% in 2022 because it took five round trips that year and none of them won. Each time the 12-day average climbed back above the 26-day during a bear-market bounce, the rule bought, and each time the bounce faded the rule sold lower.

2021 is where the damage started. EEM fell only 4.2% over the calendar year, yet the rule lost 19.4%. Six round trips closed that year and none of them were wins. The fund peaked on 2021-02-17 and then moved sideways to lower for most of the year. That kind of drifting range is the worst case for a moving-average crossover, because the fast line crosses the slow line in both directions while the price goes nowhere. The rule paid the cost of each wrong entry and collected nothing from a trend.

2024 shows the same issue in a good year for the fund. EEM gained 6.2% and the rule lost 2.8%, even though four of its five round trips that year were winners. The one loser, entered on 2024-08-20 and exited on 2024-09-09 for a 3.67% loss, outweighed the small gains from the winners, which were between 1.28% and 3.3%. Winning trades that small cannot repay a few losses of 3% to 6%.

2025 and 2026 are where the rule did best, with 18% and 16.8%. The fund rose 33.1% and 23.9% in those years, so the rule still lagged by a wide margin. A crossover enters after the move has begun, and in a sharp rally that delay is a large share of the move. The yearly gap against buy-and-hold is negative in five of the six years and positive only in 2022.

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%––

What the monthly returns show

Many of the monthly figures in the run are exactly zero because the rule held cash that month. Long stretches of zeros appear in 2022, when the rule was flat in March, April, May, July, September and October. Those months are the part of the strategy that worked as designed: the fund slid and the account did not.

The best month was January 2023 at 9.01%, which came from the one long hold that began in November 2022. The worst month was March 2026 at a loss of 8.98%. That was a month where the position was held while the fund fell sharply, and the exit on 2026-03-09 came within that month. The best month for buy-and-hold was November 2022 at 14.98%, a month where the rule captured only 4.21% because it entered on 2022-11-11, after the first leg of the bounce.

That November 2022 month is a clear picture of the lag. The fund's worst month was September 2022 at a loss of 11.16%, and the rule was flat for it. The fund's best month followed in November, and the rule was in for only part of it. The crossover avoided the bad month and missed most of the good one, which is the trade the rule is built to make. Over the whole window the avoided losses were smaller than the missed gains.

Several runs of small negative months in 2021 and early 2022 show the cost of whipsaw. February 2021 lost 6.43%, September 2021 lost 5.46%, and June 2022 lost 6.2%. None of these months involved a large fall in the fund. They are the result of buying near a local high and selling a week or two later.

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.

The 26 trades

The run took 26 trades, 25 of them closed and one still open. Eight of the 25 closed round trips were winners, a win rate of 32%. The average winner returned 6.41% and the average loser lost 2.76%. The profit factor is 1.01, which means gross profit was barely above gross loss. The median trade lost 1.34%, and the median hold was 22 days.

The best trade was the entry on 2025-04-30 at an adjusted price of 42.32 and the exit on 2025-11-21 at 51.73, a gain of 22.24% over 205 days. It is also the longest hold in the run. The entry came after the April 2025 low, so the rule bought the recovery rather than the fall. The second best was 11.41% from 2026-04-13 to 2026-07-09, held for 87 days. The third was 5.66% from 2022-11-11 to 2023-02-21, held for 102 days.

The worst trade lost 6.33%, from 2022-06-06 at 38.99 to 2022-06-14 at 36.52, in 8 days. The second worst lost 5.59% from 2021-09-07 to 2021-09-21. Third was 4.44% from 2022-01-12 to 2022-01-26. All of the worst trades were short, between 8 and 21 days, and all came in the choppy stretches of 2021 and 2022. The losses are modest per trade. The trouble is how many of them stack up in a row, and the longest loss streak was 11 trades. The longest win streak was 3.

The first 11 closed trades, running from 2021-02-10 to 2022-08-31, were all losses. The account went through a full year and a half of consecutive failed signals before the 2022-11-11 entry produced the first win. By then the fund had been falling for most of two years, and the sleeve had been cut by the repeated small losses.

An open position remains at the end of the window. It was entered on 2026-08-14 at an adjusted price of 66.77 and was showing a gain of 1.36%. That trade is not counted in the win rate or the profit factor.

The rule was invested 54.2% of the time. With an average hold of 43.7 days, the time in the market is concentrated in a handful of long holds, and the winners in 2025 and 2026 supply most of the profit. The per-year table shows 2024 as the best year for win rate, with 4 wins out of 5, and 2021 and 2022 with no wins from 11 round trips combined.

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%.

The drawdown history

The maximum drawdown was 31.79%, from a peak on 2021-02-17 to a trough on 2022-11-21. That is 642 days down. Recovery to the old peak came on 2026-05-06, which is 1,262 days after the peak was set. A drawdown that lasts that long is the number a holder would feel most, because the account sat below its high for most of the window.

Buy-and-hold had its own deep drawdown over a similar period: 39.09%, from the same 2021-02-17 peak to a trough on 2022-10-24, with recovery on 2025-09-15. The rule's trough came almost a month later than the fund's, on 2022-11-21. The fund bottomed in October 2022 and the rule only reached its low after buying into the first bounce and selling lower. The rule recovered 2026-05-06, later than the fund by months, because the early losses gave it a lower base to climb from.

The difference between the two maximum drawdowns is 7.3 percentage points in the rule's favour. That is a smaller protection than most trend rules show on this kind of fund, and the cost of it was the return gap of 6.29 points of CAGR a year. On the Sharpe measure, 0.09 for the rule against 0.44 for the fund, buy-and-hold had much better return for its risk.

The two later drawdowns in the rule's history were shallow. One ran from 2026-06-02 to a trough on 2026-06-05 at 8.59%, a fall in 3 days, and recovered on 2026-06-18. The other started on 2026-06-22, reached a trough of 8.19% on 2026-08-18, and had not recovered by the end of the window. The first of these includes the fund's worst day, 2026-06-05, when EEM fell 6.52%. A long-only rule that is invested cannot sidestep a one-day fall of that size, and the sell signal can only act after the close that shows it.

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

What trading costs did

The headline run has no fees and no slippage. The cost runs add 5 and 10 basis points on each trade. At 5 basis points the CAGR fell from 0.29% to -0.15% and ending equity from $10,167 to $9,914. At 10 basis points the CAGR was -0.58% and ending equity $9,671. The maximum drawdown rose from 31.79% to 32.53% and then 33.27%, and the Sharpe ratio went from 0.09 to 0.056 and then 0.023.

The rule trades 51 fills over the window, and every cost run charges both sides of each round trip. With a profit factor of 1.01 in the headline run, there is almost no margin to absorb costs. A 1% edge on gross profit is wiped out by the first few basis points, and that is what the cost runs show: the rule turns from a small gain to a small loss.

EEM trades about $1.33 billion in dollar volume on an average day, so the fund itself is liquid and a small account would face tight spreads. The cost runs are an assumption, not a measure of what an account would pay at any given broker. They show how sensitive this particular rule is, and the answer is that a result this close to zero cannot absorb any friction.

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

What the parameter variants show

Three variants of the pair were tested alongside the standard 12/26.

The slowest pair did the best on every measure shown. EMA 20/50 had a Sharpe ratio of 0.336, well above the 0.09 of the standard rule, and it traded far less. Fewer trades meant fewer whipsaws, and the drawdown fell from 31.79% to 19.03%. That fits what the trade list shows: the standard rule lost on short holds in range-bound months, and a slower pair stays out of many of those.

The 12/50 variant, which keeps the fast line and slows only the slow line, was worse than the standard rule. It still entered on the quick signal and then waited for the slower line to confirm an exit, so it held through more of each reversal. Changing only one line did not help, which suggests the benefit of EMA 20/50 came from slowing both.

EMA 8/21 traded the most, 38 trades, and made more than the standard rule at 1.45%. A faster pair caught the 2025 and 2026 moves slightly earlier. That is a different failure from the other variants and a different small gain, and none of the three settings shows a result near the fund's 6.58%.

These are three nearby settings tested on one window. The spread between them, from -0.44% to 3.69%, is a reminder that a result this thin depends on the setting chosen, and that picking the best one after the fact would overstate what the rule does. The 20/50 result is an in-sample observation, not a tuned or validated setting.

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

How EEM behaved

EEM returned 46.91% over the window, a CAGR of 6.93% on the price series, with annualized volatility of 19.86%. Its maximum drawdown was 39.82%, from 2021-02-17 to 2022-10-24, with recovery on 2025-09-15, and the longest time below a prior high was 1,148 sessions. The fund spent the first half of the window falling or drifting and the second half rising: calendar returns were -4.3% in 2021, -20.64% in 2022, then 9.17%, 6.39%, 33.91% and 24.37% so far in 2026.

That shape is hard for a crossover. The first two years supply the whipsaws and a falling market with violent bounces, and the last two supply the trend, but a crossover takes its position late. The fund spent 66.67% of sessions above its 200-day average and crossed that line 31 times. Thirty-one crossings in 1,444 sessions is a lot of back and forth for a slow trend line.

Day-to-day behaviour points the same way. The first-order autocorrelation of daily returns is -0.07, slightly negative, which means a down day was marginally more likely to be followed by an up day than the reverse. Trend rules want positive autocorrelation. A small negative reading does not rule out trends over weeks, but it does not help a signal that reacts to a few days of movement. EEM was up on 51.98% of days, and the average up day of 0.92% and average down day of -0.93% were nearly equal in size.

Large single-day moves matter for a rule that is all in or all out. The best days were 8.12% on 2022-03-16 and 6.91% on 2025-04-09, and the worst were -6.52% on 2026-06-05 and -5.65% on 2026-06-23. The 2022-03-16 jump came while the rule was flat, and the 2025-04-09 jump came three weeks before the crossover produced the 2025-04-30 entry. A rule that waits for confirmation misses days like these.

The fund's correlation to SPY was 0.67 with a beta of 0.81, and to QQQ 0.69. Against TLT it was 0.09. Emerging-market equities moved with US stocks but on their own cycle, which is why the fund fell harder and recovered later than the larger indexes in the 2022 to 2025 window. The same rule on SPY and VOO returned 10.2% and 10.34% CAGR with drawdowns near 12%, so the crossover itself was workable on US indexes in this window and EEM was the harder fund.

The overnight and intraday split also stands out. EEM's overnight log return was -7.75% while its intraday log return was 45.12%. The fund lost ground overnight and made all of its gains during the session. The rule buys at the open, so it does not capture overnight moves on entry in either direction, and the figures are a property of the fund rather than of the rule.

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.

How the rules interact with EEM

The rule works from the 12 and 26 day exponential averages, which weight recent closes more than older ones. On a fund with 19.86% annualized volatility and a 1.04% average daily range, a gap between the two averages closes quickly, and a modest pullback is enough to flip the signal. The median hold of 22 days says most signals reversed within about a month.

Another way to see the cost is to compare the rule with slower rules on the same fund. The trend plus trailing stop rule returned 8.85% CAGR with a drawdown of 16.33% on EEM, and the golden cross returned 7.76% with 20.65%. The 200-day regime filter matched that at 7.76% with a 17.74% drawdown. All three use slower averages or an exit that is not a quick crossover, and all three beat both the 12/26 result and its drawdown. Faster signals did worse on this fund.

The SMA 10/50 trend finished last of the 12 on EEM at -3.89% with a drawdown of 41.17%, a drawdown deeper than buy-and-hold's. The 3-month momentum switch lost 1.62%. The weekly 7% target came first at 11.62%, with a drawdown of 27.4%, and RSI mean reversion was second at 9.51% with a drawdown of 14.01%. On EEM, rules that took profits or bought weakness did better than rules that followed the crossover.

That order fits the fund's statistics. After RSI(14) fell below 30, which happened on 27 sessions, the median forward 5-day return was 2.94% and the median 20-day return was 3.65%, against baselines of 0.21% and 0.54% for all sessions. Oversold readings on EEM were followed by gains well above the baseline. Mean reversion had something to work with on this fund, and trend following had less.

The limits of this test are plain. It covers one 5.74-year window that begins near the fund's high and includes a two-year slide. The rule makes decisions once a day, fills on minute bars, and the headline run has no costs. It tested one rule with four settings on one fund. A different window, such as one that opened at the 2022 low, would give the crossover a different set of trades.

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.

What was the EMA 12/26 trend strategy's return on EEM?

A: The rule returned a CAGR of 0.29% between 2021-01-04 and 2026-10-02, taking $10,000 to $10,167 with a maximum drawdown of 31.79%. Buy-and-hold on EEM returned 6.58% a year over the same window and ended at $14,416. The results are hypothetical and the headline run has no fees or slippage.

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

A: It beat buy-and-hold only in 2022, by 7.5 percentage points, and trailed in the other five calendar years. Its maximum drawdown was 31.79% against 39.09% for the fund, a smaller fall, but its Sharpe ratio of 0.09 was well below the 0.44 for holding the fund.

How often does the rule trade EEM?

A: It made 26 trades in the window, 25 closed and one open at the end, with 51 fills in total. The median hold was 22 days and the average hold was 43.7 days. The rule was invested 54.2% of the time.

Why did the crossover lose money on EEM when it works on SPY?

A: EEM fell or drifted for most of the first two years of the window, and a fast crossover buys bounces and sells lower in that kind of market. The first 11 closed trades were all losses. On [SPY](/learn/strategies/ema-12-26-trend/spy/) the same rule returned 10.2% a year, because the fund trended more cleanly.

What happens to the result with trading costs?

A: At 5 basis points per trade the CAGR fell to -0.15% and ending equity to $9,914. At 10 basis points the CAGR was -0.58% and ending equity was $9,671. The profit factor of 1.01 leaves almost no room for costs.

Would a slower EMA pair have done better on EEM?

A: In this window, EMA 20/50 returned a CAGR of 3.69% with a drawdown of 19.03% and only 9 trades. EMA 8/21 returned 1.45% and EMA 12/50 returned -0.44%. The slower pair did best here, but it is one setting tested on one window and was not validated out of sample.

Which strategies did best on EEM?

A: The weekly 7% target returned 11.62% a year, RSI mean reversion 9.51% and trend plus trailing stop 8.85%. The EMA 12/26 trend ranked tenth of 12 on this fund. The [EEM page](/learn/etf/eem/) has the full ranking.

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.