AvalonQuant Research
Stories & guides
Home › Market Timing Research

XLV Golden Cross Backtest: Does It Beat Holding XLV?

Source-referenced guide โ€ข Reviewed: โ€ข Source reference
XLV Golden Cross Backtest: Does It Beat Holding XLV?
AVALONQUANT Editorial Guide

Market Timing Research โ€ข XLV Golden Cross Backtest: Does It Beat Holding XLV?

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

๐Ÿ’ก Summary

Does the XLV golden cross outperform holding XLV? In this historical backtest, the strategy returned 4.18% annually, compared with 8.89% for XLV. The strategy also had a deeper maximum drawdown, and historical results do not establish future performance.

Key Metrics & Specifications

Test Period 1998-12-22 to 2026-11-23
Strategy CAGR 4.18%
Strategy Max Drawdown -43.92%
Strategy Sharpe 0.37
XLV CAGR 8.89%
XLV Max Drawdown -39.17%
Execution & Costs Signal on the close, fill at the next close; 0.1% per side; doubled-cost CAGR 3.84%
Rules Compute the 50-day and 200-day simple moving averages of US health care stocks (XLV). Hold XLV while the 50-day average is above the 200-day average. Otherwise hold cash (Treasury bills). Decisions use the close; trades fill at the next day's close.
Out-of-Sample CAGR 4.00% vs XLV 10.93% from 2018-07

What the experiment recorded

RunCAGRMax drawdown
Strategy4.18%-43.92%
XLV8.89%-39.17%
Portfolio value (start = 100) 70 601 1131 1998-12-22 2026-11-23
โ— Strategyโ— XLV 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-23. Export dated 2026-11-25. 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 4.18%
Initial Principal $10,000
$1,000 $100,000
Holding Horizon 10 Years
1 Year 20 Years
Estimated Wealth
$15,061
Compound Gain
+$5,061
Growth Factor
1.51x

* 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.

The question behind the backtest

The question is whether a moving-average rule can improve on holding XLV by moving to cash during periods when the trend is weak. This backtest compares the rule with XLV over the same historical period.

How the rule works

The strategy holds XLV when its 50-day simple moving average is above its 200-day simple moving average. Otherwise, it holds cash in Treasury bills. Decisions use the close, and trades fill at the next day's close.

People use moving averages to describe trends and apply a consistent rule for moving between an asset and cash. The rule responds to past prices, so it can change positions after a trend has already shifted.

What the results say

Across the whole period, the strategy had a 4.18% annualized return, compared with 8.89% for XLV. Its maximum drawdown was -43.92%, compared with -39.17% for XLV, and its Sharpe ratio was 0.37 versus 0.57.

In the out-of-sample period starting 2018-07, the strategy returned 4.00% annually, compared with 10.93% for XLV. Its Sharpe ratio was 0.33, compared with 0.68 for XLV.

The standard run used a trading cost of 0.1% per leg and recorded 91 trades. With doubled trading costs, the strategy's annualized return was 3.84% and its maximum drawdown was -44.37%.

Where the approach struggles

Moving-average signals can lag price changes and may cause repeated trades when prices fluctuate around a threshold. Time in cash can also mean missing gains when XLV rises.

The strategy was invested outside cash on 68.02% of days. In its worst year, 2001, it returned -20.98%, while XLV returned -0.83%.

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

โš ๏ธ Risk Considerations

This is a historical simulation, and its results do not establish how the rule will perform in the future. Trading costs, delayed signals, and periods spent in cash can affect results, while the strategy can still experience substantial losses.

๐ŸŽฏ Target Audience

This page is for retail investors who want to understand how a moving-average rule historically compared with holding XLV.

Frequently Asked Questions (FAQ)

Q. Did the XLV golden cross beat holding XLV?

No. Over the whole period, the strategy's annualized return was 4.18%, compared with 8.89% for XLV.

Q. Did the strategy reduce the maximum drawdown?

No. Its maximum drawdown was -43.92%, compared with -39.17% for XLV.

Q. What happened when trading costs were doubled?

The strategy's annualized return was 3.84%, and its maximum drawdown was -44.37%.

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 →