Trend-Following Backtester · Guide · backtest 한국어

equity · TH

Star Petroleum Refining Public Co. Ltd. backtest

10 trend-following strategies were compared on the full daily history of Star Petroleum Refining Public Co. Ltd.. 7 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 5.7%, MDD -17.6%).

Data 2015-12-08 ~ 2026-07-31daily bars 2,589 (10.6 years)Costs 0.5%Venue SETMonthly snapshot 2026-07-31

Results by strategy

7 of 10 beat buy and hold (CAGR 3.1%, drawdown -77.6%).

Sharpe leader (same as main): SMA 크로스오버 — CAGR 9.9%, MDD -26.7%, Sharpe 0.56, 40% exposure.

CAGR reference leader: ROC 모멘텀 — CAGR 10.5%, MDD -49.4%, exposure 50%.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 6.8%p higher than buy and hold, while drawdown improves by 50.9%p (CAGR 5.7%, MDD -17.6%, 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
SMA 크로스오버
fast=68, slow=248
9.9%-26.7%0.560.372.7x940%
볼린저 밴드 돌파
n=36, k=3
5.7%-17.6%0.520.331.8x118%
ROC 모멘텀
n=136, threshold=-0.04
10.5%-49.4%0.520.212.9x6750%
EMA 크로스오버
fast=6, slow=173
8.6%-38.0%0.480.232.4x2542%
Keltner 채널 돌파
emaPeriod=12, atrPeriod=25, mult=3
2.1%-14.0%0.360.151.3x72%
MACD
fast=13, slow=35, signal=16
5.7%-56.8%0.350.101.8x13348%
Supertrend
period=21, mult=3.3
4.1%-56.4%0.290.071.5x5352%
ADX / DI 방향성
period=24, threshold=20
3.3%-35.9%0.280.091.4x4720%
Donchian 채널 돌파
entryN=68, exitN=27
1.2%-41.6%0.160.031.1x2326%
Parabolic SAR
step=0.04, maxStep=0.3
-2.2%-67.6%0.05-0.030.8x27451%
Buy and hold3.1%-77.6%0.280.041.4x1100%
1x 2016 2018 2020 2022 2024 2026 ROC 모멘텀SMA 크로스오버Buy and hold
SMA 크로스오버 (Sharpe leader), ROC 모멘텀 (CAGR reference), Buy and hold.
0% -19% -39% -58% -78% 2016 2018 2020 2022 2024 2026 Buy and holdROC 모멘텀SMA 크로스오버
SMA 크로스오버 maximum drawdown -26.7% (2022-06-09 → 2023-01-05), recovered after 1,356 days.

Rules of the top strategy

When the short average rises above the long average, it reads that as an uptrend starting.

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