LearnStrategiesEMA 12/26 Trend › RINF

EMA 12/26 Trend on RINF

ProShares Inflation Expectations ETF — tracks 30-year breakeven inflation expectations. Backtest 2021-01-04 → 2026-07-17, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: EMA 12/26 trend on RINF turned $10,000 into $9,810 (−1.9% total, −0.3% CAGR) — it trailed buy-and-hold by 6.9% per year, with a maximum drawdown of 16.0% (buy-and-hold: 13.3%).
−0.3%CAGR
6.6%buy & hold CAGR
−16.0%max drawdown
0.01Sharpe ratio
30round trips
37%win rate
EMA 12/26 trend   buy & hold — $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
2021−1.2%14.7%
2022−1.6%8.8%
20230.2%0.2%
20243.6%9.7%
2025−3.2%1.4%
20260.5%1.9%

The rules

Hold while the 12-day exponential average is above the 26-day — the MACD's skeleton 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 heart of the MACD indicator. Exponential averages weight recent days more heavily than simple averages, so this crossover reacts faster than an SMA pair of the same length. As a plain long/flat switch it turns the MACD's core idea into a position you can actually 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 RINF yourself — free →

Build it from blocks (or type it in English), backtest it on 5.5 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 RINF?

Over 2021-01-04–2026-07-17, EMA 12/26 trend on RINF returned −0.3% annualized vs 6.6% for buy-and-hold — it trailed buy-and-hold by 6.9% per year, with a maximum drawdown of 16.0% (buy-and-hold: 13.3%).

How many trades did it make?

30 completed round trips over 5.5 years (61 fills), with 37% of round trips closing profitably.

Is this the same as trading MACD signals?

It's 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 — simpler, and fully expressible in blocks.

Related

EMA 12/26 Trend — all 59 ETFsfull results table All strategies on RINF12 templates compared RSI(14) Mean Reversion on RINFsame ETF, different rulesRSI(2) Dip Snapback on RINFsame ETF, different rules

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-07-17, $10,000 starting capital, no margin, fees and slippage not modeled) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.