Trend-Following Backtester · Guide · backtest 한국어
equity · TW
Quanta Computer Inc. backtest
10 trend-following strategies were compared on the full daily history of Quanta Computer Inc.. 1 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 5.4%, MDD -38.6%).
Results by strategy
1 of 10 beat buy and hold (CAGR 5.9%, drawdown -65.8%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 2.8%, MDD -19.3%, Sharpe 0.47, 1% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 6.1%, MDD -49.9%, exposure 48%.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 3.1%p lower than buy and hold, while drawdown improves by 46.5%p (CAGR 5.4%, MDD -38.6%, exposure 26%).
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 |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=11, threshold=59 |
2.8% | -19.3% | 0.47 | 0.15 | 2.1x | 2 | 1% |
| Donchian 채널 돌파 entryN=96, exitN=21 |
5.8% | -48.7% | 0.41 | 0.12 | 4.5x | 60 | 24% |
| 볼린저 밴드 돌파 n=53, k=2.1 |
5.4% | -38.6% | 0.38 | 0.14 | 4.1x | 78 | 26% |
| Keltner 채널 돌파 emaPeriod=11, atrPeriod=26, mult=3.9 |
2.7% | -26.5% | 0.38 | 0.10 | 2.0x | 14 | 2% |
| SMA 크로스오버 fast=34, slow=95 |
6.1% | -49.9% | 0.37 | 0.12 | 4.9x | 74 | 48% |
| EMA 크로스오버 fast=50, slow=134 |
2.8% | -58.1% | 0.24 | 0.05 | 2.1x | 49 | 53% |
| ROC 모멘텀 n=111, threshold=-0.02 |
1.7% | -71.1% | 0.19 | 0.02 | 1.6x | 259 | 56% |
| Supertrend period=12, mult=4.9 |
0.9% | -69.7% | 0.16 | 0.01 | 1.3x | 98 | 49% |
| MACD fast=29, slow=39, signal=21 |
-2.1% | -87.7% | 0.04 | -0.02 | 0.6x | 233 | 52% |
| Parabolic SAR step=0.005, maxStep=0.02 |
-2.5% | -89.9% | 0.02 | -0.03 | 0.5x | 141 | 51% |
| Buy and hold | 5.9% | -65.8% | 0.34 | 0.09 | 4.7x | 1 | 100% |
Rules of the top strategy
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy — Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 11-day) is ≥ 59
- Sell — Sell when direction flips or the trend weakens (ADX < 59)