Trend-Following Backtester · Guide · backtest 한국어
equity · US
Macy's Inc backtest
10 trend-following strategies were compared on the full daily history of Macy's Inc. 7 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 2.7%, MDD -39.1%).
Results by strategy
7 of 10 beat buy and hold (CAGR 2.8%, drawdown -93.9%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 9.4%, MDD -47.3%, Sharpe 0.46, 53% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 6.5%p higher than buy and hold, while drawdown improves by 46.6%p (CAGR 2.7%, MDD -39.1%, exposure 15%).
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=13, slow=98 |
9.4% | -47.3% | 0.46 | 0.20 | 22.2x | 108 | 53% |
| ROC 모멘텀 n=137, threshold=-0.02 |
9.3% | -46.6% | 0.45 | 0.20 | 21.8x | 221 | 60% |
| Donchian 채널 돌파 entryN=41, exitN=50 |
9.0% | -66.7% | 0.44 | 0.14 | 19.9x | 86 | 58% |
| EMA 크로스오버 fast=32, slow=68 |
8.2% | -56.2% | 0.42 | 0.15 | 15.5x | 88 | 54% |
| Supertrend period=12, mult=5 |
4.9% | -63.2% | 0.31 | 0.08 | 5.3x | 100 | 53% |
| 볼린저 밴드 돌파 n=55, k=3 |
3.7% | -60.0% | 0.28 | 0.06 | 3.5x | 74 | 21% |
| Keltner 채널 돌파 emaPeriod=33, atrPeriod=24, mult=3.3 |
3.2% | -55.3% | 0.27 | 0.06 | 3.0x | 88 | 18% |
| ADX / DI 방향성 period=33, threshold=20 |
2.7% | -39.1% | 0.25 | 0.07 | 2.5x | 76 | 15% |
| MACD fast=23, slow=73, signal=19 |
2.3% | -73.9% | 0.23 | 0.03 | 2.2x | 314 | 51% |
| Parabolic SAR step=0.005, maxStep=0.12 |
-2.9% | -92.4% | 0.05 | -0.03 | 0.4x | 309 | 54% |
| Buy and hold | 2.8% | -93.9% | 0.29 | 0.03 | 2.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 13-day average price crosses above the 98-day average
- Sell — Sell (to cash) when the 13-day average falls below the 98-day average