Learn › Strategies › EMA 12/26 Trend › REW

EMA 12/26 Trend on REW

ProShares UltraShort Technology: -2x daily 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 REW turned $10,000 into $3,097 (−69.0% total, −18.5% CAGR): it beat buy-and-hold by 17.6% per year, with a maximum drawdown 21.0 points shallower than holding (71.7% vs 92.7%).
−18.5%CAGR
−36.1%buy & hold CAGR
−71.7%max drawdown
-0.38Sharpe ratio
22round trips
18%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
2021−23.6%−54.1%
2022−9.1%62.3%
2023−27.6%−59.4%
2024−18.9%−30.8%
2025−11.2%−38.1%
2026−14.6%−43.4%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%−6.5%0.0%−10.4%0.0%0.0%0.0%2.9%−11.4%0.0%0.0%
2022−0.3%7.3%−4.5%13.0%−0.4%−5.6%−18.9%0.0%24.0%−10.6%−9.7%2.9%
2023−10.8%0.0%0.0%0.0%0.0%0.0%0.0%−6.6%5.0%−7.7%−10.3%0.0%
20240.0%0.0%0.0%9.0%−9.9%0.0%−3.2%−6.3%−8.9%0.0%0.0%0.0%
2025−8.3%1.0%17.6%−11.1%0.0%0.0%0.0%0.0%0.0%0.0%1.1%−9.3%
20260.0%−3.3%7.5%−12.9%0.0%0.0%3.4%−8.7%0.0%0.0%––

Every trade

EMA 12/26 trend on REW made 22 closed round trips, an average hold of 29 days, an average winner of 5.90%, an average loser of −7.58%, a profit factor of 0.16, a longest losing streak of 9. It held a position at the close on 29.6% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-03-05$185.702021-03-18$173.30−6.7%13
2021-05-13$165.502021-05-26$147.77−10.7%13
2021-09-29$116.382021-10-19$105.85−9.1%20
2022-01-10$103.182022-03-23$105.582.3%72
2022-04-14$112.912022-06-08$125.0410.7%55
2022-06-13$153.572022-07-12$134.64−12.3%29
2022-07-13$146.442022-07-20$129.51−11.6%7
2022-09-01$130.512022-11-14$130.710.1%74
2022-12-22$142.372023-01-18$130.28−8.5%27
2023-08-10$72.402023-09-01$66.88−7.6%22
2023-09-19$73.352023-10-16$72.70−0.9%27
2023-10-23$78.902023-11-07$69.52−11.9%15
2024-04-11$49.732024-05-13$48.81−1.9%32
2024-07-26$44.682024-08-20$40.42−9.5%25
2024-09-06$46.742024-09-16$42.46−9.2%10
2025-01-10$38.072025-01-24$34.61−9.1%14
2025-01-30$37.602025-02-11$36.23−3.6%12
2025-02-27$37.322025-04-28$41.1910.4%60
2025-11-20$21.502025-12-05$20.48−4.7%15
2025-12-18$22.002025-12-23$21.15−3.9%5
2026-02-05$23.492026-04-10$21.20−9.8%64
2026-07-21$12.532026-08-06$11.82−5.7%16

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-082026-08-04−71.7%1975not yet–
2021-03-042021-03-05−2.2%12021-03-083

Buy-and-hold's deepest drawdown ran from 2021-01-06 to 2026-10-02 and reached −92.7%.

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)−18.5%−71.7%$3,097-0.38
5 basis points−18.8%−72.3%$3,030-0.39
10 basis points−19.1%−72.9%$2,960-0.40

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−18.5%−71.7%2218%$3,097
EMA 8/21−15.4%−70.7%2818%$3,815
EMA 20/50−14.7%−68.2%1020%$4,014
EMA 12/50−16.2%−70.6%157%$3,616

How REW behaved

MeasureREW
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold−95.0%
Annualized volatility51.9%
Deepest drawdown−95.0% (2021-01-06 to 2026-10-02)
Up days44.8%
Average daily range3.16%
Average overnight gap1.51%
Correlation to SPY-0.90
Correlation to QQQ-0.96
Correlation to TLT-0.07
Sessions above the 200-day average19.2%
Crossings of the 200-day average38
Falls of 10% or more from a 20-day high73

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

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on REW returned −18.5% annualized vs −36.1% for buy-and-hold: it beat buy-and-hold by 17.6% per year, with a maximum drawdown 21.0 points shallower than holding (71.7% vs 92.7%).

How many trades did it make?

22 completed round trips over 5.7 years (44 fills), with 18% 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 REW12 templates compared RSI(14) Mean Reversion on REWsame ETF, different rulesRSI(2) Dip Snapback on REWsame 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.