Trend-Following Backtester · Guide · backtest 한국어
equity · IN
HFCL Limited backtest
10 trend-following strategies were compared on the full daily history of HFCL Limited. 9 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 10.1%, MDD -45.9%).
Results by strategy
9 of 10 beat buy and hold (CAGR 6.6%, drawdown -89.3%).
Sharpe leader (same as main): MACD — CAGR 17.7%, MDD -81.0%, Sharpe 0.59, 46% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 11.1%p higher than buy and hold, while drawdown improves by 8.3%p (CAGR 10.1%, MDD -45.9%, exposure 9%).
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 |
|---|---|---|---|---|---|---|---|
| MACD fast=18, slow=52, signal=2 |
17.7% | -81.0% | 0.59 | 0.22 | 50.5x | 604 | 46% |
| ADX / DI 방향성 period=16, threshold=37 |
10.1% | -45.9% | 0.53 | 0.22 | 10.3x | 50 | 9% |
| 볼린저 밴드 돌파 n=10, k=1.1 |
13.6% | -69.4% | 0.52 | 0.20 | 21.8x | 554 | 34% |
| ROC 모멘텀 n=4, threshold=0.06 |
12.1% | -70.2% | 0.52 | 0.17 | 15.7x | 702 | 17% |
| Keltner 채널 돌파 emaPeriod=19, atrPeriod=18, mult=3.7 |
9.4% | -66.0% | 0.51 | 0.14 | 8.7x | 44 | 8% |
| SMA 크로스오버 fast=34, slow=119 |
11.2% | -86.0% | 0.46 | 0.13 | 12.9x | 57 | 44% |
| Supertrend period=12, mult=1 |
11.1% | -83.7% | 0.46 | 0.13 | 12.6x | 611 | 38% |
| Parabolic SAR step=0.045, maxStep=0.12 |
9.3% | -70.4% | 0.42 | 0.13 | 8.6x | 620 | 46% |
| EMA 크로스오버 fast=21, slow=65 |
8.6% | -85.1% | 0.40 | 0.10 | 7.2x | 81 | 44% |
| Donchian 채널 돌파 entryN=17, exitN=78 |
5.4% | -91.5% | 0.35 | 0.06 | 3.6x | 65 | 75% |
| Buy and hold | 6.6% | -89.3% | 0.40 | 0.07 | 4.7x | 1 | 100% |
Rules of the top strategy
Looks at the gap (MACD) between a short and long average crossing its own signal line.
- Buy — Buy when the MACD line (18/52) crosses above its 2-day signal line
- Sell — Sell when the MACD line crosses back below the signal line