Trend-Following Backtester · Guide · backtest 한국어

equity · IN

SML Mahindra Limited backtest

10 trend-following strategies were compared on the full daily history of SML Mahindra Limited. 1 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 17.4%, MDD -56.5%).

Data 2002-07-01 ~ 2026-07-31daily bars 5,981 (24.1 years)Costs 0.5%Venue NSEMonthly snapshot 2026-07-31

Results by strategy

1 of 10 beat buy and hold (CAGR 19.6%, drawdown -81.2%).

Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 24.9%, MDD -65.7%, Sharpe 0.74, 83% exposure.

Return/drawdown alternative: SMA 크로스오버 — CAGR is 5.3%p higher than buy and hold, while drawdown improves by 15.6%p (CAGR 17.4%, MDD -56.5%, exposure 61%).

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
Donchian 채널 돌파
entryN=10, exitN=76
24.9%-65.7%0.740.38211.9x4783%
EMA 크로스오버
fast=49, slow=188
18.7%-71.7%0.650.2662.3x2764%
SMA 크로스오버
fast=18, slow=191
17.4%-56.5%0.620.3147.9x4961%
Supertrend
period=24, mult=2.7
16.6%-70.2%0.620.2440.1x14547%
ADX / DI 방향성
period=33, threshold=33
7.4%-43.0%0.560.175.5x1610%
ROC 모멘텀
n=101, threshold=-0.03
14.6%-77.7%0.550.1926.7x21564%
볼린저 밴드 돌파
n=46, k=1.5
12.8%-50.6%0.540.2518.2x14341%
Parabolic SAR
step=0.01, maxStep=0.34
12.5%-73.8%0.510.1717.0x28951%
Keltner 채널 돌파
emaPeriod=29, atrPeriod=17, mult=0.8
10.3%-68.2%0.470.1510.6x26141%
MACD
fast=17, slow=70, signal=13
6.1%-78.9%0.340.084.2x28948%
Buy and hold19.6%-81.2%0.610.2474.0x1100%
1x 10x 100x 2003 2006 2009 2012 2015 2018 2021 2024 Donchian 채널 돌파Buy and hold
Donchian 채널 돌파: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -20% -41% -61% -81% 2003 2006 2009 2012 2015 2018 2021 2024 Buy and holdDonchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -65.7% (2016-08-31 → 2020-04-13), recovered after 2,637 days.

Rules of the top strategy

A new high means a trend starting; a new low means it’s over (turtle-trading style).

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 40 trials per strategy, so results contain in-sample bias. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-run the same setupAll asset reports

Read next