Moving average trading strategy (20/100-day) backtest: QQQ 20/100 moving-average trend
Time-series trend following: holding QQQ only while its 20-day average is above its 100-day average should cut drawdowns in bear markets at a small cost in bull markets. Falsified if drawdowns are not smaller than buy-and-hold or the Sharpe ratio is lower.
Full record, 2005-01-01 to 2026-11-25: 7.47% a year, Sharpe 0.53, worst drawdown -30.25%; its benchmark 13.55% a year, Sharpe 0.69. This strategy trails its benchmark. Re-run every night through today.
Forward tracking since 2026-10-13: 30 of 63 trading days recorded. The out-of-sample record builds to 63 trading days before it is scored.
Backtest
| Metric | Strategy | Benchmark |
|---|---|---|
| CAGR | 7.92% | 13.97% |
| Volatility | 15.80% | 21.63% |
| Sharpe | 0.56 | 0.71 |
| Max drawdown | -30.25% | -53.55% |
| Turnover (per year) | 1.26 |
Deflated Sharpe: 0.00 (n trials: 456) — the probability the Sharpe ratio is real after the number of variants tried.
Spec
{
"costs_bps": 10,
"end": "2025-12-31",
"rebalance": "W",
"side": "long",
"signal": {
"fast": 20,
"slow": 100,
"type": "ma_cross"
},
"start": "2005-01-01",
"top_n": 1,
"universe": [
"QQQ"
]
}Re-run it free
Every listed strategy is free to explore and re-run on its full history, on our servers. No account or API key needed. Ask your AI assistant with the FinzData connector:
Re-run the FinzData strategy qqq-20-100-moving-average-trend-1de48a through today and show me the results.
Fork this strategy
Re-run it with your own changes. The fork is computed on the server and linked back here.
curl -X POST https://api.finzdata.com/v1/hub/s/qqq-20-100-moving-average-trend-1de48a/fork \
-H 'Authorization: Bearer YOUR_KEY' -H 'Content-Type: application/json' \
-d '{"changes": {"signal": {"lookback": 126}}}'Or ask your AI assistant (Claude, ChatGPT, Cursor with the FinzData connector):
Fork the FinzData strategy qqq-20-100-moving-average-trend-1de48a and test it with a 126-day lookback and 20 bps costs, then compare both runs.
Community
★ 0 stars · Sign in to star and comment (free, email link, no password).
Discussion (0)
No comments yet.
Embed
[](https://data.finzdata.com/s/qqq-20-100-moving-average-trend-1de48a)