Trend-Following Backtester · Guide · backtest 한국어
etf · IN
Nippon India Nifty Pharma ETF Units Exchange Traded Fund backtest
10 trend-following strategies were compared on the full daily history of Nippon India Nifty Pharma ETF Units Exchange Traded Fund. 2 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 17.3%, MDD -9.7%).
Results by strategy
2 of 10 beat buy and hold (CAGR 13.2%, drawdown -21.1%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 17.3%, MDD -9.7%, Sharpe 1.60, 58% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 4.1%p higher than buy and hold, while drawdown improves by 11.4%p (CAGR 17.3%, MDD -9.7%, exposure 58%).
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=42, slow=111 |
17.3% | -9.7% | 1.60 | 1.78 | 2.2x | 9 | 58% |
| Donchian 채널 돌파 entryN=47, exitN=62 |
12.3% | -12.1% | 1.52 | 1.02 | 1.8x | 3 | 32% |
| Keltner 채널 돌파 emaPeriod=51, atrPeriod=23, mult=2.2 |
9.2% | -8.2% | 1.34 | 1.12 | 1.6x | 7 | 25% |
| EMA 크로스오버 fast=31, slow=145 |
13.7% | -13.1% | 1.25 | 1.05 | 1.9x | 7 | 60% |
| ROC 모멘텀 n=132, threshold=0.09 |
9.9% | -11.7% | 1.22 | 0.85 | 1.6x | 11 | 34% |
| Supertrend period=16, mult=4.3 |
12.8% | -16.4% | 1.16 | 0.78 | 1.8x | 5 | 61% |
| 볼린저 밴드 돌파 n=41, k=2.6 |
6.2% | -12.1% | 1.08 | 0.52 | 1.4x | 9 | 19% |
| MACD fast=18, slow=90, signal=17 |
8.8% | -17.4% | 0.92 | 0.51 | 1.5x | 37 | 48% |
| ADX / DI 방향성 period=39, threshold=25 |
5.8% | -17.5% | 0.62 | 0.33 | 1.3x | 2 | 48% |
| Parabolic SAR step=0.005, maxStep=0.34 |
5.3% | -18.1% | 0.57 | 0.29 | 1.3x | 41 | 48% |
| Buy and hold | 13.2% | -21.1% | 0.92 | 0.62 | 1.9x | 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 42-day average price crosses above the 111-day average
- Sell — Sell (to cash) when the 42-day average falls below the 111-day average