SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · IN

Patanjali Foods Limited backtest

10 trend-following strategies were compared on the full daily history of Patanjali Foods Limited. 10 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 8.2%, MDD -18.9%).

Data 2002-07-01 ~ 2026-09-30daily bars 6,020 (24.2 years)Costs 0.5%Venue NSEMonthly snapshot 2026-09-30

Results by strategy

10 of 10 beat buy and hold (CAGR 1.3%, drawdown -99.9%).

Sharpe leader (same as main): ROC 모멘텀 — CAGR 18.2%, MDD -40.9%, Sharpe 1.28, 3% exposure.

CAGR reference leader: Supertrend — CAGR 20.7%, MDD -89.0%, exposure 46%.

Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 16.9%p higher than buy and hold, while drawdown improves by 59.0%p (CAGR 8.2%, MDD -18.9%, exposure 1%).

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
ROC 모멘텀
n=5, threshold=0.24
18.2%-40.9%1.280.4457.5x703%
Keltner 채널 돌파
emaPeriod=10, atrPeriod=8, mult=4
8.2%-18.9%1.110.436.8x41%
볼린저 밴드 돌파
n=42, k=2.1
19.0%-59.6%0.750.3268.0x10128%
Supertrend
period=28, mult=3.8
20.7%-89.0%0.720.2396.4x8946%
ADX / DI 방향성
period=11, threshold=31
14.8%-68.9%0.690.2128.5x15321%
SMA 크로스오버
fast=18, slow=46
16.2%-75.5%0.600.2137.7x12743%
Donchian 채널 돌파
entryN=100, exitN=13
11.0%-45.7%0.570.2412.5x5616%
Parabolic SAR
step=0.005, maxStep=0.42
13.8%-81.8%0.550.1722.8x18345%
EMA 크로스오버
fast=18, slow=33
11.9%-91.4%0.500.1315.1x12743%
MACD
fast=23, slow=47, signal=14
3.0%-99.5%0.440.032.1x25951%
Buy and hold1.3%-99.9%0.230.011.4x1100%
0.1 1x 10x 100x 2003 2006 2009 2012 2015 2018 2021 2024 SupertrendROC 모멘텀Buy and hold
ROC 모멘텀 (Sharpe leader), Supertrend (CAGR reference), Buy and hold.
0% -25% -50% -75% -100% 2003 2006 2009 2012 2015 2018 2021 2024 Buy and holdSupertrendROC 모멘텀
ROC 모멘텀 maximum drawdown -40.9% (2007-11-05 → 2019-05-07), recovered after 4,481 days.

Rules of the top strategy

Rides the trend when recent return (momentum) over a window is above a threshold.

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