Learn › Strategies › 20-Day Momentum + Trailing Stop › EEM

20-Day Momentum + Trailing Stop 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: momentum breakout on EEM turned $10,000 into $11,434 (14.3% total, 2.4% CAGR): it trailed buy-and-hold by 4.2% per year, with a maximum drawdown 14.7 points shallower than holding (24.4% vs 39.1%).

The rule on this page is the 20-day momentum breakout with a trailing stop. It buys EEM, the iShares MSCI Emerging Markets ETF, after the fund gains more than 10% over 20 sessions, then holds it behind a 10% trailing stop. From 2021-01-04 to 2026-10-02 it turned $10,000 into $11,434, a CAGR of 2.36% and a total return of 14.34%. Buy-and-hold on EEM ended at $14,416, a CAGR of 6.58%.

The rule therefore trailed holding by 4.22 points of CAGR a year. It also took less risk. The maximum drawdown was 24.44%, against 39.09% for buy-and-hold, and the rule was invested on 30.3% of trading days. The Sharpe ratio was 0.27 for the rule and 0.44 for holding.

The sample is small. The rule made 5 round trips in about 5.7 years and 10 fills, so a single trade can decide the story. In this case one did. The trade entered on 2025-05-06 and exited on 2026-03-03 returned 29.84% over 301 days. The other four trades returned 2.23%, -8.82%, -7.68% and 2.57%. Remove the big one and the rule would have finished close to where it started.

The rule never traded in 2021, and its first entry came on 2022-11-14, nearly two years into the window. That fact shapes the whole comparison. EEM fell in 2021 and 2022, and the rule was in cash for both years, which is where its drawdown advantage comes from. The cost was missing the first half of the recovery and then being stopped out of two entries in 2024.

All figures come from one window, with daily-decision rules, fills on minute bars, no margin and no fees in the headline result. The cost runs further down add slippage. Nothing here is a forecast.

2.4%CAGR
6.6%buy & hold CAGR
−24.4%max drawdown
0.27Sharpe ratio
5round trips
60%win rate
■ momentum breakout   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Yearmomentum breakoutbuy & hold
20210.0%−4.2%
20221.1%−20.2%
20231.0%8.9%
2024−15.5%6.2%
202523.9%33.1%
20266.9%23.9%

Six calendar years against holding EEM

The rule returned 0% in 2021, 1.1% in 2022, 1% in 2023, -15.5% in 2024, 23.9% in 2025 and 6.9% in 2026 to date. Buy-and-hold returned -4.2%, -20.2%, 8.9%, 6.2%, 33.1% and 23.9% in the same years. The rule finished ahead in 2021 and 2022 and behind in the four years after.

In 2021 the rule made nothing because it never entered. The fund's own calendar return was -4.3%, so staying in cash was worth a few points. The data shows zero trades that year.

The year 2022 is where the rule gained its edge over holding. EEM lost 20.64% on a calendar basis that year, and the rule gained 1.1%. The gain came from the very end of the year. The entry on 2022-11-14 at an adjusted price of $34.59 followed the fund's best month of the window for buy-and-hold, November 2022 at 14.98%. The rule captured 3.82% of that month because it entered mid-month, after the burst had triggered the 10% condition.

In 2023 the rule made 1%. The trade from 2022-11-14 closed on 2023-02-24 at $35.36 for 2.23% over 102 days. January 2023 was the rule's best month at 9.01%, and February gave back 7.31% before the exit. The trailing stop fired after the fund slipped from its high, and the entry-to-exit return ended up small. Buy-and-hold made 8.9% that year, holding through the whole of it.

The year 2024 is the damaging one for the rule. It lost 15.5% while buy-and-hold made 6.2%. There were two entries and both lost: 2024-05-20 to 2024-08-05 at -8.82%, and 2024-10-03 to 2024-12-18 at -7.68%. Each was a breakout that faded. The fund gained enough over 20 sessions to trigger the entry, then rolled over, and the trail exited after a decline from the high-water mark.

