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; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 13.9%, MDD -35.0%).

Data 2006-08-28 ~ 2026-07-31daily bars 4,918 (19.9 years)Costs 0.5%Venue NSEMonthly snapshot 2026-07-31

Results by strategy

6 of 10 beat buy and hold (CAGR 13.2%, drawdown -89.4%).

Sharpe leader (same as main): SMA 크로스오버 — CAGR 18.1%, MDD -45.4%, Sharpe 0.75, 58% exposure.

CAGR reference leader: ROC 모멘텀 — CAGR 18.6%, MDD -58.3%, exposure 85%.

Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 4.9%p higher than buy and hold, while drawdown improves by 44.0%p (CAGR 13.9%, MDD -35.0%, exposure 40%).

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
SMA 크로스오버
fast=13, slow=30
18.1%-45.4%0.750.4027.4x15558%
Donchian 채널 돌파
entryN=114, exitN=47
13.9%-35.0%0.740.4013.3x2340%
ROC 모멘텀
n=25, threshold=-0.09
18.6%-58.3%0.710.3230.0x18385%
ADX / DI 방향성
period=28, threshold=22
12.1%-35.9%0.690.349.8x5621%
EMA 크로스오버
fast=13, slow=32
15.8%-61.6%0.690.2618.6x13759%
Supertrend
period=17, mult=4.5
15.6%-50.4%0.690.3118.1x6159%
볼린저 밴드 돌파
n=49, k=0.9
13.9%-50.0%0.650.2813.3x13349%
Parabolic SAR
step=0.005, maxStep=0.26
12.8%-53.1%0.590.2411.0x16556%
Keltner 채널 돌파
emaPeriod=51, atrPeriod=23, mult=3.8
9.5%-41.2%0.570.236.1x4324%
MACD
fast=32, slow=52, signal=27
11.4%-48.8%0.560.238.6x13350%
Buy and hold13.2%-89.4%0.530.1511.9x1100%
1x 10x 2007 2010 2013 2016 2019 2022 2025 ROC 모멘텀SMA 크로스오버Buy and hold
SMA 크로스오버 (Sharpe leader), ROC 모멘텀 (CAGR reference), Buy and hold.
0% -22% -45% -67% -89% 2007 2010 2013 2016 2019 2022 2025 Buy and holdROC 모멘텀SMA 크로스오버
SMA 크로스오버 maximum drawdown -45.4% (2014-10-01 → 2017-07-27), recovered after 1,297 days.

Rules of the top strategy

When the short average rises above the long average, it reads that as an uptrend starting.

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