Does a QQQ 100-Day Moving Average Beat Buy-and-Hold?
Market Timing Research โข Does a QQQ 100-Day Moving Average Beat Buy-and-Hold?
๐ก Summary
This page asks whether holding QQQ only while it closes above its 100-day moving average beats simply holding QQQ. In this backtest it did not: the strategy's CAGR was 9.50% against 14.40% for QQQ, though its maximum drawdown was shallower at -50.77% versus -82.96%. The result is historical and depends on one rule, one index and the assumed trading costs.
Key Metrics & Specifications
| Test Period | 1994-01-03 to 2026-10-30 |
| Strategy CAGR | 9.50% |
| Strategy Max Drawdown | -50.77% |
| Strategy Sharpe | 0.61 |
| QQQ CAGR | 14.40% |
| QQQ Max Drawdown | -82.96% |
| Execution & Costs | Signal on the close, fill at the next close; 0.1% per side; doubled-cost CAGR 7.06% |
| Rules | Compute the 100-day simple moving average of the Nasdaq-100 (QQQ) from daily closes. Hold QQQ 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 | 11.49% vs QQQ 20.15% from 2016-12 |
What the experiment recorded
| Run | CAGR | Max drawdown |
|---|---|---|
| Strategy | 9.50% | -50.77% |
| QQQ | 14.40% | -82.96% |
Sampled historical portfolio values from the experiment export. The plotted observations can omit intervening peaks and troughs; use the reported maximum drawdown above.
1994-01-03 โ 2026-10-30. Export dated 2026-11-02. 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 search
Most people searching for this strategy want to know whether a simple trend filter can capture the growth of the Nasdaq-100 while avoiding its worst crashes. The comparison that matters is against holding QQQ the whole time.
This page tests that idea over a long window, from 1994-01-03 to 2026-10-30. It reports what happened in that window and does not predict what will happen next.
What the rules do and why people use them
The rule is short: hold QQQ only while it closes above its 100-day moving average. The steps are to compute the 100-day simple moving average from daily closes, hold QQQ while the close is above it, and otherwise hold cash in Treasury bills. Decisions use the close, and trades fill at the next day's close.
People use moving-average filters because a prolonged decline usually pulls the price below the average, which moves the strategy into cash. The cost is that the filter can also exit during short dips and re-enter late after a rebound.
What the numbers say
Over the full period the strategy returned a CAGR of 9.50% with a Sharpe ratio of 0.61 and a growth multiple of 19.64. QQQ returned a CAGR of 14.40% with a Sharpe ratio of 0.64 and a multiple of 82.79. The strategy did not beat the benchmark on CAGR or Sharpe ratio. It did have a shallower maximum drawdown, -50.77% versus -82.96%. In 2000, the worst year shown, the strategy lost -20.95% while QQQ lost -36.11%. The strategy was invested in something other than cash on 71.63% of days.
The first part of the data, the in-sample period, shows a CAGR of 8.65% against 12.02% for QQQ. In the out-of-sample period starting 2016-12, the strategy's CAGR was 11.49% against 20.15% for QQQ, and its Sharpe ratio was 0.77 against 0.92. The gap to the benchmark was wider in the later period.
The model assumes a trading cost of 0.1% per leg, over 739 trades. When the same rules were rerun with that cost doubled, the CAGR fell to 7.06% and the maximum drawdown deepened to -54.19%. Costs therefore matter to this approach.
Where this approach struggles
A moving-average filter can lag. It may sell after a decline is already under way and buy back after part of the recovery has happened. In a market dominated by a strong, steady uptrend like QQQ's, time spent in cash can cost more than the filter saves during declines.
Frequent switching adds trading costs, and the doubled-cost run shows the results are sensitive to them. A drawdown of -50.77% is still large, so the filter reduced the loss but did not avoid it.
This is historical research, not a forecast. Past simulated results do not predict future returns.
โ ๏ธ Risk Considerations
A backtest shows how one fixed rule behaved in the past and does not guarantee similar results in the future. The numbers also depend on the chosen moving-average length, the fill assumptions and the trading costs.
๐ฏ Target Audience
Retail investors who are curious whether a simple trend-following filter on the Nasdaq-100 has historically improved on holding it.
Frequently Asked Questions (FAQ)
Q. Did the QQQ 100-day moving average strategy beat buy-and-hold?
Not on return. Its CAGR was 9.50% against 14.40% for QQQ, and its Sharpe ratio was 0.61 against 0.64. It did have a shallower maximum drawdown, -50.77% versus -82.96%.
Q. How did the strategy do out of sample?
From 2016-12 the strategy's CAGR was 11.49% against 20.15% for QQQ. Its Sharpe ratio was 0.77 against 0.92, so it trailed the benchmark in that period too.
Q. What happens if trading costs are higher?
The backtest assumes 0.1% per leg. With that cost doubled, the CAGR fell to 7.06% and the maximum drawdown deepened to -54.19%.
Compare investment strategies
Explore the assumptions and results behind different historical strategies.
Historical results do not guarantee future returns.