Trend-Following Backtester · Guide · backtest 한국어
equity · TW
Wan Hai Lines Ltd. backtest
10 trend-following strategies were compared on the full daily history of Wan Hai Lines Ltd.. 3 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 13.2%, MDD -52.7%).
Results by strategy
3 of 10 beat buy and hold (CAGR 11.6%, drawdown -83.9%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 15.0%, MDD -58.7%, Sharpe 0.61, 51% exposure.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 3.5%p higher than buy and hold, while drawdown improves by 25.2%p (CAGR 13.2%, MDD -52.7%, exposure 37%).
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=57, slow=173 |
15.0% | -58.7% | 0.61 | 0.26 | 42.2x | 45 | 51% |
| Donchian 채널 돌파 entryN=142, exitN=80 |
13.2% | -52.7% | 0.58 | 0.25 | 27.7x | 25 | 37% |
| ADX / DI 방향성 period=38, threshold=23 |
9.5% | -40.1% | 0.55 | 0.24 | 11.4x | 27 | 12% |
| EMA 크로스오버 fast=75, slow=172 |
12.1% | -59.4% | 0.52 | 0.20 | 21.3x | 39 | 51% |
| Keltner 채널 돌파 emaPeriod=128, atrPeriod=18, mult=3.3 |
10.4% | -62.0% | 0.50 | 0.17 | 14.0x | 55 | 32% |
| ROC 모멘텀 n=132, threshold=0.14 |
10.1% | -52.6% | 0.49 | 0.19 | 13.2x | 197 | 29% |
| 볼린저 밴드 돌파 n=24, k=3 |
7.6% | -46.4% | 0.46 | 0.16 | 7.1x | 76 | 13% |
| Supertrend period=8, mult=3.7 |
9.3% | -80.7% | 0.44 | 0.12 | 10.9x | 135 | 52% |
| MACD fast=12, slow=30, signal=11 |
4.1% | -81.7% | 0.28 | 0.05 | 2.9x | 418 | 52% |
| Parabolic SAR step=0.005, maxStep=0.18 |
3.4% | -76.6% | 0.26 | 0.04 | 2.4x | 198 | 48% |
| Buy and hold | 11.6% | -83.9% | 0.47 | 0.14 | 18.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 57-day average price crosses above the 173-day average
- Sell — Sell (to cash) when the 57-day average falls below the 173-day average