Trend-Following Backtester · Guide · backtest 한국어
equity · HK
Hong Kong & China Gas Co. Ltd. backtest
10 trend-following strategies were compared on the full daily history of Hong Kong & China Gas Co. Ltd.. 4 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 6.6%, MDD -23.7%).
Results by strategy
4 of 10 beat buy and hold (CAGR 3.2%, drawdown -67.7%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 6.6%, MDD -23.7%, Sharpe 0.51, 61% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 3.4%p higher than buy and hold, while drawdown improves by 43.9%p (CAGR 6.6%, MDD -23.7%, exposure 61%).
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=56, slow=207 |
6.6% | -23.7% | 0.51 | 0.28 | 5.5x | 24 | 61% |
| EMA 크로스오버 fast=71, slow=130 |
4.9% | -33.2% | 0.40 | 0.15 | 3.6x | 28 | 63% |
| Donchian 채널 돌파 entryN=17, exitN=55 |
4.7% | -42.0% | 0.36 | 0.11 | 3.4x | 77 | 76% |
| ROC 모멘텀 n=134, threshold=-0.02 |
3.4% | -44.4% | 0.29 | 0.08 | 2.4x | 178 | 66% |
| ADX / DI 방향성 period=21, threshold=38 |
0.5% | -7.6% | 0.22 | 0.07 | 1.1x | 8 | 3% |
| Supertrend period=40, mult=2.3 |
0.9% | -46.3% | 0.13 | 0.02 | 1.3x | 222 | 55% |
| Keltner 채널 돌파 emaPeriod=56, atrPeriod=25, mult=1.7 |
0.9% | -36.8% | 0.13 | 0.02 | 1.3x | 140 | 43% |
| 볼린저 밴드 돌파 n=55, k=1.5 |
0.5% | -40.2% | 0.11 | 0.01 | 1.2x | 133 | 42% |
| MACD fast=20, slow=51, signal=26 |
0.2% | -44.0% | 0.09 | 0.00 | 1.1x | 220 | 52% |
| Parabolic SAR step=0.005, maxStep=0.28 |
-0.1% | -38.4% | 0.07 | -0.00 | 1.0x | 202 | 54% |
| Buy and hold | 3.2% | -67.7% | 0.26 | 0.05 | 2.3x | 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 56-day average price crosses above the 207-day average
- Sell — Sell (to cash) when the 56-day average falls below the 207-day average