Trend-Following Backtester · Guide · backtest 한국어

equity · CN

PetroChina Co., Ltd. Class A backtest

10 trend-following strategies were compared on the full daily history of PetroChina Co., Ltd. Class A. 10 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 1.1%, MDD -21.1%).

Data 2007-11-05 ~ 2026-07-31daily bars 4,554 (18.7 years)Costs 0.5%Venue SSEMonthly snapshot 2026-07-31

Results by strategy

10 of 10 beat buy and hold (CAGR -7.1%, drawdown -90.8%).

Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 2.7%, MDD -27.9%, Sharpe 0.29, 9% exposure.

CAGR reference leader: SMA 크로스오버 — CAGR 3.5%, MDD -39.6%, exposure 39%.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 9.8%p higher than buy and hold, while drawdown improves by 63.0%p (CAGR 1.1%, MDD -21.1%, exposure 2%).

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
볼린저 밴드 돌파
n=59, k=3.5
2.7%-27.9%0.290.101.7x169%
SMA 크로스오버
fast=30, slow=142
3.5%-39.6%0.280.091.9x3039%
Donchian 채널 돌파
entryN=77, exitN=14
2.9%-42.6%0.270.071.7x4016%
Keltner 채널 돌파
emaPeriod=30, atrPeriod=23, mult=3.7
2.0%-43.3%0.220.051.4x3611%
ADX / DI 방향성
period=27, threshold=38
1.1%-21.1%0.190.051.2x82%
ROC 모멘텀
n=128, threshold=0.02
-0.0%-46.0%0.10-0.001.0x13935%
EMA 크로스오버
fast=42, slow=93
-0.1%-49.4%0.09-0.001.0x4039%
Supertrend
period=9, mult=4
-1.1%-64.2%0.05-0.020.8x7147%
Parabolic SAR
step=0.005, maxStep=0.32
-1.8%-66.4%0.00-0.030.7x13942%
MACD
fast=23, slow=53, signal=14
-3.5%-82.1%-0.07-0.040.5x18152%
Buy and hold-7.1%-90.8%-0.13-0.080.3x1100%
0.1 1x 2008 2011 2014 2017 2020 2023 2026 SMA 크로스오버볼린저 밴드 돌파Buy and hold
볼린저 밴드 돌파 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -23% -45% -68% -91% 2008 2011 2014 2017 2020 2023 2026 Buy and holdSMA 크로스오버볼린저 밴드 돌파
볼린저 밴드 돌파 maximum drawdown -27.9% (2015-01-26 → 2023-03-10), recovered after 3,011 days.

Rules of the top strategy

Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.

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