EdgeStacker
Library
Trend · SPY · 1D

Does EMA 8/21 trend rider actually work on SPY? We tested it

We ran EMA 8/21 trend rider on SPY through walk-forward testing and a 100-run random-entry gauntlet. 4 of 4 unseen periods positive. Beat 79 of 100 random-entry runs.

WALK-FORWARD VERIFIED EDGESTACKER ENGINE
Return +52.2%
Win rate 44.7%
Max drawdown −11.1%
Trades 47
Sharpe 0.75
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 +13.4% 0.97 8
2 Jul 2020 to Jul 2022 +2.8% 0.27 10
3 Jul 2022 to Jul 2024 +2.3% 0.30 6
4 Jul 2024 to Jul 2026 +14.3% 1.07 11
4 of 4 periods positive. Mean Sharpe 0.65. Worst period +2.3%.
Market matrix
Edge held on 9 of 28

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

SPY SHIPPED
79/100 EDGE
NFLX
98/100 EDGE
MSFT
93/100 EDGE
JPM
93/100 EDGE
GOOGL
86/100 EDGE
AAPL
84/100 EDGE
IWM
78/100 EDGE
GLD
76/100 EDGE
QQQ
75/100 EDGE
Show every ticker we tested
MARA
99/100 NONE
PLTR
98/100 NONE
MSTR
82/100 NONE
AMD
72/100 NONE
BA
65/100 NONE
DIA
59/100 NONE
COIN
58/100 NONE
AMZN
56/100 NONE
XOM
51/100 NONE
RIOT
47/100 NONE
TSLA
45/100 NONE
UBER
43/100 NONE
AVGO
42/100 NONE
META
30/100 NONE
SMCI
29/100 NONE
NVDA
24/100 NONE
MU
15/100 NONE
SOFI
13/100 NONE
HOOD
too new TOO NEW
The rules
Entrywhen EMA of close over 8 bars crosses above EMA of close over 21 bars
Exitwhen a signal fires (close crosses below EMA of close over 21 bars), or stop-loss at -10%
Sizing**Position size:** risk 1% of account → position ≈ 10.0% of account (1% ÷ stop 10%).
Diagnosis

This strategy made money, turning a 52% total return over 47 trades, but the ride was lumpy. The worst stretch was a painful 11% drawdown that lasted over a year from late 2017 into early 2019, which is where it hurt most. The entry timing is doing the heavy lifting here, since the real entries outperformed 79% of random entry runs, meaning the exits are not the main source of edge. The edge was also consistent, showing up as profitable in all four walk-forward test periods, so the result is not driven by just one lucky stretch. However, the win rate is below 45%, so you will lose more than half your trades, and the profit comes from letting the winners run.

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.