Trend-Following Backtester · Guide · backtest 한국어
equity · IN
Mangalore Refinery & Petrochemicals Ltd. backtest
10 trend-following strategies were compared on the full daily history of Mangalore Refinery & Petrochemicals Ltd.. 9 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 7.9%, MDD -51.8%).
Results by strategy
9 of 10 beat buy and hold (CAGR 5.8%, drawdown -84.9%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 12.6%, MDD -60.4%, Sharpe 0.51, 45% exposure.
Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 6.8%p higher than buy and hold, while drawdown improves by 24.5%p (CAGR 7.9%, MDD -51.8%, exposure 15%).
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=70, slow=101 |
12.6% | -60.4% | 0.51 | 0.21 | 38.7x | 75 | 45% |
| EMA 크로스오버 fast=18, slow=67 |
10.7% | -70.7% | 0.46 | 0.15 | 22.9x | 101 | 45% |
| 볼린저 밴드 돌파 n=56, k=3.5 |
8.3% | -55.3% | 0.43 | 0.15 | 11.7x | 40 | 15% |
| Keltner 채널 돌파 emaPeriod=52, atrPeriod=8, mult=3.6 |
7.9% | -51.8% | 0.42 | 0.15 | 10.5x | 48 | 15% |
| ADX / DI 방향성 period=33, threshold=21 |
8.1% | -53.7% | 0.42 | 0.15 | 10.8x | 56 | 18% |
| ROC 모멘텀 n=100, threshold=0.06 |
9.0% | -68.2% | 0.41 | 0.13 | 14.0x | 271 | 38% |
| Donchian 채널 돌파 entryN=33, exitN=60 |
8.3% | -76.4% | 0.40 | 0.11 | 11.7x | 69 | 59% |
| Supertrend period=27, mult=5 |
8.3% | -67.9% | 0.40 | 0.12 | 11.7x | 73 | 44% |
| MACD fast=23, slow=44, signal=15 |
6.3% | -78.6% | 0.35 | 0.08 | 6.5x | 308 | 51% |
| Parabolic SAR step=0.01, maxStep=0.14 |
2.7% | -89.1% | 0.25 | 0.03 | 2.3x | 368 | 45% |
| Buy and hold | 5.8% | -84.9% | 0.36 | 0.07 | 5.7x | 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 70-day average price crosses above the 101-day average
- Sell — Sell (to cash) when the 70-day average falls below the 101-day average