SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · IN

Hindustan Petroleum Corporation Limited backtest

10 trend-following strategies were compared on the full daily history of Hindustan Petroleum Corporation Limited. 0 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester.

Data 1996-01-02 ~ 2026-09-30daily bars 7,714 (30.7 years)Costs 0.5%Venue NSEMonthly snapshot 2026-09-30

Results by strategy

0 of 10 beat buy and hold (CAGR 8.4%, drawdown -91.9%).

Sharpe leader (same as main): ADX / DI 방향성 — CAGR 2.8%, MDD -18.4%, Sharpe 0.39, 2% exposure.

CAGR reference leader: Donchian 채널 돌파 — CAGR 3.0%, MDD -94.2%, exposure 86%.

No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.

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
ADX / DI 방향성
period=24, threshold=39
2.8%-18.4%0.390.152.3x102%
Donchian 채널 돌파
entryN=9, exitN=85
3.0%-94.2%0.330.032.5x8186%
SMA 크로스오버
fast=36, slow=136
2.0%-95.3%0.300.021.9x6256%
Supertrend
period=9, mult=4.6
1.7%-95.3%0.290.021.7x9253%
EMA 크로스오버
fast=48, slow=80
0.7%-96.9%0.260.011.2x7055%
볼린저 밴드 돌파
n=59, k=1.5
-0.3%-95.5%0.22-0.000.9x13237%
ROC 모멘텀
n=108, threshold=-0.03
-1.1%-97.3%0.21-0.010.7x26660%
MACD
fast=15, slow=23, signal=8
-1.4%-97.8%0.17-0.010.6x59150%
Parabolic SAR
step=0.01, maxStep=0.22
-3.8%-92.7%0.15-0.040.3x39449%
Keltner 채널 돌파
emaPeriod=46, atrPeriod=12, mult=1.2
-2.5%-94.0%0.15-0.030.5x23642%
Buy and hold8.4%-91.9%0.290.0912.1x1100%
1x 10x 1997 2001 2005 2009 2013 2017 2021 2025 Donchian 채널 돌파ADX / DI 방향성Buy and hold
ADX / DI 방향성 (Sharpe leader), Donchian 채널 돌파 (CAGR reference), Buy and hold.
0% -24% -47% -71% -94% 1997 2001 2005 2009 2013 2017 2021 2025 Buy and holdDonchian 채널 돌파ADX / DI 방향성
ADX / DI 방향성 maximum drawdown -18.4% (2014-06-06 → 2016-08-23), recovered after 3,503 days.

Rules of the top strategy

Looks at both the direction and the strength of the trend; holds only in a strong uptrend.

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