Trend-Following Backtester · Guide · backtest 한국어
equity · IN
Hindustan Petroleum Corporation Limited backtest
10 trend-following strategies were compared on the full daily history of Hindustan Petroleum Corporation Limited. 0 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester.
Results by strategy
0 of 10 beat buy and hold (CAGR 8.4%, drawdown -91.9%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 2.8%, MDD -18.4%, Sharpe 0.39, 2% exposure.
CAGR reference leader: Donchian 채널 돌파 — CAGR 3.0%, MDD -94.2%, exposure 86%.
No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.
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 |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=24, threshold=39 |
2.8% | -18.4% | 0.39 | 0.15 | 2.3x | 10 | 2% |
| Donchian 채널 돌파 entryN=9, exitN=85 |
3.0% | -94.2% | 0.33 | 0.03 | 2.5x | 81 | 86% |
| SMA 크로스오버 fast=36, slow=136 |
2.0% | -95.3% | 0.30 | 0.02 | 1.9x | 62 | 56% |
| Supertrend period=9, mult=4.6 |
1.7% | -95.3% | 0.29 | 0.02 | 1.7x | 92 | 53% |
| EMA 크로스오버 fast=48, slow=80 |
0.7% | -96.9% | 0.26 | 0.01 | 1.2x | 70 | 55% |
| 볼린저 밴드 돌파 n=59, k=1.5 |
-0.3% | -95.5% | 0.22 | -0.00 | 0.9x | 132 | 37% |
| ROC 모멘텀 n=108, threshold=-0.03 |
-1.1% | -97.3% | 0.21 | -0.01 | 0.7x | 266 | 60% |
| MACD fast=15, slow=23, signal=8 |
-1.4% | -97.8% | 0.17 | -0.01 | 0.6x | 591 | 50% |
| Parabolic SAR step=0.01, maxStep=0.22 |
-3.8% | -92.7% | 0.15 | -0.04 | 0.3x | 394 | 49% |
| Keltner 채널 돌파 emaPeriod=46, atrPeriod=12, mult=1.2 |
-2.5% | -94.0% | 0.15 | -0.03 | 0.5x | 236 | 42% |
| Buy and hold | 8.4% | -91.9% | 0.29 | 0.09 | 12.1x | 1 | 100% |
Rules of the top strategy
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy — Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 24-day) is ≥ 39
- Sell — Sell when direction flips or the trend weakens (ADX < 39)