SleepWell Trade

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%).

Data 2006-08-28 ~ 2026-09-30daily bars 4,957 (20.1 years)Costs 0.5%Venue NSEMonthly snapshot 2026-09-30

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
Donchian 채널 돌파
entryN=114, exitN=102
14.9%-37.7%0.750.3916.3x1446%
ADX / DI 방향성
period=32, threshold=20
12.7%-37.5%0.730.3411.1x6222%
ROC 모멘텀
n=20, threshold=-0.06
18.8%-59.3%0.720.3232.1x25080%
EMA 크로스오버
fast=29, slow=30
16.1%-59.4%0.700.2720.0x8858%
Supertrend
period=14, mult=4.6
15.1%-53.2%0.670.2817.0x5759%
볼린저 밴드 돌파
n=51, k=0.9
13.8%-49.8%0.650.2813.4x12649%
SMA 크로스오버
fast=19, slow=135
12.5%-46.4%0.620.2710.6x5356%
Keltner 채널 돌파
emaPeriod=48, atrPeriod=20, mult=2.3
10.9%-45.5%0.580.248.0x8037%
Parabolic SAR
step=0.005, maxStep=0.22
12.3%-53.1%0.570.2310.4x16656%
MACD
fast=19, slow=46, signal=17
4.7%-49.4%0.310.102.5x23651%
Buy and hold12.6%-89.4%0.510.1410.9x1100%
1x 10x 2007 2010 2013 2016 2019 2022 2025 ROC 모멘텀Donchian 채널 돌파Buy and hold
Donchian 채널 돌파 (Sharpe leader), ROC 모멘텀 (CAGR reference), Buy and hold.
0% -22% -45% -67% -89% 2007 2010 2013 2016 2019 2022 2025 Buy and holdROC 모멘텀Donchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -37.7% (2010-01-22 → 2012-05-17), recovered after 983 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 120 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 setupMore IN assetsAll asset reports

Read next