Trend-Following Backtester · Guide · backtest 한국어

equity · US

Walmart Inc. backtest

10 trend-following strategies were compared on the full daily history of Walmart Inc.. 0 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. Its 100% market exposure makes it hold-like.

Data 1972-08-25 ~ 2026-07-31daily bars 13,594 (53.9 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

0 of 10 beat buy and hold (CAGR 17.2%, drawdown -77.1%).

Sharpe leader (same as main): ROC 모멘텀 — CAGR 17.1%, MDD -77.6%, Sharpe 0.69, 100% exposure. With at least 95% exposure, it should be treated as hold-like, not strong evidence of timing skill.

No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.

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
ROC 모멘텀
Hold-like · Exposure 100%
n=1, threshold=-0.14
17.1%-77.6%0.690.225059.3x3100%
Donchian 채널 돌파
entryN=23, exitN=63
12.8%-70.6%0.610.18650.2x14280%
EMA 크로스오버
fast=52, slow=210
12.5%-72.1%0.610.17566.6x6573%
SMA 크로스오버
fast=31, slow=287
12.3%-73.2%0.600.17513.2x6772%
Supertrend
period=29, mult=4.4
8.6%-59.1%0.500.1586.9x24059%
Keltner 채널 돌파
emaPeriod=173, atrPeriod=23, mult=2.8
8.4%-76.6%0.500.1178.6x14657%
MACD
fast=46, slow=55, signal=24
6.8%-62.4%0.430.1134.6x37452%
Parabolic SAR
step=0.005, maxStep=0.34
5.3%-70.8%0.350.0816.5x45656%
볼린저 밴드 돌파
n=50, k=1.9
2.9%-78.2%0.250.044.7x28842%
ADX / DI 방향성
period=36, threshold=12
2.3%-80.8%0.220.033.5x41039%
Buy and hold17.2%-77.1%0.690.225150.0x1100%
1x 10x 100x 1,000x 1973 1980 1987 1994 2001 2008 2015 2022 ROC 모멘텀Buy and hold
ROC 모멘텀: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -19% -39% -58% -78% 1973 1980 1987 1994 2001 2008 2015 2022 Buy and holdROC 모멘텀
ROC 모멘텀 maximum drawdown -77.6% (1972-11-27 → 1974-12-10), recovered after 1,779 days.

Rules of the top strategy

Rides the trend when recent return (momentum) over a window is above a threshold.

Method and caveats

Past performance does not guarantee future returns. Parameters were carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupAll asset reports

Read next