AvalonQuant Research
Stories & guides
Home › Market Timing Research

Does the XLF 200-day Moving Average Beat Holding XLF?

Source-referenced guide โ€ข Reviewed: โ€ข Source reference
Does the XLF 200-day Moving Average Beat Holding XLF?
AVALONQUANT Editorial Guide

Market Timing Research โ€ข Does the XLF 200-day Moving Average Beat Holding XLF?

๐Ÿ“ธ Historical experiment review EDITORIAL-REVIEW โ€ข 2026-10

๐Ÿ’ก Summary

Investors often ask whether following the XLF 200-day moving average can beat simply holding US financial stocks while avoiding severe crashes. From 1998-12-22 to 2026-11-19, the strategy cut maximum drawdown to -39.96% versus -82.69% for XLF, but produced a lower compound annual growth rate of 3.79% versus 5.95% and a slightly lower Sharpe ratio of 0.33 versus 0.35. The main caveat is that it underperformed XLF in the out-of-sample period starting in 2018-07 and proved sensitive to trading costs across 483 trades.

Key Metrics & Specifications

Test Period 1998-12-22 to 2026-11-19
Strategy CAGR 3.79%
Strategy Max Drawdown -39.96%
Strategy Sharpe 0.33
XLF CAGR 5.95%
XLF Max Drawdown -82.69%
Execution & Costs Signal on the close, fill at the next close; 0.1% per side; doubled-cost CAGR 2.01%
Rules Compute the 200-day simple moving average of US financial stocks (XLF) from daily closes. Hold XLF while the close is above the average. Otherwise hold cash (Treasury bills). Decisions use the close; trades fill at the next day's close.
Out-of-Sample CAGR 5.43% vs XLF 11.27% from 2018-07

What the experiment recorded

RunCAGRMax drawdown
Strategy3.79%-39.96%
XLF5.95%-82.69%
Portfolio value (start = 100) 47 287 527 1998-12-22 2026-11-19
โ— Strategyโ— XLF buy and hold

Sampled historical portfolio values from the experiment export. The plotted observations can omit intervening peaks and troughs; use the reported maximum drawdown above.

1998-12-22 โ€“ 2026-11-19. Export dated 2026-11-21. Historical simulation; future results can differ. Read the underlying experiment.

โšก Interactive Compound Growth Simulator

Adjust initial investment and holding duration to calculate compounded terminal wealth.

CAGR 3.79%
Initial Principal $10,000
$1,000 $100,000
Holding Horizon 10 Years
1 Year 20 Years
Estimated Wealth
$14,506
Compound Gain
+$4,506
Growth Factor
1.45x

* Hypothetical illustration for educational purposes only. Past backtest results do not guarantee future returns.

Research tool

Compare investment strategies

Explore the assumptions and results behind different historical strategies.

Historical results do not guarantee future returns.

What Investors Are Really Asking

Financial stocks can go through deep downturns, so many retail investors wonder whether a simple trend rule can protect capital during prolonged declines without giving up long-term growth. Looking at the XLF 200-day moving average asks a practical trade-off question: how much upside do you sacrifice in exchange for smaller losses?

The appeal is clear on paper, because holding XLF over the full period from 1998-12-22 to 2026-11-19 meant enduring a maximum drawdown of -82.69%. Readers checking this backtest want to know whether stepping aside into cash when the trend breaks actually leaves an investor better off after trading costs and missed rebounds.

How the 200-day Moving Average Rule Works

The strategy calculates the 200-day simple moving average of US financial stocks (XLF) using daily closing prices. When XLF closes above that average, the strategy holds XLF; otherwise, it moves into cash in the form of Treasury bills.

Trading decisions are evaluated at the daily close, and any required trades fill at the next day's close. People use trend-following rules like this to stay invested during sustained uptrends while moving out of the market during extended downtrends, which resulted in the strategy being invested in XLF on 66.66% of days in this test.

What the Backtest Numbers Show

Over the full test from 1998-12-22 to 2026-11-19, the strategy achieved a 3.79% compound annual growth rate and a total multiple of 2.82, trailing the XLF benchmark's 5.95% annual return and 5.01 multiple. Risk-adjusted return was also slightly lower, with a Sharpe ratio of 0.33 for the strategy compared with 0.35 for XLF, though the strategy reduced maximum drawdown from -82.69% to -39.96%.

Splitting the timeline shows the gap widened in recent years. In the earlier in-sample period, the strategy returned 3.09% annually versus 3.74% for XLF. In the later out-of-sample period starting in 2018-07, the strategy returned 5.43% annually with a 0.44 Sharpe ratio, while XLF returned 11.27% with a 0.58 Sharpe ratio.

Trading friction also weighed heavily on results across 483 trades. At the baseline cost of 0.1% per leg, the strategy already lagged holding XLF, and running the same rules with a stress multiplier of 2 cut the annual return to 2.01% and deepened the maximum drawdown to -43.69%.

Where This Approach Struggles

Moving-average rules struggle most in choppy, sideways markets where prices repeatedly cross above and below the 200-day average. Each false breakout triggers a buy and a quick sell, generating 483 trades in this backtest and eroding returns through trading costs and whipsaw losses.

This effect showed up clearly in 2001, the strategy's worst year, when it lost -20.07% compared with a -9.43% decline for XLF. Because decisions wait for the daily close and execute at the next day's close, the rule can also exit late during sudden drops and re-enter after sharp initial rebounds.

This is historical research, not a forecast. Past simulated results do not predict future returns.

โš ๏ธ Risk Considerations

Historical backtests reflect past market regimes and do not guarantee future returns, especially when an out-of-sample stretch such as the period from 2018-07 to 2026-11-19 lags the benchmark by a wide margin. Real-world execution can also face higher slippage, taxes, or delays than the assumed 0.1% per leg cost, which the doubled-cost stress test shows can reduce annual returns to 2.01%.

๐ŸŽฏ Target Audience

This analysis is for retail investors evaluating whether a simple 200-day moving average rule on XLF offers a worthwhile trade-off between drawdown protection and long-term returns.

Frequently Asked Questions (FAQ)

Q. Did the XLF 200-day moving average beat buying and holding XLF?

No. From 1998-12-22 to 2026-11-19, the strategy returned 3.79% annually with a 2.82 multiple, compared with 5.95% annually and a 5.01 multiple for holding XLF, and its Sharpe ratio was 0.33 versus 0.35 for XLF.

Q. How much did the strategy reduce losses during market crashes?

It cut the full-period maximum drawdown to -39.96%, compared with -82.69% for XLF, though its worst single calendar year was 2001 with a -20.07% return versus -9.43% for XLF.

Q. How do trading costs and recent performance affect this strategy?

Across 483 trades, doubling the 0.1% per leg trading cost reduced the annual return from 3.79% to 2.01% and pushed maximum drawdown to -43.69%, while the out-of-sample period starting in 2018-07 saw the strategy return 5.43% annually compared with 11.27% for XLF.

Research tool

Compare investment strategies

Explore the assumptions and results behind different historical strategies.

Historical results do not guarantee future returns.

Related Research & Comparative Analyses

View all →