Trend-Following Backtester · Guide · backtest 한국어
equity · TW
Walsin Lihwa Corporation backtest
10 trend-following strategies were compared on the full daily history of Walsin Lihwa Corporation. 8 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 5.2%, MDD -36.5%).
Results by strategy
8 of 10 beat buy and hold (CAGR 3.6%, drawdown -77.6%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 10.8%, MDD -52.7%, Sharpe 0.50, 51% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 7.2%p higher than buy and hold, while drawdown improves by 24.8%p (CAGR 5.2%, MDD -36.5%, exposure 29%).
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 |
|---|---|---|---|---|---|---|---|
| EMA 크로스오버 fast=48, slow=130 |
10.8% | -52.7% | 0.50 | 0.20 | 15.5x | 31 | 51% |
| SMA 크로스오버 fast=43, slow=209 |
8.3% | -52.9% | 0.42 | 0.16 | 8.4x | 31 | 51% |
| Donchian 채널 돌파 entryN=65, exitN=72 |
6.7% | -52.2% | 0.37 | 0.13 | 5.7x | 40 | 54% |
| ROC 모멘텀 n=150, threshold=-0.09 |
6.6% | -59.6% | 0.36 | 0.11 | 5.5x | 155 | 63% |
| 볼린저 밴드 돌파 n=70, k=2.2 |
5.2% | -36.5% | 0.33 | 0.14 | 3.9x | 70 | 29% |
| Keltner 채널 돌파 emaPeriod=80, atrPeriod=11, mult=2.5 |
4.3% | -49.0% | 0.29 | 0.09 | 3.1x | 89 | 34% |
| ADX / DI 방향성 period=17, threshold=18 |
4.3% | -53.4% | 0.29 | 0.08 | 3.1x | 280 | 43% |
| Parabolic SAR step=0.025, maxStep=0.06 |
4.3% | -66.1% | 0.29 | 0.07 | 3.1x | 362 | 50% |
| Supertrend period=25, mult=3.2 |
3.5% | -49.6% | 0.26 | 0.07 | 2.5x | 183 | 45% |
| MACD fast=5, slow=46, signal=19 |
-1.1% | -68.4% | 0.10 | -0.02 | 0.7x | 472 | 50% |
| Buy and hold | 3.6% | -77.6% | 0.29 | 0.05 | 2.6x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 48-day EMA crosses above the 130-day EMA
- Sell — Sell when the 48-day EMA falls below the 130-day EMA