In 2025 the rule made 23.9% against 33.1% for holding. The entry on 2025-05-06 at $43.74 caught most of the year's rise. The rule was in cash through January to April while the fund was falling, which kept it out of a drawdown, but it also missed the rebound days. The worst days in the fund's table include 2025-04-04 at -5.53%, and the best include 2025-04-09 at 6.91%. The rule was out of the market for both.

In 2026 the rule returned 6.9% through 2026-10-02 against 23.9% for holding. The long trade closed on 2026-03-03, the same date as one of the fund's worst days at -4.91%. The rule was then flat until it re-entered on 2026-04-20 at $62.80 and exited on 2026-07-13 at $64.41, a gain of 2.57%. By the end of the window the rule had been out since July and the fund was higher than where the rule sold.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20220.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%3.8%−2.6%
20239.0%−7.3%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
20240.0%0.0%0.0%0.0%−3.8%2.6%0.8%−8.1%0.0%−3.8%−2.6%−1.3%
20250.0%0.0%0.0%0.0%0.9%7.0%0.7%2.6%6.9%3.5%−1.7%2.1%
20267.9%5.7%−8.6%1.2%7.2%0.3%−5.8%0.0%0.0%0.0%––

Months with nothing, and a few with a lot

The monthly table has long runs of 0.0%. All of 2021 and the first ten months of 2022 are zeros. The same holds for March to December of 2023 and the first four months of 2024. In total the rule was flat for most of the calendar. The exposure figure of 30.3% says the same thing in a different way.

The best month was 2023-01 at 9.01%. The worst was 2026-03 at -8.59%. Buy-and-hold's best month was 2022-11 at 14.98% and its worst was 2022-09 at -11.16%. The rule dodged the worst month by sitting in cash, and caught a part of the best.

March 2026 is worth a closer look. The long trade from 2025-05-06 closed on 2026-03-03, and March 2026 was the rule's worst month at -8.59%. The exit date was also one of the worst sessions for EEM at -4.91%. A trailing stop does not stop at a chosen loss. It exits after the price has dropped 10% from its highest close, and in a fast decline the actual fill can be below that level.

The winning run from the middle of 2025 reads as a series of modest positive months: 0.94% in May, 6.95% in June, 0.7% in July, 2.57% in August, 6.91% in September, 3.52% in October, then -1.68% in November and 2.08% in December. January 2026 added 7.92% and February 5.7%. That is nine positive months out of ten in a row, which is what a trend entry looks like when it works. The trade lasted 301 days because the fund never fell 10% from a closing high in all that time.

The weak spots were May to August 2024. May lost 3.84%, June made 2.56%, July made 0.77% and then August lost 8.05%. August 2024 is where the exit of the first losing trade landed, and September was flat. October to December 2024 lost 3.77%, 2.65% and 1.28% in the second losing trade.

The fund's own month-of-year averages show November at 2.96% and January at 2.92% as the best months, and March at -1.06% and September at -0.98% as the weakest, each from five or six years of data. Six observations per month is too few to rely on, and the rule does not use the calendar anyway.

Every trade

momentum breakout on EEM made 5 closed round trips, an average hold of 128 days, an average winner of 11.54%, an average loser of −8.25%, a profit factor of 1.91, a longest losing streak of 2. It held a position at the close on 30.3% of trading days.

EntryEntry priceExitExit priceReturnDays held
2022-11-14$34.592023-02-24$35.362.2%102
2024-05-20$41.292024-08-05$37.65−8.8%77
2024-10-03$44.182024-12-18$40.79−7.7%76
2025-05-06$43.742026-03-03$56.7929.8%301
2026-04-20$62.802026-07-13$64.412.6%84

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 five trades

The median trade returned 2.23% and the median hold was 84 days. Holds ranged from 76 to 301 days, and the average was 128 days. Three of the five trades won, a win rate of 60%. The average winner made 11.54% and the average loser lost 8.25%. The profit factor was 1.91. The longest winning streak was 2 and so was the longest losing streak.

Trade one ran from 2022-11-14 at $34.59 to 2023-02-24 at $35.36, returning 2.23% over 102 days. It was the first trade, and it spent most of its life well above the entry price. The December 2022 return of -2.59% and the February 2023 return of -7.31% show how much of the gain the trailing stop gave back before exit.

