Does XLU 10-Month Moving Average Timing Beat Holding?
Market Timing Research • Does XLU 10-Month Moving Average Timing Beat Holding?
💡 Summary
Can a moving average rule improve on holding XLU throughout the historical test? The strategy had a 7.78% annualized return versus 7.53% for XLU, with a shallower maximum drawdown. Its out-of-sample return was lower than the benchmark’s.
Key Metrics & Specifications
| Test Period | 1998-12-22 to 2026-11-27 |
| Strategy CAGR | 7.78% |
| Strategy Max Drawdown | -28.18% |
| Strategy Sharpe | 0.65 |
| XLU CAGR | 7.53% |
| XLU Max Drawdown | -52.27% |
| Execution & Costs | Signal on the close, fill at the next close; 0.1% per side; doubled-cost CAGR 7.44% |
| Rules | At each month end, compare the close of US utility stocks (XLU) with the average of the last 10 month-end closes. Hold XLU for the next month if the close is above the average. Otherwise hold cash (Treasury bills) for the month. Decisions use the close; trades fill at the next day's close. |
| Out-of-Sample CAGR | 6.32% vs XLU 9.58% from 2018-07 |
What the experiment recorded
| Run | CAGR | Max drawdown |
|---|---|---|
| Strategy | 7.78% | -28.18% |
| XLU | 7.53% | -52.27% |
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-27. Export dated 2026-11-29. 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.
* Hypothetical illustration for educational purposes only. Past backtest results do not guarantee future returns.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.
The question behind the test
A reader may want to know whether stepping out of utility stocks during weak trends would have improved the balance between returns and losses compared with holding XLU throughout the period.
The historical test runs from 1998-12-22 to 2026-11-27. It describes what happened under the stated rules, not what will happen in the future.
How the rule works
At each month end, the rule compares XLU’s close with the average of its last 10 month-end closes. If the close is above that average, the strategy holds XLU for the next month; otherwise, it holds cash in Treasury bills.
The decision uses the month-end close, and the trade fills at the next day’s close. People use moving averages to identify trends and reduce exposure when prices fall below a chosen threshold.
What the results show
Across the full period, the strategy returned 7.78% annualized, compared with 7.53% for XLU. Its maximum drawdown was -28.18%, compared with -52.27% for XLU, and its Sharpe ratio was 0.65 versus 0.47.
In the out-of-sample period beginning 2018-07, the strategy returned 6.32% annualized versus 9.58% for XLU. When trading costs were doubled, the strategy’s annualized return was 7.44% and its maximum drawdown was -29.32%.
Where the approach struggles
A moving average responds to past prices, so the rule can leave the strategy in cash during a recovery or move it back into XLU before another decline. Repeated shifts around the average can also produce trading costs.
The weaker out-of-sample return shows that the full-period advantage was not consistent across the periods shown. The strategy still experienced losses: in 2008, it returned -12.22%, while XLU returned -28.91%.
This is historical research, not a forecast. Past simulated results do not predict future returns.
⚠️ Risk Considerations
Historical results depend on the period, the rule and the assumed trading costs, and they cannot establish future performance. Actual execution and costs may differ from the backtest, while the strategy can still suffer substantial drawdowns.
🎯 Target Audience
This page is for retail investors who want to understand how a utility-sector moving average rule compared with holding XLU in a historical test.
Frequently Asked Questions (FAQ)
Q. Did the moving average strategy beat holding XLU?
Over the full test period, the strategy returned 7.78% annualized versus 7.53% for XLU. In the out-of-sample period, it returned 6.32% versus 9.58% for XLU.
Q. What happens when XLU closes below its moving average?
The strategy holds cash in Treasury bills for the next month. The decision uses the month-end close, with the trade filled at the next day’s close.
Q. How did higher trading costs affect the result?
With doubled trading costs, the strategy’s annualized return was 7.44%, and its maximum drawdown was -29.32%.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.