AvalonQuant Research
Stories & guides
Home › Market Timing Research

Does the XLK Golden Cross Beat Holding XLK?

Source-referenced guide • Reviewed: • Source reference
Does the XLK Golden Cross Beat Holding XLK?
AVALONQUANT Editorial Guide

Market Timing Research • Does the XLK Golden Cross Beat Holding XLK?

📸 Historical experiment review EDITORIAL-REVIEW • 2026-10

💡 Summary

Does the XLK golden cross outperform holding XLK? Over the full backtest, the strategy had a 10.04% CAGR versus 9.48% for XLK, with a shallower maximum drawdown. In the out-of-sample period, however, its CAGR was lower than XLK's.

Key Metrics & Specifications

Test Period 1998-12-22 to 2026-11-20
Strategy CAGR 10.04%
Strategy Max Drawdown -31.15%
Strategy Sharpe 0.63
XLK CAGR 9.48%
XLK Max Drawdown -82.05%
Execution & Costs Signal on the close, fill at the next close; 0.1% per side; doubled-cost CAGR 9.77%
Rules Compute the 50-day and 200-day simple moving averages of US technology stocks (XLK). Hold XLK 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 16.31% vs XLK 19.75% from 2018-07

What the experiment recorded

RunCAGRMax drawdown
Strategy10.04%-31.15%
XLK9.48%-82.05%
Portfolio value (start = 100) 43 1043 2043 1998-12-22 2026-11-20
● Strategy● XLK 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-20. Export dated 2026-11-23. 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 10.04%
Initial Principal $10,000
$1,000 $100,000
Holding Horizon 10 Years
1 Year 20 Years
Estimated Wealth
$26,032
Compound Gain
+$16,032
Growth Factor
2.60x

* 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

Can a moving-average rule reduce the depth of losses in US technology stocks while keeping pace with holding XLK?

This backtest compares the rule with XLK over the full historical period and examines how it performed on data outside the initial sample.

How the rule works

The strategy holds XLK 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 follow trends and reduce exposure when a shorter-term average falls below a longer-term average.

What the results show

From 1998-12-22 to 2026-11-20, the strategy's CAGR was 10.04%, compared with 9.48% for XLK. Its maximum drawdown was -31.15%, versus -82.05% for XLK, and its Sharpe ratio was 0.63 versus 0.48.

In the out-of-sample period starting 2018-07, the strategy's CAGR was 16.31%, below XLK's 19.75%. Its Sharpe ratio was 0.77, compared with 0.80 for XLK.

With trading costs doubled from 0.1% per leg, the strategy's CAGR was 9.77% and its maximum drawdown was -31.15%. The backtest recorded 67 trades.

Where the approach struggles

Moving averages respond to past prices, so the rule can leave the strategy in cash during a recovery or invested during a decline. Frequent changes in direction can also generate trades and costs.

The strategy was invested outside cash on 70.36% of days. Its worst calendar year was 2008, when it returned -12.25%, compared with -41.51% for XLK.

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

⚠️ Risk Considerations

Historical backtests do not guarantee future results, and market conditions can differ from those in the sample. Results also depend on the stated trading assumptions and costs, while the out-of-sample comparison shows that the strategy can lag XLK.

🎯 Target Audience

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

Frequently Asked Questions (FAQ)

Q. What is the XLK golden cross rule?

It holds XLK when its 50-day simple moving average is above its 200-day simple moving average and otherwise holds Treasury bills.

Q. Did the strategy beat XLK in the backtest?

Over the full period, its CAGR was 10.04% versus 9.48% for XLK. In the out-of-sample period, its CAGR was 16.31% versus 19.75% for XLK.

Q. How did higher trading costs affect the results?

With trading costs doubled from 0.1% per leg, the strategy's CAGR was 9.77% and its maximum drawdown was -31.15%.

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 →