Trend-Following Backtester · Guide · backtest 한국어
equity · CA
B2Gold Corp. backtest
10 trend-following strategies were compared on the full daily history of B2Gold Corp.. 2 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 10.0%, MDD -64.9%).
Results by strategy
2 of 10 beat buy and hold (CAGR 7.6%, drawdown -86.7%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 10.0%, MDD -64.9%, Sharpe 0.44, 54% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 2.5%p higher than buy and hold, while drawdown improves by 21.9%p (CAGR 10.0%, MDD -64.9%, 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=55, slow=201 |
10.0% | -64.9% | 0.44 | 0.15 | 5.9x | 25 | 54% |
| EMA 크로스오버 fast=59, slow=216 |
8.0% | -68.4% | 0.39 | 0.12 | 4.2x | 21 | 53% |
| ROC 모멘텀 n=147, threshold=0.08 |
6.2% | -61.1% | 0.35 | 0.10 | 3.1x | 182 | 45% |
| Donchian 채널 돌파 entryN=7, exitN=75 |
2.4% | -80.1% | 0.30 | 0.03 | 1.5x | 75 | 87% |
| Supertrend period=10, mult=2.8 |
3.7% | -69.3% | 0.28 | 0.05 | 2.0x | 141 | 49% |
| 볼린저 밴드 돌파 n=36, k=1.6 |
3.5% | -50.7% | 0.27 | 0.07 | 1.9x | 128 | 35% |
| ADX / DI 방향성 period=17, threshold=33 |
2.6% | -31.5% | 0.24 | 0.08 | 1.6x | 24 | 5% |
| MACD fast=19, slow=37, signal=18 |
0.4% | -71.0% | 0.21 | 0.01 | 1.1x | 210 | 52% |
| Parabolic SAR step=0.03, maxStep=0.32 |
-0.4% | -76.7% | 0.18 | -0.01 | 0.9x | 502 | 50% |
| Keltner 채널 돌파 emaPeriod=39, atrPeriod=21, mult=0.8 |
-1.2% | -74.8% | 0.13 | -0.02 | 0.8x | 209 | 42% |
| Buy and hold | 7.6% | -86.7% | 0.41 | 0.09 | 3.9x | 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 55-day average price crosses above the 201-day average
- Sell — Sell (to cash) when the 55-day average falls below the 201-day average