Learn › Strategies › EMA 12/26 Trend › VXZ

EMA 12/26 Trend on VXZ

iPath Series B S&P 500 VIX Mid-Term Futures ETN: mid-curve VIX futures in ETN form. 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 VXZ turned $10,000 into $5,037 (−49.6% total, −11.3% CAGR): it beat buy-and-hold by 3.8% per year, with a maximum drawdown 12.7 points shallower than holding (53.7% vs 66.4%).
−11.3%CAGR
−15.1%buy & hold CAGR
−53.7%max drawdown
-0.46Sharpe ratio
29round trips
17%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
2021−10.8%−18.2%
2022−10.6%0.6%
2023−19.0%−42.6%
2024−21.1%−11.8%
2025−2.9%5.6%
20261.6%−13.9%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%2.1%−4.8%0.0%0.0%0.0%0.7%−2.5%2.2%−6.7%5.8%−7.3%
2022−2.7%−1.2%−1.7%7.0%−2.5%−5.9%−2.4%0.0%4.5%−5.5%0.0%0.0%
20230.0%0.0%−0.6%−1.9%−5.2%0.0%0.0%−3.7%0.0%−0.7%−8.3%0.0%
20240.0%0.0%−2.2%−2.8%0.0%0.0%−0.5%2.0%−6.0%−2.9%−7.0%−3.7%
2025−2.0%5.0%5.2%13.2%−11.0%−2.7%−2.2%0.0%0.0%−3.3%−3.0%−0.2%
20260.0%1.8%9.3%−8.7%0.0%0.0%0.0%0.0%0.0%0.0%––

Every trade

EMA 12/26 trend on VXZ made 29 closed round trips, an average hold of 24 days, an average winner of 3.60%, an average loser of −3.57%, a profit factor of 0.17, a longest losing streak of 9. It held a position at the close on 34.0% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-10$135.682021-03-16$131.72−2.9%34
2021-07-21$105.602021-08-11$103.69−1.8%21
2021-09-14$105.782021-10-15$100.76−4.8%31
2021-11-23$104.762021-12-30$102.60−2.1%37
2022-01-26$105.442022-02-02$99.56−5.6%7
2022-02-22$106.082022-03-28$105.96−0.1%34
2022-04-18$110.322022-06-06$113.923.3%49
2022-06-14$125.882022-07-08$116.68−7.3%24
2022-09-16$114.762022-10-31$113.28−1.3%45
2023-03-14$91.962023-04-12$89.60−2.6%29
2023-05-01$91.842023-05-02$90.88−1.1%1
2023-05-04$93.642023-05-12$89.61−4.3%8
2023-08-23$70.522023-08-29$67.84−3.8%6
2023-10-04$70.522023-11-07$64.00−9.3%34
2024-03-12$55.862024-03-27$54.60−2.3%15
2024-04-08$56.602024-04-25$55.00−2.8%17
2024-07-22$50.202024-08-21$50.971.5%30
2024-09-05$54.332024-09-20$50.97−6.2%15
2024-10-01$52.662024-10-21$51.10−3.0%20
2024-11-04$53.862024-11-07$50.00−7.2%3
2024-12-19$52.452025-01-24$49.70−5.2%36
2025-01-28$50.152025-01-29$49.89−0.5%1
2025-02-10$50.582025-02-11$50.850.5%1
2025-02-13$50.132025-05-13$55.6411.0%89
2025-06-16$59.552025-06-27$57.90−2.8%11
2025-07-23$59.142025-07-24$57.78−2.3%1
2025-10-16$56.972025-10-27$55.08−3.3%11
2025-11-04$58.182025-12-03$56.23−3.4%29
2026-02-06$54.172026-04-14$55.081.7%67

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-02-222026-02-09−53.7%1813not yet–
2021-02-182021-02-19−0.5%12021-02-223
2021-02-102021-02-11−0.3%12021-02-165

Buy-and-hold's deepest drawdown ran from 2021-01-29 to 2026-09-29 and reached −66.4%.

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)−11.3%−53.7%$5,037-0.46
5 basis points−11.7%−55.1%$4,886-0.49
10 basis points−12.2%−56.3%$4,749-0.51

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−11.3%−53.7%2917%$5,037
EMA 8/21−12.0%−56.9%3727%$4,789
EMA 20/50−14.3%−63.6%1911%$4,130
EMA 12/50−12.7%−56.7%2313%$4,576

How VXZ behaved

MeasureVXZ
Data in this test2021-01-04 to 2026-10-02 (1443 sessions)
Total return, buy and hold−64.1%
Annualized volatility28.6%
Deepest drawdown−68.3% (2021-01-29 to 2026-09-29)
Up days45.1%
Average daily range1.86%
Average overnight gap0.79%
Correlation to SPY-0.74
Correlation to QQQ-0.68
Correlation to TLT-0.01
Sessions above the 200-day average31.3%
Crossings of the 200-day average62
Falls of 10% or more from a 20-day high35

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

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on VXZ returned −11.3% annualized vs −15.1% for buy-and-hold: it beat buy-and-hold by 3.8% per year, with a maximum drawdown 12.7 points shallower than holding (53.7% vs 66.4%).

How many trades did it make?

29 completed round trips over 5.7 years (58 fills), with 17% 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 VXZ12 templates compared RSI(14) Mean Reversion on VXZsame ETF, different rulesRSI(2) Dip Snapback on VXZsame 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.