Trend-Following Backtester · Guide · backtest 한국어
equity · TW
Nan Ya Printed Circuit Board Corporation backtest
10 trend-following strategies were compared on the full daily history of Nan Ya Printed Circuit Board Corporation. 8 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 18.4%, MDD -42.0%).
Results by strategy
8 of 10 beat buy and hold (CAGR 18.5%, drawdown -93.6%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 30.8%, MDD -75.9%, Sharpe 0.91, 47% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 12.3%p higher than buy and hold, while drawdown improves by 17.7%p (CAGR 18.4%, MDD -42.0%, exposure 14%).
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=23, slow=165 |
30.8% | -75.9% | 0.91 | 0.41 | 405.4x | 35 | 47% |
| 볼린저 밴드 돌파 n=46, k=3.5 |
18.4% | -42.0% | 0.88 | 0.44 | 43.5x | 26 | 14% |
| EMA 크로스오버 fast=53, slow=191 |
28.7% | -70.9% | 0.88 | 0.41 | 282.1x | 21 | 41% |
| ROC 모멘텀 n=122, threshold=0 |
29.3% | -75.8% | 0.88 | 0.39 | 313.2x | 149 | 48% |
| Supertrend period=12, mult=4.3 |
28.1% | -51.5% | 0.86 | 0.55 | 253.6x | 82 | 54% |
| Donchian 채널 돌파 entryN=115, exitN=77 |
24.4% | -86.9% | 0.81 | 0.28 | 132.2x | 25 | 39% |
| Keltner 채널 돌파 emaPeriod=56, atrPeriod=12, mult=4 |
20.8% | -56.3% | 0.80 | 0.37 | 68.4x | 42 | 23% |
| MACD fast=10, slow=93, signal=30 |
22.0% | -62.1% | 0.75 | 0.35 | 85.4x | 196 | 54% |
| ADX / DI 방향성 period=39, threshold=10 |
20.5% | -76.8% | 0.70 | 0.27 | 64.2x | 181 | 47% |
| Parabolic SAR step=0.005, maxStep=0.14 |
16.9% | -77.3% | 0.63 | 0.22 | 32.8x | 169 | 49% |
| Buy and hold | 18.5% | -93.6% | 0.60 | 0.20 | 44.7x | 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 23-day average price crosses above the 165-day average
- Sell — Sell (to cash) when the 23-day average falls below the 165-day average