Learn › Strategies › EMA 12/26 Trend › RINF

EMA 12/26 Trend on RINF

ProShares Inflation Expectations ETF: tracks 30-year breakeven inflation expectations. 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 RINF turned $10,000 into $9,873 (−1.3% total, −0.2% CAGR): it trailed buy-and-hold by 6.8% per year, with a maximum drawdown of 16.1% (buy-and-hold: 13.3%).
−0.2%CAGR
6.6%buy & hold CAGR
−16.1%max drawdown
0.02Sharpe ratio
30round trips
40%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
2021−1.4%14.7%
2022−1.6%8.8%
20230.2%0.2%
20242.0%9.7%
2025−3.2%1.5%
20262.8%3.7%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.2%4.9%−0.4%2.3%−4.1%0.4%−4.0%−1.2%0.2%2.5%−1.9%
2022−2.8%0.0%5.3%5.2%−4.4%−4.4%0.0%3.6%−1.9%4.2%−5.6%0.0%
20230.0%1.1%−4.9%−2.1%−0.1%1.2%1.5%0.0%3.7%3.3%−3.1%0.0%
2024−1.9%0.1%0.1%2.8%0.5%−1.6%−0.9%0.0%0.2%3.0%−1.4%1.1%
20251.2%−1.4%0.5%−2.1%1.2%−0.5%0.2%−0.8%−1.5%−0.1%−0.1%0.2%
20260.3%−0.7%0.1%1.0%1.0%−0.6%1.2%−0.2%1.0%−0.3%––

Every trade

EMA 12/26 trend on RINF made 30 closed round trips and one position still open at the end of the test, an average hold of 41 days, an average winner of 2.20%, an average loser of −1.58%, a profit factor of 0.89, a longest losing streak of 4. It held a position at the close on 63.3% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-16$23.272021-06-21$24.163.8%125
2021-06-29$24.762021-06-30$24.53−0.9%1
2021-07-30$24.442021-08-03$24.12−1.3%4
2021-08-11$24.702021-08-18$24.11−2.4%7
2021-09-01$24.342021-09-22$24.27−0.3%21
2021-09-28$24.912021-12-02$25.120.8%65
2021-12-30$26.112022-01-14$25.10−3.9%15
2022-03-01$25.832022-05-23$27.406.1%83
2022-06-06$29.302022-06-28$27.99−4.5%22
2022-08-18$27.162022-09-26$27.611.7%39
2022-10-17$28.792022-11-23$28.29−1.7%37
2023-02-17$28.092023-03-17$26.99−3.9%28
2023-04-13$28.052023-05-03$27.43−2.2%20
2023-05-16$28.082023-11-17$29.966.7%185
2024-01-19$29.392024-02-02$28.62−2.6%14
2024-02-20$29.052024-06-13$29.822.6%114
2024-07-02$30.242024-07-30$29.95−1.0%28
2024-09-24$29.812024-12-03$30.341.8%70
2024-12-17$30.632025-02-26$30.931.0%71
2025-03-31$30.902025-04-02$30.71−0.6%2
2025-04-25$30.882025-04-29$30.56−1.0%4
2025-05-06$31.012025-08-04$31.030.1%90
2025-08-28$31.552025-09-09$31.10−1.4%12
2025-09-23$31.382025-09-24$31.450.2%1
2025-09-25$31.372025-10-01$31.34−0.1%6
2025-10-10$31.282025-10-14$31.19−0.3%4
2025-11-04$31.272025-11-26$31.24−0.1%22
2025-12-08$31.402026-02-17$31.33−0.2%71
2026-03-19$31.452026-03-26$31.480.1%7
2026-04-08$31.532026-06-22$31.991.5%75
2026-07-15$32.09open–1.8%–

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-05-172023-06-02−16.1%746not yet–
2021-03-292021-04-09−4.0%112021-05-1031
2021-02-172021-02-25−1.6%82021-02-261

Buy-and-hold's deepest drawdown ran from 2022-10-24 to 2023-02-03 and reached −13.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%−16.1%$9,8730.02
5 basis points−0.7%−17.2%$9,584-0.03
10 basis points−1.3%−18.3%$9,301-0.09

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−0.2%−16.1%3040%$9,873
EMA 8/21−1.6%−17.1%4231%$9,142
EMA 20/50−3.3%−27.1%1926%$8,228
EMA 12/50−2.8%−24.1%2733%$8,514

How RINF behaved

MeasureRINF
Data in this test2021-01-04 to 2026-10-02 (1428 sessions)
Total return, buy and hold45.4%
Annualized volatility12.4%
Deepest drawdown−13.5% (2022-10-24 to 2023-02-03)
Up days51.9%
Average daily range0.61%
Average overnight gap0.36%
Correlation to SPY0.13
Correlation to QQQ0.09
Correlation to TLT-0.40
Sessions above the 200-day average82.3%
Crossings of the 200-day average74
Falls of 10% or more from a 20-day high1

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

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on RINF returned −0.2% annualized vs 6.6% for buy-and-hold: it trailed buy-and-hold by 6.8% per year, with a maximum drawdown of 16.1% (buy-and-hold: 13.3%).

How many trades did it make?

30 completed round trips over 5.7 years (61 fills), with 40% 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 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-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.