Trend-Following Backtester · Guide · backtest 한국어
equity · US
United Natural Foods, Inc. backtest
10 trend-following strategies were compared on the full daily history of United Natural Foods, Inc.. 2 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 9.4%, MDD -55.5%).
Results by strategy
2 of 10 beat buy and hold (CAGR 6.5%, drawdown -93.5%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 9.4%, MDD -55.5%, Sharpe 0.43, 54% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 2.9%p higher than buy and hold, while drawdown improves by 38.0%p (CAGR 9.4%, MDD -55.5%, exposure 54%).
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=64, slow=132 |
9.4% | -55.5% | 0.43 | 0.17 | 14.8x | 68 | 54% |
| Supertrend period=7, mult=3.2 |
7.2% | -69.5% | 0.37 | 0.10 | 8.0x | 168 | 53% |
| EMA 크로스오버 fast=57, slow=154 |
6.4% | -75.2% | 0.35 | 0.08 | 6.4x | 45 | 60% |
| ROC 모멘텀 n=128, threshold=-0.04 |
5.6% | -65.6% | 0.33 | 0.09 | 5.2x | 227 | 62% |
| Donchian 채널 돌파 entryN=13, exitN=45 |
4.3% | -84.9% | 0.31 | 0.05 | 3.5x | 126 | 75% |
| Parabolic SAR step=0.01, maxStep=0.26 |
3.5% | -90.9% | 0.27 | 0.04 | 2.8x | 374 | 51% |
| ADX / DI 방향성 period=26, threshold=10 |
2.9% | -82.1% | 0.26 | 0.04 | 2.4x | 390 | 48% |
| 볼린저 밴드 돌파 n=62, k=1.1 |
2.3% | -69.5% | 0.23 | 0.03 | 2.0x | 168 | 43% |
| Keltner 채널 돌파 emaPeriod=50, atrPeriod=15, mult=0.9 |
1.4% | -70.7% | 0.21 | 0.02 | 1.5x | 272 | 46% |
| MACD fast=14, slow=26, signal=14 |
-0.2% | -86.5% | 0.18 | -0.00 | 0.9x | 449 | 51% |
| Buy and hold | 6.5% | -93.5% | 0.38 | 0.07 | 6.6x | 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 64-day average price crosses above the 132-day average
- Sell — Sell (to cash) when the 64-day average falls below the 132-day average