SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

Walmart Inc. backtest

10 trend-following strategies were compared on the full daily history of Walmart Inc.. 1 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 15.6%, MDD -54.0%).

Data 1972-08-25 ~ 2026-09-30daily bars 13,636 (54.1 years)Costs 0.5%Venue XNASMonthly snapshot 2026-09-30

Results by strategy

1 of 10 beat buy and hold (CAGR 17.0%, drawdown -77.1%).

Sharpe leader (same as main): SMA 크로스오버 — CAGR 15.6%, MDD -54.0%, Sharpe 0.72, 74% exposure.

CAGR reference leader: ROC 모멘텀 — CAGR 17.0%, MDD -79.4%, exposure 100%. It is hold-like at 95%+ exposure and is not used as the featured strategy.

Return/drawdown alternative: SMA 크로스오버 — CAGR is 1.3%p lower than buy and hold, while drawdown improves by 23.1%p (CAGR 15.6%, MDD -54.0%, exposure 74%).

The alternative must retain 75% of buy-and-hold CAGR, improve drawdown by at least 20% and 5 percentage points, and stay below 95% exposure; the ranking weights return retention 60% and drawdown improvement 40%.

Strategy · parametersCAGRMDDSharpeCalmarTotalTradesExposure
SMA 크로스오버
fast=95, slow=441
15.6%-54.0%0.720.292592.0x3174%
ROC 모멘텀
Hold-like · Exposure 100%
n=1, threshold=-0.11
17.0%-79.4%0.690.214981.9x13100%
Donchian 채널 돌파
entryN=26, exitN=62
12.9%-65.5%0.620.20707.2x13277%
EMA 크로스오버
fast=49, slow=218
12.5%-70.1%0.610.18579.8x7073%
Supertrend
period=24, mult=4.3
8.2%-56.2%0.480.1571.0x25260%
MACD
fast=26, slow=59, signal=39
6.6%-61.3%0.420.1131.9x37152%
Parabolic SAR
step=0.005, maxStep=0.12
5.3%-70.8%0.350.0816.5x45656%
볼린저 밴드 돌파
n=40, k=3.2
2.6%-30.3%0.310.083.9x7411%
Keltner 채널 돌파
emaPeriod=38, atrPeriod=27, mult=3.7
3.0%-51.4%0.280.064.8x16422%
ADX / DI 방향성
period=36, threshold=12
2.3%-80.8%0.220.033.4x41239%
Buy and hold17.0%-77.1%0.680.224812.8x1100%
1x 10x 100x 1,000x 1973 1980 1987 1994 2001 2008 2015 2022 ROC 모멘텀SMA 크로스오버Buy and hold
SMA 크로스오버 (Sharpe leader), ROC 모멘텀 (CAGR reference), Buy and hold.
0% -20% -40% -60% -79% 1973 1980 1987 1994 2001 2008 2015 2022 Buy and holdROC 모멘텀SMA 크로스오버
SMA 크로스오버 maximum drawdown -54.0% (1999-12-27 → 2011-08-10), recovered after 7,406 days.

Rules of the top strategy

When the short average rises above the long average, it reads that as an uptrend starting.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 120 trials per strategy, so results contain in-sample bias. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-run the same setupMore US assetsAll asset reports

Read next