Library
Trend · GLD · 1D

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

We ran SMA 20/50 cross on GLD 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 +114.5%
Win rate 60.0%
Max drawdown −19.2%
Trades 25
Sharpe 0.77
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 +41.6% 1.65 4
2 Jul 2020 to Jul 2022 −4.1% −0.24 5
3 Jul 2022 to Jul 2024 +2.1% 0.18 7
4 Jul 2024 to Jul 2026 +49.7% 1.36 3
3 of 4 periods positive. Mean Sharpe 0.74. Worst period −4.1%.
Market matrix
Edge held on 9 of 28

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

GLD SHIPPED
97/100 EDGE
MU
100/100 EDGE
QQQ
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 114% total return on GLD over 25 trades. The ride was moderately lumpy, with a Sharpe ratio of 0.77 and a worst drawdown of -19.21% that lasted from late January to late March 2026, which is where the strategy hurt most. The result is not driven by just a few lucky trades, as the win rate is a solid 60% and the average trade gained 3.36%. The entry timing is doing most of the heavy lifting here, since the real entries beat 97% of random entry dates, meaning the signal to buy when the 20-day average crosses above the 50-day average is very effective. The edge is also consistent, as the strategy was profitable in 3 out of 4 walk-forward test periods, so the performance did not come from just one lucky stretch.

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