Trend-Following Backtester · Guide · backtest 한국어
equity · TW
Pegatron Corporation backtest
10 trend-following strategies were compared on the full daily history of Pegatron Corporation. 4 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 7.2%, MDD -30.7%).
Results by strategy
4 of 10 beat buy and hold (CAGR -4.9%, drawdown -94.1%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 7.2%, MDD -30.7%, Sharpe 0.45, 48% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 12.1%p higher than buy and hold, while drawdown improves by 63.4%p (CAGR 7.2%, MDD -30.7%, exposure 48%).
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=55, slow=91 |
7.2% | -30.7% | 0.45 | 0.24 | 3.4x | 45 | 48% |
| Donchian 채널 돌파 entryN=77, exitN=91 |
-4.5% | -91.3% | 0.20 | -0.05 | 0.4x | 21 | 54% |
| ROC 모멘텀 n=118, threshold=0 |
1.7% | -46.7% | 0.19 | 0.04 | 1.3x | 137 | 51% |
| EMA 크로스오버 fast=47, slow=91 |
-5.8% | -91.9% | 0.16 | -0.06 | 0.3x | 31 | 51% |
| Supertrend period=23, mult=4.7 |
-8.0% | -94.2% | 0.10 | -0.08 | 0.2x | 56 | 49% |
| Parabolic SAR step=0.015, maxStep=0.16 |
-9.1% | -95.1% | 0.07 | -0.10 | 0.2x | 244 | 57% |
| Keltner 채널 돌파 emaPeriod=38, atrPeriod=24, mult=3.5 |
-10.0% | -92.0% | 0.01 | -0.11 | 0.2x | 46 | 24% |
| MACD fast=12, slow=34, signal=13 |
-2.9% | -67.5% | -0.04 | -0.04 | 0.6x | 248 | 49% |
| 볼린저 밴드 돌파 n=53, k=2.3 |
-10.4% | -93.1% | -0.05 | -0.11 | 0.1x | 50 | 31% |
| ADX / DI 방향성 period=33, threshold=10 |
-11.4% | -93.3% | -0.07 | -0.12 | 0.1x | 147 | 47% |
| Buy and hold | -4.9% | -94.1% | 0.22 | -0.05 | 0.4x | 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 55-day average price crosses above the 91-day average
- Sell — Sell (to cash) when the 55-day average falls below the 91-day average