Trend-Following Backtester · Guide · backtest 한국어
equity · US
Costco Wholesale Corporation backtest
10 trend-following strategies were compared on the full daily history of Costco Wholesale Corporation. 0 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester.
Results by strategy
0 of 10 beat buy and hold (CAGR 11.6%, drawdown -61.7%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 6.9%, MDD -45.8%, Sharpe 0.41, 66% exposure.
CAGR reference leader: Donchian 채널 돌파 — CAGR 7.2%, MDD -66.9%, exposure 80%.
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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| EMA 크로스오버 fast=22, slow=83 |
6.9% | -45.8% | 0.41 | 0.15 | 14.6x | 118 | 66% |
| SMA 크로스오버 fast=15, slow=127 |
6.9% | -43.9% | 0.41 | 0.16 | 14.7x | 110 | 67% |
| Donchian 채널 돌파 entryN=14, exitN=49 |
7.2% | -66.9% | 0.40 | 0.11 | 16.2x | 134 | 80% |
| ROC 모멘텀 n=135, threshold=-0.04 |
5.6% | -50.3% | 0.34 | 0.11 | 8.9x | 246 | 77% |
| Supertrend period=8, mult=4.5 |
4.0% | -62.4% | 0.29 | 0.06 | 4.8x | 140 | 61% |
| Parabolic SAR step=0.005, maxStep=0.02 |
1.8% | -66.2% | 0.19 | 0.03 | 2.1x | 218 | 61% |
| Keltner 채널 돌파 emaPeriod=74, atrPeriod=9, mult=3 |
1.1% | -61.9% | 0.15 | 0.02 | 1.5x | 148 | 42% |
| MACD fast=14, slow=55, signal=14 |
0.9% | -75.6% | 0.15 | 0.01 | 1.5x | 523 | 51% |
| ADX / DI 방향성 period=30, threshold=39 |
0.1% | -2.1% | 0.13 | 0.03 | 1.0x | 2 | 0% |
| 볼린저 밴드 돌파 n=46, k=1.5 |
0.3% | -67.2% | 0.11 | 0.01 | 1.1x | 274 | 45% |
| Buy and hold | 11.6% | -61.7% | 0.51 | 0.19 | 82.3x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 22-day EMA crosses above the 83-day EMA
- Sell — Sell when the 22-day EMA falls below the 83-day EMA