EdgeStacker
Library
Trend · QQQ · 1D

Does SMA 20/50 cross actually work on QQQ? We tested it

We ran SMA 20/50 cross on QQQ through walk-forward testing and a 100-run random-entry gauntlet. 3 of 4 unseen periods positive. Beat 97 of 100 random-entry runs.

WALK-FORWARD VERIFIED EDGESTACKER ENGINE
Return +225.4%
Win rate 66.7%
Max drawdown −26.9%
Trades 21
Sharpe 1.00
Equity curve

Equity curve over Aug 2016 to Jul 2026. Hover any point for its value. Turn on buy and hold to compare.

PeriodWindowReturnSharpeTrades
1 Aug 2018 to Jul 2020 +36.5% 1.26 4
2 Jul 2020 to Jul 2022 −0.6% 0.07 5
3 Jul 2022 to Jul 2024 +28.6% 1.06 5
4 Jul 2024 to Jul 2026 +36.2% 1.34 4
3 of 4 periods positive. Mean Sharpe 0.93. Worst period −0.6%.
Market matrix
Edge held on 9 of 28

The same rules, tested on 28 tickers. Edge held on 9. We ship it on those.

QQQ SHIPPED
97/100 EDGE
MU
100/100 EDGE
GLD
97/100 EDGE
GOOGL
96/100 EDGE
META
93/100 EDGE
NVDA
92/100 EDGE
SPY
86/100 EDGE
AVGO
76/100 EDGE
AMD
76/100 EDGE
Show every ticker we tested
MSFT
84/100 NONE
NFLX
84/100 NONE
COIN
79/100 NONE
AAPL
74/100 NONE
TSLA
72/100 NONE
MARA
70/100 NONE
JPM
70/100 NONE
DIA
67/100 NONE
RIOT
60/100 NONE
AMZN
51/100 NONE
SOFI
47/100 NONE
IWM
46/100 NONE
MSTR
45/100 NONE
UBER
42/100 NONE
PLTR
34/100 NONE
XOM
20/100 NONE
SMCI
11/100 NONE
BA
0/100 NONE
HOOD
too new TOO NEW
The rules
Entrywhen SMA of close over 20 bars crosses above SMA of close over 50 bars
Exitwhen a signal fires (SMA of close over 20 bars crosses below SMA of close over 50 bars)
Sizing**Position size:** no fixed stop distance to size against. This strategy exits on signal only. Size by conviction, or add a hard stop for a size-by-risk number.
Diagnosis

This strategy made money overall, turning a 225% total return, but the ride was very lumpy. The worst stretch was a brutal 26.87% drawdown that lasted over a year from late 2021 through the end of 2022, which is where the strategy hurt the most. With only 21 trades over the entire period, the result is not driven by a huge number of trades, but the high win rate of 66.67% and average trade gain of 6.24% suggest the wins were solid. The entry-timing edge is very strong, beating 97% of random entry runs, meaning the entry signal itself is doing the heavy lifting rather than the exits. The consistency figure shows the edge was present in 3 out of 4 test periods, so the profit did not come from just one lucky stretch, though it was not perfect in every period.

Run this on your own account.

Sign up free. EdgeStacker runs a fresh backtest for you, then alerts you on the Today screen when the setup fires.

Test it yourself, free
Backtested results, not live trading returns. Fees and slippage included. Not investment advice.