Trend-Following Backtester · Guide · backtest 한국어

equity · ID

PT Bank Rakyat Indonesia (Persero) Tbk Class B backtest

10 trend-following strategies were compared on the full daily history of PT Bank Rakyat Indonesia (Persero) Tbk Class B. 0 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 13.4%, MDD -54.7%).

Data 2003-11-10 ~ 2026-07-31daily bars 5,612 (22.7 years)Costs 0.5%Venue IDXMonthly snapshot 2026-07-31

Results by strategy

0 of 10 beat buy and hold (CAGR 16.8%, drawdown -69.6%).

Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 13.4%, MDD -54.7%, Sharpe 0.56, 88% exposure.

Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 3.4%p lower than buy and hold, while drawdown improves by 14.9%p (CAGR 13.4%, MDD -54.7%, exposure 88%).

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=14, exitN=85
13.4%-54.7%0.560.2417.3x4988%
EMA 크로스오버
fast=47, slow=180
10.7%-35.5%0.520.3010.1x2269%
ROC 모멘텀
n=130, threshold=-0.01
10.5%-43.2%0.510.249.7x15069%
Supertrend
period=12, mult=5
9.7%-43.3%0.490.238.3x7261%
SMA 크로스오버
fast=27, slow=201
8.1%-45.3%0.430.185.8x3465%
Keltner 채널 돌파
emaPeriod=70, atrPeriod=13, mult=2.6
5.6%-31.2%0.370.183.5x8844%
볼린저 밴드 돌파
n=57, k=1.1
3.9%-36.1%0.280.112.4x13451%
MACD
fast=24, slow=44, signal=24
2.8%-60.8%0.240.051.9x20549%
ADX / DI 방향성
period=21, threshold=14
-1.0%-66.2%0.07-0.020.8x24542%
Parabolic SAR
step=0.025, maxStep=0.24
-2.8%-81.9%0.02-0.030.5x48153%
Buy and hold16.8%-69.6%0.610.2434.1x1100%
1x 10x 2004 2007 2010 2013 2016 2019 2022 2025 Donchian 채널 돌파Buy and hold
Donchian 채널 돌파: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -17% -35% -52% -70% 2004 2007 2010 2013 2016 2019 2022 2025 Buy and holdDonchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -54.7% (2007-11-02 → 2009-03-02), recovered after 704 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 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