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%).
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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=95, slow=441 |
15.6% | -54.0% | 0.72 | 0.29 | 2592.0x | 31 | 74% |
| ROC 모멘텀 Hold-like · Exposure 100% n=1, threshold=-0.11 |
17.0% | -79.4% | 0.69 | 0.21 | 4981.9x | 13 | 100% |
| Donchian 채널 돌파 entryN=26, exitN=62 |
12.9% | -65.5% | 0.62 | 0.20 | 707.2x | 132 | 77% |
| EMA 크로스오버 fast=49, slow=218 |
12.5% | -70.1% | 0.61 | 0.18 | 579.8x | 70 | 73% |
| Supertrend period=24, mult=4.3 |
8.2% | -56.2% | 0.48 | 0.15 | 71.0x | 252 | 60% |
| MACD fast=26, slow=59, signal=39 |
6.6% | -61.3% | 0.42 | 0.11 | 31.9x | 371 | 52% |
| Parabolic SAR step=0.005, maxStep=0.12 |
5.3% | -70.8% | 0.35 | 0.08 | 16.5x | 456 | 56% |
| 볼린저 밴드 돌파 n=40, k=3.2 |
2.6% | -30.3% | 0.31 | 0.08 | 3.9x | 74 | 11% |
| Keltner 채널 돌파 emaPeriod=38, atrPeriod=27, mult=3.7 |
3.0% | -51.4% | 0.28 | 0.06 | 4.8x | 164 | 22% |
| ADX / DI 방향성 period=36, threshold=12 |
2.3% | -80.8% | 0.22 | 0.03 | 3.4x | 412 | 39% |
| Buy and hold | 17.0% | -77.1% | 0.68 | 0.22 | 4812.8x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 95-day average price crosses above the 441-day average
- Sell — Sell (to cash) when the 95-day average falls below the 441-day average