Trend-Following Backtester · Guide · backtest 한국어
equity · IN
Shyam Metalics & Energy Ltd. backtest
10 trend-following strategies were compared on the full daily history of Shyam Metalics & Energy Ltd.. 2 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 23.8%, MDD -26.5%).
Results by strategy
2 of 10 beat buy and hold (CAGR 21.7%, drawdown -42.6%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 24.1%, MDD -26.5%, Sharpe 0.99, 55% exposure.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 2.3%p higher than buy and hold, while drawdown improves by 16.1%p (CAGR 23.8%, MDD -26.5%, exposure 54%).
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=26, slow=251 |
24.1% | -26.5% | 0.99 | 0.91 | 3.1x | 3 | 55% |
| EMA 크로스오버 fast=46, slow=193 |
23.8% | -26.5% | 0.98 | 0.90 | 3.1x | 3 | 54% |
| Keltner 채널 돌파 emaPeriod=22, atrPeriod=25, mult=3.4 |
10.1% | -10.5% | 0.96 | 0.96 | 1.7x | 4 | 8% |
| ADX / DI 방향성 period=14, threshold=36 |
8.4% | -7.7% | 0.94 | 1.09 | 1.5x | 6 | 7% |
| 볼린저 밴드 돌파 n=32, k=3.3 |
10.2% | -11.1% | 0.89 | 0.92 | 1.7x | 6 | 10% |
| ROC 모멘텀 n=145, threshold=-0.01 |
18.0% | -26.5% | 0.78 | 0.68 | 2.4x | 39 | 57% |
| Donchian 채널 돌파 entryN=109, exitN=58 |
14.0% | -28.3% | 0.68 | 0.50 | 2.0x | 7 | 50% |
| MACD fast=22, slow=34, signal=29 |
13.3% | -27.0% | 0.65 | 0.49 | 1.9x | 43 | 50% |
| Supertrend period=24, mult=4 |
10.9% | -44.2% | 0.55 | 0.25 | 1.7x | 17 | 57% |
| Parabolic SAR step=0.035, maxStep=0.1 |
-5.3% | -45.6% | -0.11 | -0.12 | 0.8x | 132 | 51% |
| Buy and hold | 21.7% | -42.6% | 0.76 | 0.51 | 2.8x | 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 26-day average price crosses above the 251-day average
- Sell — Sell (to cash) when the 26-day average falls below the 251-day average