Trade two ran from 2024-05-20 at $41.29 to 2024-08-05 at $37.65, losing 8.82% over 77 days. This was the worst trade. The loss stayed under the 10% trail width. The stop ratchets up beneath the highest close, so a trade that rises first and then fades can exit with a smaller loss than the trail width.

Trade three ran from 2024-10-03 at $44.18 to 2024-12-18 at $40.79, losing 7.68% over 76 days. Two losing trades in a row over six months left the rule behind its starting capital for part of 2024.

Trade four is the one that matters: 2025-05-06 at $43.74 to 2026-03-03 at $56.79, a gain of 29.84% over 301 days. It is the best trade and the longest hold. Nearly all of the rule's total return came from it.

Trade five ran from 2026-04-20 at $62.80 to 2026-07-13 at $64.41, a gain of 2.57% over 84 days. The entry price was above the exit price of trade four, so the rule bought back in higher than it had sold.

By exit year, 2023 had one trade and one win, 2024 had two trades and no wins, and 2026 had two trades and two wins. No trade exited in 2025 because the long trade was still open until 2026-03-03. No trade was open at the end of the window.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2023-01-262025-05-08−24.4%8332026-01-15252
2026-02-252026-04-21−10.9%552026-06-0141
2026-06-222026-07-13−9.3%21not yet–

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

Drawdowns of the rule and of the fund

The rule's deepest drawdown was 24.44%. It began at an equity peak on 2023-01-26, reached its low on 2025-05-08 after 833 days and recovered on 2026-01-15, 252 days later. That period holds the two losing 2024 trades and a long flat stretch where the rule was in cash and the equity curve sat below its January 2023 high.

The low point on 2025-05-08 is two days after the entry on 2025-05-06. The rule bought just before the curve turned up, then rode the trade for almost 10 months. The drawdown looks long mostly because the rule was waiting.

The second drawdown ran from 2026-02-25 to a low on 2026-04-21, at 10.91%, and recovered on 2026-06-01. The third began on 2026-06-22, reached 9.34% at its low on 2026-07-13, and had not recovered by the end of the data. The date of that low is the exit date of the last trade, so the position was sold at the bottom of the dip. Since then the rule has been flat.

Buy-and-hold's deepest drawdown was 39.09%, from 2021-02-17 to 2022-10-24, and it took until 2025-09-15 to recover, 1,057 days after the low. Two later drawdowns of 14.01% and 13.29% sat on the 2026 calendar. By any of these measures the rule's maximum drawdown was shallower than holding. The reason is exposure: with the rule out of the fund from 2021 until late 2022, it missed the fall.

The drawdown comparison has a limit. The rule avoided the worst of 2021 and 2022 because it did not trade, and it did not trade because no 20-day burst above 10% appeared. A rule that stays out for two years can show a shallow drawdown for the wrong reason. Judging the rule on that avoidance alone would credit it with timing that the data does not show.

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)2.4%−24.4%$11,4340.27
5 basis points2.3%−24.7%$11,3740.26
10 basis points2.2%−24.9%$11,3240.26

Cost runs

Slippage at 5 basis points per fill brought the CAGR to 2.27%, the maximum drawdown to 24.66% and the final value to $11,374. At 10 basis points the CAGR was 2.19%, the drawdown 24.92% and the final value $11,324. The headline run ended at $11,434. The Sharpe ratio moved from 0.27 to 0.262 and 0.255.

Costs matter little here because the rule trades rarely. Ten fills at a small slippage charge cannot move a result built on 5 round trips by much. The cost drag is a few tens of dollars on each step. For a rule that traded every week the same assumption would be a bigger share of the result.

EEM is liquid. Average daily dollar volume was $1,332,500,625 and median minute volume was 38,144 shares. At that depth a 5 or 10 basis point assumption is plausible for small orders, but the number is an assumption and the test does not measure real fill quality.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules2.4%−24.4%560%$11,434
5% trailing stop1.3%−12.8%743%$10,767
15% trailing stop7.4%−17.1%2100%$15,043
20% return entry0.0%−0.0%0–$10,000

