Trend-Following Backtester · Guide · backtest 한국어
equity · DE
Hapag-Lloyd AG backtest
10 trend-following strategies were compared on the full daily history of Hapag-Lloyd AG. 6 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 26.3%, MDD -46.7%).
Results by strategy
6 of 10 beat buy and hold (CAGR 19.4%, drawdown -77.4%).
Sharpe leader (same as main): Supertrend — CAGR 26.3%, MDD -46.7%, Sharpe 0.82, 49% exposure.
Return/drawdown alternative: Supertrend — CAGR is 6.9%p higher than buy and hold, while drawdown improves by 30.7%p (CAGR 26.3%, MDD -46.7%, exposure 49%).
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 |
|---|---|---|---|---|---|---|---|
| Supertrend period=18, mult=2.8 |
26.3% | -46.7% | 0.82 | 0.56 | 12.8x | 75 | 49% |
| Parabolic SAR step=0.015, maxStep=0.08 |
25.6% | -71.4% | 0.77 | 0.36 | 12.0x | 161 | 50% |
| 볼린저 밴드 돌파 n=56, k=2.9 |
20.1% | -56.6% | 0.74 | 0.36 | 7.4x | 23 | 29% |
| Donchian 채널 돌파 entryN=12, exitN=17 |
23.3% | -60.8% | 0.73 | 0.38 | 9.8x | 77 | 56% |
| EMA 크로스오버 fast=7, slow=44 |
22.1% | -67.0% | 0.70 | 0.33 | 8.8x | 73 | 52% |
| ADX / DI 방향성 period=27, threshold=23 |
15.9% | -52.1% | 0.67 | 0.31 | 5.0x | 25 | 20% |
| Keltner 채널 돌파 emaPeriod=50, atrPeriod=17, mult=1.9 |
18.9% | -68.4% | 0.67 | 0.28 | 6.6x | 57 | 39% |
| MACD fast=13, slow=28, signal=16 |
19.2% | -64.4% | 0.65 | 0.30 | 6.8x | 156 | 50% |
| SMA 크로스오버 fast=57, slow=146 |
19.7% | -74.4% | 0.64 | 0.26 | 7.1x | 21 | 53% |
| ROC 모멘텀 n=97, threshold=0.09 |
15.6% | -64.3% | 0.57 | 0.24 | 4.9x | 83 | 41% |
| Buy and hold | 19.4% | -77.4% | 0.60 | 0.25 | 6.9x | 1 | 100% |
Rules of the top strategy
Trades the direction of a volatility-based trend line that trails below/above price.
- Buy — Buy when price moves above the trend line (flips up) — 18-day volatility, 2.8× band
- Sell — Sell when price drops below the trend line (flips down)