Learn › Strategies › EMA 12/26 Trend › TBF

EMA 12/26 Trend on TBF

ProShares Short 20+ Year Treasury: -1x daily long-term Treasuries, a rising-rates position. 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 TBF turned $10,000 into $15,225 (52.3% total, 7.6% CAGR): it trailed buy-and-hold by 4.6% per year, with a maximum drawdown of 18.0% (buy-and-hold: 17.6%).
7.6%CAGR
12.2%buy & hold CAGR
−18.0%max drawdown
0.68Sharpe ratio
25round trips
48%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
20213.3%1.7%
202235.9%41.2%
20237.0%2.3%
20240.8%15.2%
2025−6.3%2.1%
20267.3%12.8%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%3.8%5.3%−2.5%−1.8%0.0%0.0%0.0%0.3%−2.6%1.1%0.0%
20220.6%1.2%4.9%10.1%1.6%1.1%0.6%1.2%8.8%6.4%−4.9%0.3%
2023−4.6%2.3%−5.5%−1.4%0.7%0.1%3.1%3.8%9.0%6.1%−5.5%0.0%
2024−2.8%2.8%−3.7%7.4%−4.5%−2.9%−2.6%0.0%0.0%5.7%−1.4%3.6%
20250.8%−2.6%−1.3%−3.6%3.9%−1.0%−1.1%−0.9%−3.2%0.0%−0.4%3.1%
20260.6%−3.0%0.4%1.3%−0.1%−0.3%2.9%−0.3%5.7%0.2%––

Every trade

EMA 12/26 trend on TBF made 25 closed round trips and one position still open at the end of the test, an average hold of 47 days, an average winner of 5.80%, an average loser of −2.35%, a profit factor of 1.97, a longest losing streak of 3. It held a position at the close on 60.0% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-10$14.332021-04-19$15.296.7%68
2021-05-13$15.562021-05-27$15.27−1.9%14
2021-09-29$14.382021-11-01$14.20−1.3%33
2022-01-04$14.292022-07-13$17.4522.1%190
2022-08-19$17.492022-11-21$19.5211.6%94
2022-12-30$19.632023-01-10$18.76−4.4%11
2023-02-13$18.952023-03-16$18.30−3.4%31
2023-04-21$18.712023-04-26$18.48−1.2%5
2023-04-28$18.572023-05-01$18.700.7%3
2023-05-02$18.922023-05-04$18.68−1.3%2
2023-05-09$18.992023-06-29$19.412.2%51
2023-06-30$19.462023-11-10$22.5716.0%133
2024-01-19$21.372024-03-08$20.94−2.0%49
2024-03-18$21.712024-05-17$22.061.6%60
2024-05-30$22.632024-06-05$21.74−3.9%6
2024-07-05$21.942024-07-08$21.91−0.1%3
2024-07-25$22.092024-07-31$21.53−2.5%6
2024-10-03$20.962024-12-04$22.085.3%62
2024-12-16$22.632025-02-06$22.830.9%52
2025-03-28$22.952025-04-02$22.22−3.2%5
2025-04-10$23.412025-06-25$23.661.1%76
2025-07-15$24.002025-08-04$23.41−2.5%20
2025-08-22$23.792025-09-08$23.13−2.8%17
2025-11-10$23.122026-02-13$23.160.2%95
2026-03-13$23.882026-06-15$24.181.3%94
2026-07-09$24.64open–8.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
2022-10-242023-05-11−18.0%1992023-10-03145
2023-10-192025-11-26−14.7%769not yet–
2021-03-182021-10-27−7.7%2232022-03-14138

Buy-and-hold's deepest drawdown ran from 2023-10-19 to 2023-12-27 and reached −17.6%.

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)7.6%−18.0%$15,2250.68
5 basis points7.1%−18.4%$14,8500.64
10 basis points6.7%−18.9%$14,4870.60

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules7.6%−18.0%2548%$15,225
EMA 8/216.9%−17.2%3238%$14,683
EMA 20/504.9%−17.6%1338%$13,189
EMA 12/504.7%−17.1%1638%$13,034

How TBF behaved

MeasureTBF
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold96.9%
Annualized volatility15.3%
Deepest drawdown−17.8% (2023-10-19 to 2023-12-27)
Up days50.2%
Average daily range0.93%
Average overnight gap0.55%
Correlation to SPY-0.07
Correlation to QQQ-0.09
Correlation to TLT-1.00
Sessions above the 200-day average78.8%
Crossings of the 200-day average55
Falls of 10% or more from a 20-day high2

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

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on TBF returned 7.6% annualized vs 12.2% for buy-and-hold: it trailed buy-and-hold by 4.6% per year, with a maximum drawdown of 18.0% (buy-and-hold: 17.6%).

How many trades did it make?

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