Trend-Following Backtester · Guide · backtest 한국어
equity · NO
Hafnia Limited backtest
10 trend-following strategies were compared on the full daily history of Hafnia Limited. 6 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 22.7%, MDD -23.8%).
Results by strategy
6 of 10 beat buy and hold (CAGR 22.1%, drawdown -57.8%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 28.5%, MDD -25.2%, Sharpe 0.95, 62% exposure.
Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 6.4%p higher than buy and hold, while drawdown improves by 32.6%p (CAGR 22.7%, MDD -23.8%, exposure 50%).
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=54, slow=195 |
28.5% | -25.2% | 0.95 | 1.13 | 5.6x | 9 | 62% |
| ROC 모멘텀 n=178, threshold=-0.01 |
28.3% | -34.5% | 0.95 | 0.82 | 5.6x | 31 | 65% |
| Donchian 채널 돌파 entryN=63, exitN=87 |
25.6% | -34.4% | 0.91 | 0.74 | 4.8x | 7 | 61% |
| EMA 크로스오버 fast=20, slow=133 |
24.7% | -32.7% | 0.88 | 0.75 | 4.6x | 13 | 60% |
| Keltner 채널 돌파 emaPeriod=124, atrPeriod=19, mult=1.8 |
22.7% | -23.8% | 0.87 | 0.95 | 4.1x | 17 | 50% |
| 볼린저 밴드 돌파 n=55, k=2.6 |
18.9% | -19.3% | 0.84 | 0.98 | 3.3x | 17 | 32% |
| Supertrend period=6, mult=4.3 |
23.3% | -39.9% | 0.84 | 0.59 | 4.2x | 21 | 59% |
| ADX / DI 방향성 period=39, threshold=19 |
12.1% | -20.6% | 0.73 | 0.59 | 2.2x | 6 | 11% |
| MACD fast=18, slow=33, signal=17 |
10.3% | -48.1% | 0.48 | 0.21 | 2.0x | 79 | 50% |
| Parabolic SAR step=0.01, maxStep=0.12 |
9.2% | -49.3% | 0.45 | 0.19 | 1.8x | 94 | 52% |
| Buy and hold | 22.1% | -57.8% | 0.69 | 0.38 | 4.0x | 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 54-day average price crosses above the 195-day average
- Sell — Sell (to cash) when the 54-day average falls below the 195-day average