Learn › Strategies › EMA 12/26 Trend › VV

EMA 12/26 Trend on VV

Vanguard Large-Cap ETF: broad US large-cap exposure beyond just the S&P 500. 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 VV turned $10,000 into $17,138 (71.4% total, 9.8% CAGR): it trailed buy-and-hold by 4.4% per year, with a maximum drawdown 11.8 points shallower than holding (13.4% vs 25.2%).
9.8%CAGR
14.3%buy & hold CAGR
−13.4%max drawdown
0.94Sharpe ratio
20round trips
55%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
202110.6%28.3%
2022−8.9%−19.4%
202316.0%26.8%
202416.9%24.7%
202519.7%17.8%
20264.7%13.5%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%−3.3%1.7%5.2%0.5%2.6%2.3%2.9%−2.9%2.1%−1.0%0.4%
2022−3.8%0.0%1.1%−3.1%0.0%0.0%3.1%−3.9%−0.7%−0.2%5.3%−6.5%
20233.4%−2.3%0.9%1.4%0.8%6.4%3.3%−3.7%−3.4%0.0%4.2%4.5%
20241.6%5.1%3.0%−3.3%2.1%3.6%1.1%−2.0%2.0%−0.7%5.9%−2.4%
20250.0%−1.0%0.0%0.0%4.8%5.1%2.4%1.9%3.6%2.4%−1.4%0.6%
20261.1%−3.5%0.0%4.3%5.3%−1.0%−1.1%0.8%−1.9%0.9%––

Every trade

EMA 12/26 trend on VV made 20 closed round trips and one position still open at the end of the test, an average hold of 73 days, an average winner of 7.23%, an average loser of −2.08%, a profit factor of 4.46, a longest losing streak of 5. It held a position at the close on 70.3% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-02-10$171.192021-03-08$166.50−2.7%26
2021-03-11$170.132021-09-21$191.1212.3%194
2021-10-19$196.652021-12-06$198.170.8%48
2021-12-09$203.652021-12-21$199.87−1.9%12
2021-12-22$201.542022-01-18$198.72−1.4%27
2022-03-23$193.542022-04-19$189.48−2.1%27
2022-07-22$172.302022-09-01$169.53−1.6%41
2022-10-31$167.562022-12-20$164.46−1.9%50
2023-01-13$170.542023-03-01$171.990.8%47
2023-03-31$176.642023-08-17$193.709.7%139
2023-09-01$199.172023-09-21$192.14−3.5%20
2023-11-09$193.542024-04-17$225.2416.4%160
2024-05-08$229.542024-08-02$239.064.2%86
2024-08-20$249.862025-01-02$265.856.4%135
2025-01-22$273.832025-02-27$269.53−1.6%36
2025-05-05$254.932025-11-20$307.5120.6%199
2025-12-01$310.352026-02-06$310.800.1%67
2026-02-10$316.972026-02-13$310.41−2.1%3
2026-04-14$314.522026-07-28$339.197.8%105
2026-08-04$349.622026-09-17$350.940.4%44
2026-09-22$357.21open–−0.7%–

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-11-162022-11-03−13.4%3522023-07-18257
2024-07-162024-09-06−8.3%522024-11-0661
2023-07-312023-11-09−7.9%1012023-12-1435

Buy-and-hold's deepest drawdown ran from 2021-12-27 to 2022-10-12 and reached −25.2%.

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)9.8%−13.4%$17,1380.94
5 basis points9.4%−13.8%$16,7730.91
10 basis points9.0%−14.3%$16,4300.87

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules9.8%−13.4%2055%$17,138
EMA 8/219.0%−15.7%2748%$16,391
EMA 20/507.9%−21.4%1145%$15,501
EMA 12/508.3%−18.8%1443%$15,807

How VV behaved

MeasureVV
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold121.2%
Annualized volatility16.7%
Deepest drawdown−25.6% (2021-12-27 to 2022-10-12)
Up days54.0%
Average daily range1.13%
Average overnight gap0.44%
Correlation to SPY1.00
Correlation to QQQ0.95
Correlation to TLT0.08
Sessions above the 200-day average76.8%
Crossings of the 200-day average26
Falls of 10% or more from a 20-day high14

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

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on VV returned 9.8% annualized vs 14.3% for buy-and-hold: it trailed buy-and-hold by 4.4% per year, with a maximum drawdown 11.8 points shallower than holding (13.4% vs 25.2%).

How many trades did it make?

20 completed round trips over 5.7 years (41 fills), with 55% 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 VV12 templates compared RSI(14) Mean Reversion on VVsame ETF, different rulesRSI(2) Dip Snapback on VVsame 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.