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-07-31daily bars 7,675 (30.6 years)Costs 0.5%Venue NSEMonthly snapshot 2026-07-31

Results by strategy

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

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

CAGR reference leader: SMA 크로스오버 — CAGR 5.4%, MDD -78.3%, exposure 55%.

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.3x103%
SMA 크로스오버
fast=58, slow=163
5.4%-78.3%0.330.075.0x5255%
Donchian 채널 돌파
entryN=47, exitN=25
1.7%-94.7%0.290.021.7x8939%
Supertrend
period=19, mult=4.3
0.6%-95.5%0.250.011.2x10551%
EMA 크로스오버
fast=46, slow=93
-0.4%-96.3%0.23-0.000.9x6655%
볼린저 밴드 돌파
n=59, k=1.5
-0.3%-95.5%0.22-0.000.9x13237%
ROC 모멘텀
n=48, threshold=0
-2.2%-97.0%0.17-0.020.5x45853%
MACD
fast=9, slow=25, signal=15
-1.8%-97.7%0.17-0.020.6x55249%
Parabolic SAR
step=0.01, maxStep=0.36
-3.6%-92.5%0.15-0.040.3x39249%
Keltner 채널 돌파
emaPeriod=47, atrPeriod=18, mult=1
-2.7%-93.9%0.15-0.030.4x26243%
Buy and hold8.9%-91.9%0.300.1013.4x1100%
1x 10x 1997 2001 2005 2009 2013 2017 2021 2025 SMA 크로스오버ADX / DI 방향성Buy and hold
ADX / DI 방향성 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -23% -46% -69% -92% 1997 2001 2005 2009 2013 2017 2021 2025 Buy and holdSMA 크로스오버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 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