Learn › Strategies › EMA 12/26 Trend › IWM

EMA 12/26 Trend on IWM

iShares Russell 2000 ETF: US small caps, with higher beta and choppier trends than the S&P 500. 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 IWM turned $10,000 into $10,106 (1.1% total, 0.2% CAGR): it trailed buy-and-hold by 7.3% per year, with a maximum drawdown of 34.0% (buy-and-hold: 31.3%).
0.2%CAGR
7.5%buy & hold CAGR
−34.0%max drawdown
0.09Sharpe ratio
25round trips
36%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%15.7%
2022−15.9%−20.1%
202320.1%16.4%
2024−6.5%11.1%
202521.9%12.4%
20268.9%14.9%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%−5.0%0.5%−4.2%−3.2%1.0%−2.2%0.1%−5.8%0.6%−2.9%0.0%
2022−3.1%0.0%−0.4%−3.6%0.0%−7.8%2.5%−1.9%−0.1%2.0%2.1%−6.4%
20234.2%−1.7%−0.8%0.0%−2.5%7.8%6.0%−5.9%0.0%0.0%0.8%12.0%
2024−3.9%5.5%3.5%−5.1%1.3%−2.8%5.1%−6.9%−3.9%−1.4%10.9%−7.3%
2025−0.3%−0.6%0.0%0.0%4.1%5.4%1.6%7.0%3.1%1.7%−1.8%0.0%
20265.3%0.7%−3.8%5.6%4.3%3.6%−2.9%−2.9%−0.8%0.0%––

Every trade

EMA 12/26 trend on IWM made 25 closed round trips, an average hold of 48 days, an average winner of 6.57%, an average loser of −3.34%, a profit factor of 1.02, a longest losing streak of 10. It held a position at the close on 57.8% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-10$215.102021-03-26$204.98−4.7%44
2021-04-07$209.522021-04-21$202.56−3.3%14
2021-04-26$212.712021-05-12$203.56−4.3%16
2021-06-01$212.692021-07-09$210.00−1.3%38
2021-08-31$211.522021-09-21$205.24−3.0%21
2021-09-28$211.952021-10-01$207.10−2.3%3
2021-10-15$214.632021-11-30$208.03−3.1%46
2022-01-05$212.322022-01-06$205.55−3.2%1
2022-03-22$194.642022-04-11$186.77−4.0%20
2022-06-08$179.062022-06-13$164.84−7.9%5
2022-07-22$172.932022-09-02$173.580.4%42
2022-10-28$170.892022-12-16$166.56−2.5%49
2023-01-12$175.422023-03-09$178.381.7%56
2023-05-23$171.182023-08-17$179.634.9%86
2023-11-16$172.322024-04-15$194.0512.6%151
2024-05-08$197.632024-06-11$194.55−1.6%34
2024-07-12$207.612024-08-08$198.90−4.2%27
2024-08-22$210.432024-09-10$203.61−3.2%19
2024-09-17$213.882024-12-19$219.412.6%93
2025-01-28$223.002025-02-13$220.72−1.0%16
2025-02-19$221.392025-02-21$221.710.1%2
2025-05-06$193.702025-11-13$239.3123.6%191
2025-12-02$244.522026-03-06$249.492.0%94
2026-04-10$261.362026-07-30$290.6811.2%111
2026-08-05$301.932026-09-02$290.61−3.8%28

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-03-152023-05-31−34.0%8072026-05-061071
2021-02-092021-03-04−7.2%232021-03-117
2026-06-302026-09-01−6.7%63not yet–

Buy-and-hold's deepest drawdown ran from 2021-11-08 to 2022-06-16 and reached −31.3%.

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.2%−34.0%$10,1060.09
5 basis points−0.3%−34.8%$9,8310.06
10 basis points−0.8%−35.7%$9,5740.02

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules0.2%−34.0%2536%$10,106
EMA 8/210.5%−37.4%3642%$10,301
EMA 20/50−1.8%−32.3%1833%$9,010
EMA 12/50−0.9%−34.6%2030%$9,500

How IWM behaved

MeasureIWM
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold55.8%
Annualized volatility22.4%
Deepest drawdown−31.9% (2021-11-08 to 2022-06-16)
Up days51.7%
Average daily range1.75%
Average overnight gap0.61%
Correlation to SPY0.84
Correlation to QQQ0.75
Correlation to TLT0.08
Sessions above the 200-day average63.3%
Crossings of the 200-day average34
Falls of 10% or more from a 20-day high26

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 IWM 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 IWM?

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on IWM returned 0.2% annualized vs 7.5% for buy-and-hold: it trailed buy-and-hold by 7.3% per year, with a maximum drawdown of 34.0% (buy-and-hold: 31.3%).

How many trades did it make?

25 completed round trips over 5.7 years (50 fills), with 36% 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 IWM12 templates compared RSI(14) Mean Reversion on IWMsame ETF, different rulesRSI(2) Dip Snapback on IWMsame 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.