Trend-Following Backtester · Guide · backtest 한국어
equity · IN
State Bank of India backtest
10 trend-following strategies were compared on the full daily history of State Bank of India. 1 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 12.3%, MDD -45.7%).
Results by strategy
1 of 10 beat buy and hold (CAGR 13.6%, drawdown -61.5%).
Sharpe leader (same as main): MACD — CAGR 12.3%, MDD -45.7%, Sharpe 0.58, 50% exposure.
CAGR reference leader: Donchian 채널 돌파 — CAGR 14.6%, MDD -59.8%, exposure 89%.
Return/drawdown alternative: MACD — CAGR is 1.3%p lower than buy and hold, while drawdown improves by 15.8%p (CAGR 12.3%, MDD -45.7%, exposure 50%).
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=11, slow=50, signal=15 |
12.3% | -45.7% | 0.58 | 0.27 | 35.7x | 366 | 50% |
| Donchian 채널 돌파 entryN=8, exitN=78 |
14.6% | -59.8% | 0.58 | 0.24 | 66.7x | 84 | 89% |
| Supertrend period=10, mult=1.9 |
10.1% | -52.8% | 0.50 | 0.19 | 19.1x | 404 | 51% |
| Parabolic SAR step=0.045, maxStep=0.06 |
9.6% | -54.1% | 0.49 | 0.18 | 16.7x | 494 | 53% |
| ROC 모멘텀 n=61, threshold=-0.03 |
9.3% | -59.6% | 0.46 | 0.16 | 15.4x | 324 | 64% |
| 볼린저 밴드 돌파 n=20, k=1.3 |
7.6% | -55.6% | 0.44 | 0.14 | 9.6x | 402 | 41% |
| Keltner 채널 돌파 emaPeriod=58, atrPeriod=21, mult=1.4 |
7.0% | -46.8% | 0.40 | 0.15 | 8.0x | 212 | 47% |
| EMA 크로스오버 fast=7, slow=168 |
7.3% | -71.3% | 0.40 | 0.10 | 8.7x | 102 | 62% |
| SMA 크로스오버 fast=8, slow=219 |
6.6% | -68.3% | 0.37 | 0.10 | 7.1x | 82 | 62% |
| ADX / DI 방향성 period=32, threshold=10 |
6.4% | -69.0% | 0.37 | 0.09 | 6.8x | 360 | 50% |
| Buy and hold | 13.6% | -61.5% | 0.53 | 0.22 | 50.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 (11/50) crosses above its 15-day signal line
- Sell — Sell when the MACD line crosses back below the signal line