What the three variants say

The trailing stop width has a large effect, and the entry threshold can switch the rule off entirely.

With a 5% trailing stop the rule made 7 round trips with 3 wins, a CAGR of 1.3%, a maximum drawdown of 12.75% and a final value of $10,767. The tighter stop exits sooner. It cut the drawdown, but it also gave up the long run of 2025, and it lost more of the profit to small stop-outs.

With a 15% trailing stop the rule made 2 round trips with 2 wins, a CAGR of 7.37%, a maximum drawdown of 17.15% and a final value of $15,043. This variant ended above buy-and-hold at $14,416 and it had a lower drawdown than both the published rule and holding. The wider stop meant the 2024 entries either did not exit at a loss or did not occur in the same way, and the 2025 trade stayed open.

With a 20% return entry threshold, in place of 10%, the rule made no trades at all. The final value stayed at $10,000 and every other figure was zero. EEM never gained more than 20% over 20 sessions in this window at the open. That variant is useful as a calibration point: the 10% entry was already a threshold that the fund crossed only a handful of times.

The spread from $10,000 to $15,043 across three simple changes shows how sensitive a five-trade result is. The 15% stop looks best, but picking it after seeing these results is a fit to one window. With only 2 round trips, the variant's perfect win rate carries almost no statistical weight. The published 10% stop sits between the two, and nothing in the data says it was chosen for a reason that would survive another period.

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%, with annualized volatility of 19.86%. Its deepest drawdown was 39.82% from 2021-02-17 to 2022-10-24 and the fund did not recover until 2025-09-15. The longest drawdown lasted 1,148 sessions. Calendar returns were -4.3% in 2021, -20.64% in 2022, 9.17% in 2023, 6.39% in 2024, 33.91% in 2025 and 24.37% in 2026 so far.

That shape explains the rule's pattern. A momentum entry needs a quick 10% gain, and EEM produced few of those. The fund moved 0.92% on an average up day and -0.93% on an average down day, with an average intraday range of 1.04%. Daily moves are small. Getting 10% in 20 sessions needs a run of strong days, and these happened in clusters: the best days were 2022-03-16 at 8.12%, 2025-04-09 at 6.91% and 2026-04-08 at 5.47%.

The worst days were 2026-06-05 at -6.52%, 2026-06-23 at -5.65% and 2025-04-04 at -5.53%. A 10% trail is wide against typical daily moves but not against these.

EEM sat above its 200-day average on 66.67% of sessions and crossed that average 31 times. Lag-1 autocorrelation was -0.07. RSI(14) fell below 30 on 27 sessions, and the median 20-day return afterward was 3.65% against a baseline of 0.54%. RSI(2) below 10 occurred on 163 sessions with a median 20-day return of 1.2%. Dips in this fund were followed by modest rebounds more often than trends extended, which suits a mean-reversion rule more than a breakout. The ranking of the 12 rules on EEM agrees: the weekly 7% target led at 11.62% CAGR, RSI mean reversion followed at 9.51% and trend plus trailing stop at 8.85%, while this rule sat 9th at 2.36%.

The fund's correlation to SPY was 0.67 and to QQQ was 0.69, with a beta to SPY of 0.81. Its beta to TLT was 0.12. Its closest relative in the data was QAI at 0.81. Overnight moves contributed a negative share of the return and intraday moves more than all of it, a pattern the tables show as -20.76% overnight and 120.76% intraday. The rule's open-time fills therefore sit on the side of the day where this fund did less of its work.

The rules

Buy after a +10% four-week burst and let a 10% trailing stop manage the exit.

  1. WHEN the market opens · IF not invested AND the 20-day return > +10% · THEN buy with 98% of the sleeve
  2. WHILE invested · a managed trailing stop follows 10% below the position's high-water mark

Momentum entry, trailing-stop exit. A +10% gain over 20 sessions marks a burst of momentum. The template buys the strength and exits on a 10% trailing stop that ratchets up beneath the highest close and never moves down. There is no profit target, so winners run until the trail is hit.

