Trend-Following Backtester · Guide · backtest 한국어
equity · CA
Pan American Silver Corp. backtest
10 trend-following strategies were compared on the full daily history of Pan American Silver Corp.. 2 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 7.1%, MDD -52.2%).
Results by strategy
2 of 10 beat buy and hold (CAGR 5.6%, drawdown -81.5%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 7.1%, MDD -52.2%, Sharpe 0.37, 52% exposure.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 1.5%p higher than buy and hold, while drawdown improves by 29.4%p (CAGR 7.1%, MDD -52.2%, exposure 52%).
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=77, slow=251 |
7.1% | -52.2% | 0.37 | 0.14 | 8.1x | 27 | 52% |
| SMA 크로스오버 fast=59, slow=132 |
5.7% | -59.7% | 0.33 | 0.10 | 5.5x | 66 | 48% |
| Keltner 채널 돌파 emaPeriod=49, atrPeriod=16, mult=4 |
3.9% | -44.7% | 0.29 | 0.09 | 3.2x | 50 | 16% |
| 볼린저 밴드 돌파 n=46, k=3.4 |
3.1% | -44.8% | 0.28 | 0.07 | 2.5x | 22 | 7% |
| Donchian 채널 돌파 entryN=117, exitN=73 |
3.0% | -65.8% | 0.26 | 0.05 | 2.5x | 38 | 42% |
| ROC 모멘텀 n=105, threshold=0.08 |
1.5% | -62.7% | 0.21 | 0.02 | 1.6x | 294 | 40% |
| ADX / DI 방향성 period=34, threshold=14 |
1.5% | -51.9% | 0.18 | 0.03 | 1.6x | 144 | 21% |
| MACD fast=12, slow=41, signal=21 |
-3.5% | -91.6% | 0.08 | -0.04 | 0.3x | 402 | 51% |
| Supertrend period=16, mult=4.3 |
-5.2% | -88.0% | 0.02 | -0.06 | 0.2x | 133 | 51% |
| Parabolic SAR step=0.02, maxStep=0.26 |
-7.7% | -97.0% | -0.05 | -0.08 | 0.1x | 662 | 50% |
| Buy and hold | 5.6% | -81.5% | 0.36 | 0.07 | 5.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 77-day EMA crosses above the 251-day EMA
- Sell — Sell when the 77-day EMA falls below the 251-day EMA