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.. 9 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 5.9%, MDD -18.4%).
Results by strategy
9 of 10 beat buy and hold (CAGR 1.9%, drawdown -81.4%).
Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 5.9%, MDD -18.4%, Sharpe 0.56, 11% exposure.
CAGR reference leader: Supertrend — CAGR 9.1%, MDD -54.4%, exposure 51%.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 4.0%p higher than buy and hold, while drawdown improves by 63.1%p (CAGR 5.9%, MDD -18.4%, exposure 11%).
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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| 볼린저 밴드 돌파 n=38, k=3.3 |
5.9% | -18.4% | 0.56 | 0.32 | 3.5x | 24 | 11% |
| Supertrend period=32, mult=4.4 |
9.1% | -54.4% | 0.49 | 0.17 | 6.7x | 75 | 51% |
| Parabolic SAR step=0.01, maxStep=0.1 |
7.8% | -53.3% | 0.44 | 0.15 | 5.2x | 247 | 51% |
| Donchian 채널 돌파 entryN=60, exitN=71 |
7.7% | -52.6% | 0.43 | 0.15 | 5.1x | 33 | 56% |
| MACD fast=24, slow=43, signal=17 |
7.1% | -48.8% | 0.41 | 0.15 | 4.5x | 208 | 50% |
| SMA 크로스오버 fast=59, slow=158 |
6.3% | -48.7% | 0.38 | 0.13 | 3.8x | 39 | 51% |
| EMA 크로스오버 fast=18, slow=21 |
5.6% | -47.4% | 0.35 | 0.12 | 3.3x | 153 | 53% |
| ROC 모멘텀 n=146, threshold=0.13 |
3.9% | -52.7% | 0.30 | 0.07 | 2.3x | 123 | 31% |
| Keltner 채널 돌파 emaPeriod=38, atrPeriod=14, mult=2.7 |
3.5% | -54.8% | 0.29 | 0.06 | 2.1x | 79 | 24% |
| ADX / DI 방향성 period=28, threshold=12 |
1.7% | -53.4% | 0.19 | 0.03 | 1.5x | 203 | 37% |
| Buy and hold | 1.9% | -81.4% | 0.24 | 0.02 | 1.5x | 1 | 100% |
Rules of the top strategy
Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.
- Buy — Buy when the close breaks above the upper band of the 38-day average (3.3× volatility)
- Sell — Sell when the close falls back to the 38-day middle average