Trend-Following Backtester · Guide · backtest 한국어
equity · CA
Hudbay Minerals Inc backtest
10 trend-following strategies were compared on the full daily history of Hudbay Minerals Inc. 8 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 20.9%, MDD -46.1%).
Results by strategy
8 of 10 beat buy and hold (CAGR 12.1%, drawdown -93.1%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 20.9%, MDD -46.1%, Sharpe 0.69, 55% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 8.8%p higher than buy and hold, while drawdown improves by 47.0%p (CAGR 20.9%, MDD -46.1%, exposure 55%).
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=18, slow=94 |
20.9% | -46.1% | 0.69 | 0.45 | 60.4x | 57 | 55% |
| EMA 크로스오버 fast=30, slow=56 |
19.3% | -49.6% | 0.66 | 0.39 | 45.0x | 69 | 55% |
| Donchian 채널 돌파 entryN=42, exitN=76 |
18.9% | -74.6% | 0.64 | 0.25 | 42.3x | 41 | 62% |
| ROC 모멘텀 n=83, threshold=-0.02 |
17.1% | -62.1% | 0.61 | 0.28 | 30.5x | 218 | 58% |
| 볼린저 밴드 돌파 n=66, k=1 |
16.0% | -56.7% | 0.61 | 0.28 | 24.8x | 98 | 46% |
| Supertrend period=24, mult=4.2 |
15.0% | -64.6% | 0.56 | 0.23 | 20.5x | 89 | 53% |
| Keltner 채널 돌파 emaPeriod=74, atrPeriod=15, mult=1 |
14.4% | -59.4% | 0.56 | 0.24 | 18.2x | 143 | 48% |
| Parabolic SAR step=0.02, maxStep=0.12 |
13.7% | -76.0% | 0.53 | 0.18 | 15.9x | 411 | 51% |
| ADX / DI 방향성 period=29, threshold=22 |
8.4% | -39.8% | 0.53 | 0.21 | 5.7x | 44 | 13% |
| MACD fast=10, slow=57, signal=4 |
8.4% | -84.4% | 0.40 | 0.10 | 5.7x | 519 | 51% |
| Buy and hold | 12.1% | -93.1% | 0.49 | 0.13 | 11.7x | 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 18-day average price crosses above the 94-day average
- Sell — Sell (to cash) when the 18-day average falls below the 94-day average