Trend-Following Backtester · Guide · backtest 한국어
equity · KR
KB금융 backtest
10 trend-following strategies were compared on the full daily history of KB금융. 2 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 4.7%, MDD -35.8%).
Results by strategy
2 of 10 beat buy and hold (CAGR 5.2%, drawdown -74.5%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 6.6%, MDD -56.4%, Sharpe 0.40, 52% exposure.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 1.4%p higher than buy and hold, while drawdown improves by 18.1%p (CAGR 4.7%, MDD -35.8%, exposure 33%).
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=31, slow=181 |
6.6% | -56.4% | 0.40 | 0.12 | 4.9x | 35 | 52% |
| EMA 크로스오버 fast=56, slow=69 |
6.2% | -55.3% | 0.38 | 0.11 | 4.5x | 43 | 53% |
| Donchian 채널 돌파 entryN=117, exitN=42 |
4.7% | -35.8% | 0.34 | 0.13 | 3.1x | 43 | 33% |
| ROC 모멘텀 n=121, threshold=0.14 |
3.0% | -33.7% | 0.25 | 0.09 | 2.1x | 141 | 30% |
| Keltner 채널 돌파 emaPeriod=19, atrPeriod=9, mult=4 |
2.3% | -36.2% | 0.25 | 0.06 | 1.7x | 30 | 13% |
| ADX / DI 방향성 period=48, threshold=13 |
2.7% | -48.3% | 0.23 | 0.06 | 1.9x | 68 | 32% |
| Supertrend period=7, mult=5 |
2.6% | -67.3% | 0.23 | 0.04 | 1.9x | 83 | 54% |
| 볼린저 밴드 돌파 n=49, k=3.5 |
1.7% | -27.6% | 0.20 | 0.06 | 1.5x | 30 | 13% |
| Parabolic SAR step=0.005, maxStep=0.06 |
1.4% | -69.5% | 0.18 | 0.02 | 1.4x | 159 | 51% |
| MACD fast=19, slow=50, signal=18 |
-4.6% | -76.9% | -0.09 | -0.06 | 0.3x | 251 | 50% |
| Buy and hold | 5.2% | -74.5% | 0.32 | 0.07 | 3.5x | 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 31-day average price crosses above the 181-day average
- Sell — Sell (to cash) when the 31-day average falls below the 181-day average