Trend-Following Backtester · Guide · backtest 한국어
equity · IN
HDFC Bank Limited backtest
10 trend-following strategies were compared on the full daily history of HDFC Bank Limited. 0 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 19.2%, MDD -41.1%).
Results by strategy
0 of 10 beat buy and hold (CAGR 22.2%, drawdown -55.4%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 19.2%, MDD -41.1%, Sharpe 0.81, 72% exposure.
CAGR reference leader: ROC 모멘텀 — CAGR 20.1%, MDD -58.3%, exposure 100%. It is hold-like at 95%+ exposure and is not used as the featured strategy.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 3.0%p lower than buy and hold, while drawdown improves by 14.3%p (CAGR 19.2%, MDD -41.1%, exposure 72%).
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=77, slow=195 |
19.2% | -41.1% | 0.81 | 0.47 | 222.3x | 36 | 72% |
| EMA 크로스오버 fast=33, slow=216 |
18.0% | -40.0% | 0.75 | 0.45 | 162.8x | 30 | 78% |
| ROC 모멘텀 Hold-like · Exposure 100% n=6, threshold=-0.15 |
20.1% | -58.3% | 0.73 | 0.35 | 281.6x | 27 | 100% |
| Donchian 채널 돌파 entryN=116, exitN=97 |
13.0% | -48.3% | 0.63 | 0.27 | 42.7x | 30 | 65% |
| Supertrend period=7, mult=3.6 |
9.1% | -59.4% | 0.48 | 0.15 | 14.5x | 135 | 62% |
| Keltner 채널 돌파 emaPeriod=76, atrPeriod=5, mult=3.4 |
6.9% | -40.6% | 0.45 | 0.17 | 7.8x | 82 | 39% |
| 볼린저 밴드 돌파 n=59, k=0.7 |
5.5% | -55.8% | 0.35 | 0.10 | 5.2x | 250 | 56% |
| ADX / DI 방향성 period=30, threshold=37 |
0.4% | -4.1% | 0.30 | 0.10 | 1.1x | 4 | 1% |
| MACD fast=21, slow=53, signal=14 |
2.2% | -47.7% | 0.21 | 0.05 | 1.9x | 361 | 50% |
| Parabolic SAR step=0.015, maxStep=0.12 |
2.0% | -60.5% | 0.20 | 0.03 | 1.8x | 541 | 56% |
| Buy and hold | 22.2% | -55.4% | 0.78 | 0.40 | 473.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 77-day average price crosses above the 195-day average
- Sell — Sell (to cash) when the 77-day average falls below the 195-day average