Good for: high-momentum assets where trends extend, such as semiconductor and leveraged tech ETFs.
Watch out: buying strength means buying high; when a burst immediately reverses, the trail exits about 10% below the entry.

How the rule interacts with EEM

The entry is a check at the open: if the 20-day return is above 10% and the rule is flat, it buys with 98% of the sleeve. After that, a managed trailing stop follows 10% below the highest close and never moves down. There is no profit target. Winners run until the trail is hit.

This gives two kinds of outcomes on a fund like EEM. If the fund keeps trending after the burst, as in 2025, the trail keeps the trade open for 301 days. If the burst fades, as in 2024, the trail exits after a decline and the trade loses several percent. The strategy page calls this out: buying strength means buying high, and a burst that reverses exits about 10% below the entry.

Other rules on the same fund fared differently. The weekly profit target on EEM led the table, and RSI mean reversion on EEM came second. Trend plus trailing stop on EEM used a similar exit with a different entry and finished at 8.85%, with a 16.33% drawdown. The golden cross and 200-day regime filter both made 7.76%. The weakest were the EMA 12/26 trend at 0.29%, 3-month momentum at -1.62% and SMA 10/50 trend at -3.89%.

Among the 59 funds, EEM ranked 22nd for this rule. The median CAGR for the rule across all funds was 0%, and the median among broad index funds was 7.35%. VV, VOO and SPY each returned more than 9% with drawdowns near 13%, on 3 round trips each. EEM sits in the middle of the pack. The results at the EEM page put all rules side by side, and the strategy page puts all funds side by side.

The limits are those of a five-trade sample over a single window. The rule beat holding in two of six calendar years and ended well below it. Whether the 29.84% trade repeats is not something this test can say.

Run momentum breakout 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 momentum breakout beat buy-and-hold on EEM?

Over 2021-01-04 to 2026-10-02, momentum breakout on EEM returned 2.4% annualized vs 6.6% for buy-and-hold: it trailed buy-and-hold by 4.2% per year, with a maximum drawdown 14.7 points shallower than holding (24.4% vs 39.1%).

How many trades did it make?

5 completed round trips over 5.7 years (10 fills), with 60% of round trips closing profitably.

How does the trailing stop work in the backtest?

The stop sits 10% below the highest price since entry and only ratchets up. When a bar trades through it, the position sells at the stop, or at the open if the price gaps below it. Trailing-stop exits can be backtested now; deploying them live is not available yet.

Did the 20-day momentum breakout beat buy-and-hold on EEM?

No. The rule returned a CAGR of 2.36% and ended at $11,434, while buy-and-hold returned 6.58% and ended at $14,416 over 2021-01-04 to 2026-10-02. The rule had a shallower maximum drawdown, 24.44% against 39.09%.

How many trades did it make on EEM?

It made 5 closed round trips and 10 fills in about 5.7 years. Three of the five made money. The first entry was on 2022-11-14, so the rule was in cash for all of 2021 and most of 2022.

Which trade drove the result?

The entry on 2025-05-06 at an adjusted $43.74 and exit on 2026-03-03 at $56.79, a gain of 29.84% over 301 days. The other four trades ranged from -8.82% to 2.57%.

What happens with a wider or tighter trailing stop?

A 5% stop gave a CAGR of 1.3% with a drawdown of 12.75% over 7 round trips. A 15% stop gave 7.37% with a drawdown of 17.15% over 2 round trips and a final value of $15,043. Both are small samples.

Why did a 20% entry threshold make no trades?

EEM did not gain 20% over 20 sessions at any open in this window, so the rule never entered and finished at $10,000. The 10% threshold was crossed on only a handful of occasions.

How much did trading costs change the result?

Very little. At 5 basis points of slippage per fill the final value was $11,374 and at 10 basis points it was $11,324, against $11,434 with no costs.

Which strategy did best on EEM?

The weekly 7% target had the highest CAGR on EEM at 11.62%, with a drawdown of 27.4%. RSI mean reversion returned 9.51% with a 14.01% drawdown. This rule ranked 9th of 12 at 2.36%.

Related

20-Day Momentum + Trailing Stop 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.