Trend-Following Backtester · Guide · backtest 한국어
equity · TH
Bangkok Bank Public Company Limited backtest
10 trend-following strategies were compared on the full daily history of Bangkok Bank Public Company Limited. 4 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 6.3%, MDD -40.6%).
Results by strategy
4 of 10 beat buy and hold (CAGR 4.0%, drawdown -67.3%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 7.2%, MDD -42.0%, Sharpe 0.44, 55% exposure.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 3.2%p higher than buy and hold, while drawdown improves by 25.3%p (CAGR 6.3%, MDD -40.6%, exposure 54%).
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 |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=41, slow=109 |
7.2% | -42.0% | 0.44 | 0.17 | 6.4x | 59 | 55% |
| Donchian 채널 돌파 entryN=60, exitN=56 |
6.3% | -40.6% | 0.40 | 0.15 | 5.1x | 47 | 54% |
| 볼린저 밴드 돌파 n=22, k=3.5 |
2.5% | -12.4% | 0.37 | 0.20 | 1.9x | 12 | 2% |
| ROC 모멘텀 n=145, threshold=-0.13 |
5.3% | -62.7% | 0.34 | 0.08 | 4.0x | 123 | 84% |
| EMA 크로스오버 fast=18, slow=92 |
4.3% | -41.2% | 0.31 | 0.10 | 3.1x | 81 | 58% |
| Keltner 채널 돌파 emaPeriod=7, atrPeriod=16, mult=3.5 |
1.0% | -7.2% | 0.26 | 0.14 | 1.3x | 4 | 0% |
| ADX / DI 방향성 period=20, threshold=23 |
0.4% | -51.0% | 0.10 | 0.01 | 1.1x | 110 | 19% |
| MACD fast=19, slow=91, signal=22 |
-0.6% | -55.3% | 0.07 | -0.01 | 0.9x | 224 | 50% |
| Supertrend period=22, mult=5 |
-0.7% | -52.6% | 0.07 | -0.01 | 0.8x | 87 | 47% |
| Parabolic SAR step=0.025, maxStep=0.16 |
-3.9% | -84.2% | -0.11 | -0.05 | 0.3x | 554 | 51% |
| Buy and hold | 4.0% | -67.3% | 0.28 | 0.06 | 2.9x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 41-day average price crosses above the 109-day average
- Sell — Sell (to cash) when the 41-day average falls below the 109-day average