Trend-Following Backtester · Guide · backtest 한국어

equity · TH

Thai Oil Public Co. Ltd. backtest

10 trend-following strategies were compared on the full daily history of Thai Oil Public Co. Ltd.. 8 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 4.3%, MDD -18.2%).

Data 2004-10-26 ~ 2026-07-31daily bars 5,331 (21.8 years)Costs 0.5%Venue SETMonthly snapshot 2026-07-31

Results by strategy

8 of 10 beat buy and hold (CAGR 1.8%, drawdown -81.4%).

Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 4.3%, MDD -18.2%, Sharpe 0.50, 8% exposure.

CAGR reference leader: Parabolic SAR — CAGR 8.7%, MDD -53.3%, exposure 51%.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 2.5%p higher than buy and hold, while drawdown improves by 63.2%p (CAGR 4.3%, MDD -18.2%, exposure 8%).

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=37, k=3.5
4.3%-18.2%0.500.242.5x198%
Parabolic SAR
step=0.01, maxStep=0.1
8.7%-53.3%0.480.166.2x24351%
Supertrend
period=25, mult=4.4
8.5%-57.3%0.470.155.9x7551%
MACD
fast=18, slow=52, signal=20
7.8%-49.5%0.440.165.2x19550%
Donchian 채널 돌파
entryN=14, exitN=77
8.2%-54.4%0.420.155.6x6180%
SMA 크로스오버
fast=44, slow=71
6.8%-45.6%0.400.154.2x7952%
Keltner 채널 돌파
emaPeriod=58, atrPeriod=18, mult=2.7
3.6%-48.3%0.290.082.2x7128%
EMA 크로스오버
fast=45, slow=61
3.8%-66.0%0.280.062.3x5952%
ADX / DI 방향성
period=31, threshold=35
0.7%-15.4%0.180.041.2x41%
ROC 모멘텀
n=60, threshold=0.01
0.4%-67.4%0.130.011.1x26149%
Buy and hold1.8%-81.4%0.240.021.5x1100%
1x 2005 2008 2011 2014 2017 2020 2023 2026 Parabolic SAR볼린저 밴드 돌파Buy and hold
볼린저 밴드 돌파 (Sharpe leader), Parabolic SAR (CAGR reference), Buy and hold.
0% -20% -41% -61% -81% 2005 2008 2011 2014 2017 2020 2023 2026 Buy and holdParabolic SAR볼린저 밴드 돌파
볼린저 밴드 돌파 maximum drawdown -18.2% (2010-12-15 → 2015-01-27), recovered after 2,487 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