Trend-Following Backtester · Guide · backtest 한국어
equity · IN
Tech Mahindra Limited backtest
10 trend-following strategies were compared on the full daily history of Tech Mahindra Limited. 6 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 12.7%, MDD -37.5%).
Results by strategy
6 of 10 beat buy and hold (CAGR 12.6%, drawdown -89.4%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 14.9%, MDD -37.7%, Sharpe 0.75, 46% exposure.
CAGR reference leader: ROC 모멘텀 — CAGR 18.8%, MDD -59.3%, exposure 80%.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 2.3%p higher than buy and hold, while drawdown improves by 51.7%p (CAGR 12.7%, MDD -37.5%, exposure 22%).
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 |
|---|---|---|---|---|---|---|---|
| Donchian 채널 돌파 entryN=114, exitN=102 |
14.9% | -37.7% | 0.75 | 0.39 | 16.3x | 14 | 46% |
| ADX / DI 방향성 period=32, threshold=20 |
12.7% | -37.5% | 0.73 | 0.34 | 11.1x | 62 | 22% |
| ROC 모멘텀 n=20, threshold=-0.06 |
18.8% | -59.3% | 0.72 | 0.32 | 32.1x | 250 | 80% |
| EMA 크로스오버 fast=29, slow=30 |
16.1% | -59.4% | 0.70 | 0.27 | 20.0x | 88 | 58% |
| Supertrend period=14, mult=4.6 |
15.1% | -53.2% | 0.67 | 0.28 | 17.0x | 57 | 59% |
| 볼린저 밴드 돌파 n=51, k=0.9 |
13.8% | -49.8% | 0.65 | 0.28 | 13.4x | 126 | 49% |
| SMA 크로스오버 fast=19, slow=135 |
12.5% | -46.4% | 0.62 | 0.27 | 10.6x | 53 | 56% |
| Keltner 채널 돌파 emaPeriod=48, atrPeriod=20, mult=2.3 |
10.9% | -45.5% | 0.58 | 0.24 | 8.0x | 80 | 37% |
| Parabolic SAR step=0.005, maxStep=0.22 |
12.3% | -53.1% | 0.57 | 0.23 | 10.4x | 166 | 56% |
| MACD fast=19, slow=46, signal=17 |
4.7% | -49.4% | 0.31 | 0.10 | 2.5x | 236 | 51% |
| Buy and hold | 12.6% | -89.4% | 0.51 | 0.14 | 10.9x | 1 | 100% |
Rules of the top strategy
A new high means a trend starting; a new low means it’s over (turtle-trading style).
- Buy — Buy on a breakout above the highest high of the last 114 days
- Sell — Sell when price breaks below the lowest low of the last 102 days