Learn › Strategies › EMA 12/26 Trend › ROM

EMA 12/26 Trend on ROM

ProShares Ultra Technology: 2x daily leveraged technology sector. 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 ROM turned $10,000 into $25,750 (157.5% total, 17.9% CAGR): it trailed buy-and-hold by 12.3% per year, with a maximum drawdown 24.3 points shallower than holding (42.5% vs 66.8%).
17.9%CAGR
30.2%buy & hold CAGR
−42.5%max drawdown
0.66Sharpe ratio
23round trips
39%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
20217.3%81.7%
2022−30.0%−63.0%
202380.7%125.8%
20247.6%31.1%
202513.8%35.5%
202655.0%75.0%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%−11.0%−4.1%3.4%−11.1%15.2%7.6%9.8%−10.5%3.8%5.9%2.2%
2022−9.0%0.0%0.5%−11.5%0.0%0.0%5.5%−9.0%0.0%0.0%3.4%−12.8%
20236.8%0.0%24.3%−1.1%17.1%11.4%4.2%−9.7%−8.3%0.3%12.9%7.8%
20244.3%8.7%0.8%−1.5%2.9%15.0%−9.5%−6.2%−8.4%−3.7%9.4%−1.4%
2025−14.0%−6.9%0.0%0.0%13.8%19.6%6.8%−1.0%14.7%12.4%−14.2%−10.7%
2026−8.8%−4.8%0.0%24.3%41.6%−2.4%−7.2%−1.9%9.4%4.1%––

Every trade

EMA 12/26 trend on ROM made 23 closed round trips and one position still open at the end of the test, an average hold of 55 days, an average winner of 29.12%, an average loser of −8.67%, a profit factor of 1.85, a longest losing streak of 3. It held a position at the close on 62.3% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-10$41.512021-03-04$35.31−14.9%22
2021-04-06$40.822021-05-12$37.58−7.9%36
2021-05-28$41.672021-09-29$50.7221.7%124
2021-10-20$56.212022-01-07$57.472.2%79
2022-03-28$49.462022-04-12$43.87−11.3%15
2022-07-22$33.322022-08-31$31.96−4.1%40
2022-11-16$26.942022-12-19$24.22−10.1%33
2023-01-23$25.882023-08-10$42.1262.8%199
2023-09-05$45.022023-09-18$41.20−8.5%13
2023-10-18$40.872023-10-19$41.010.3%1
2023-11-07$43.212024-04-09$59.5837.9%154
2024-05-14$58.702024-07-25$62.927.2%72
2024-08-22$68.582024-09-04$56.95−17.0%13
2024-09-20$64.842025-01-03$69.747.6%105
2025-01-07$73.752025-01-08$70.50−4.4%1
2025-01-24$74.842025-01-28$66.78−10.8%4
2025-02-14$72.262025-02-26$67.15−7.1%12
2025-05-05$55.572025-11-19$89.3260.7%198
2025-12-09$99.092025-12-18$91.57−7.6%9
2025-12-26$97.922026-01-21$92.30−5.7%26
2026-01-28$100.542026-02-04$89.00−11.5%7
2026-04-13$89.512026-07-09$144.7061.7%87
2026-07-10$144.642026-07-14$143.88−0.5%4
2026-08-10$147.92open–12.1%–

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
2024-07-102025-02-25−42.5%2302025-10-06223
2025-10-292026-02-04−35.1%982026-05-1499
2021-12-272022-12-19−32.8%3572023-05-26158

Buy-and-hold's deepest drawdown ran from 2021-12-27 to 2022-11-03 and reached −66.8%.

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)17.9%−42.5%$25,7500.66
5 basis points17.4%−42.8%$25,1420.65
10 basis points17.0%−43.0%$24,5870.63

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules17.9%−42.5%2339%$25,750
EMA 8/2117.2%−42.1%3342%$24,848
EMA 20/5014.1%−40.6%1338%$21,290
EMA 12/5013.2%−39.5%2040%$20,344

How ROM behaved

MeasureROM
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold381.1%
Annualized volatility52.1%
Deepest drawdown−67.6% (2021-12-27 to 2022-11-03)
Up days55.9%
Average daily range3.41%
Average overnight gap1.41%
Correlation to SPY0.90
Correlation to QQQ0.97
Correlation to TLT0.07
Sessions above the 200-day average70.7%
Crossings of the 200-day average36
Falls of 10% or more from a 20-day high53

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

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on ROM returned 17.9% annualized vs 30.2% for buy-and-hold: it trailed buy-and-hold by 12.3% per year, with a maximum drawdown 24.3 points shallower than holding (42.5% vs 66.8%).

How many trades did it make?

23 completed round trips over 5.7 years (47 fills), with 39% 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 ROM12 templates compared RSI(14) Mean Reversion on ROMsame ETF, different rulesRSI(2) Dip Snapback on ROMsame 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.