Trend-Following Backtester · Guide · backtest 한국어
equity · KR
LG전자 backtest
10 trend-following strategies were compared on the full daily history of LG전자. 8 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 8.1%, MDD -51.9%).
Results by strategy
8 of 10 beat buy and hold (CAGR 5.6%, drawdown -75.3%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 11.1%, MDD -62.4%, Sharpe 0.49, 49% exposure.
Return/drawdown alternative: Supertrend — CAGR is 5.5%p higher than buy and hold, while drawdown improves by 12.9%p (CAGR 8.1%, MDD -51.9%, exposure 47%).
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=14, slow=167 |
11.1% | -62.4% | 0.49 | 0.18 | 13.1x | 49 | 49% |
| EMA 크로스오버 fast=41, slow=114 |
10.2% | -62.3% | 0.47 | 0.16 | 10.8x | 41 | 49% |
| Donchian 채널 돌파 entryN=55, exitN=85 |
9.5% | -62.3% | 0.44 | 0.15 | 9.2x | 37 | 55% |
| Supertrend period=27, mult=4.3 |
8.1% | -51.9% | 0.41 | 0.16 | 6.8x | 92 | 47% |
| Keltner 채널 돌파 emaPeriod=76, atrPeriod=9, mult=1.5 |
7.2% | -55.6% | 0.38 | 0.13 | 5.5x | 123 | 41% |
| ADX / DI 방향성 period=42, threshold=19 |
6.3% | -62.3% | 0.38 | 0.10 | 4.4x | 25 | 12% |
| ROC 모멘텀 n=91, threshold=0.05 |
7.0% | -62.3% | 0.37 | 0.11 | 5.3x | 190 | 43% |
| 볼린저 밴드 돌파 n=52, k=1.2 |
6.1% | -63.8% | 0.35 | 0.10 | 4.3x | 137 | 40% |
| MACD fast=19, slow=40, signal=19 |
4.8% | -80.2% | 0.30 | 0.06 | 3.2x | 255 | 51% |
| Parabolic SAR step=0.005, maxStep=0.06 |
2.8% | -71.4% | 0.24 | 0.04 | 1.9x | 201 | 48% |
| Buy and hold | 5.6% | -75.3% | 0.34 | 0.07 | 3.8x | 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 14-day average price crosses above the 167-day average
- Sell — Sell (to cash) when the 14-day average falls below the 167-day average