SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · TW

Walsin Technology Corporation backtest

10 trend-following strategies were compared on the full daily history of Walsin Technology Corporation. 6 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR 10.9%, MDD -67.8%).

Data 2000-01-04 ~ 2026-09-30daily bars 6,648 (26.7 years)Costs 0.5%Venue TWSEMonthly snapshot 2026-09-30

Results by strategy

6 of 10 beat buy and hold (CAGR 8.5%, drawdown -94.4%).

Sharpe leader (same as main): MACD — CAGR 14.2%, MDD -76.6%, Sharpe 0.56, 50% exposure.

Return/drawdown alternative: ROC 모멘텀 — CAGR is 5.7%p higher than buy and hold, while drawdown improves by 17.8%p (CAGR 10.9%, MDD -67.8%, exposure 35%).

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
MACD
fast=17, slow=29, signal=16
14.2%-76.6%0.560.1934.6x30750%
EMA 크로스오버
fast=91, slow=102
10.6%-81.8%0.500.1314.8x2754%
Supertrend
period=9, mult=2.3
10.3%-88.3%0.490.1213.8x26552%
SMA 크로스오버
fast=55, slow=220
10.1%-80.4%0.490.1313.3x3153%
ROC 모멘텀
n=96, threshold=0.13
10.9%-67.8%0.480.1616.0x21135%
Donchian 채널 돌파
entryN=12, exitN=63
8.5%-92.9%0.440.098.9x8780%
Parabolic SAR
step=0.02, maxStep=0.14
7.0%-95.1%0.410.076.1x47053%
Keltner 채널 돌파
emaPeriod=58, atrPeriod=9, mult=2.5
6.4%-94.6%0.400.075.3x9635%
볼린저 밴드 돌파
n=21, k=2
5.8%-89.8%0.390.064.5x21232%
ADX / DI 방향성
period=26, threshold=8
4.6%-95.2%0.350.053.4x34156%
Buy and hold8.5%-94.4%0.450.098.8x1100%
1x 10x 2001 2005 2009 2013 2017 2021 2025 MACDBuy and hold
MACD: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -24% -47% -71% -94% 2001 2005 2009 2013 2017 2021 2025 Buy and holdMACD
MACD maximum drawdown -76.6% (2021-11-22 → 2026-04-27), recovered after 1,669 days.

Rules of the top strategy

Looks at the gap (MACD) between a short and long average crossing its own signal line.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 120 trials per strategy, so results contain in-sample bias. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-run the same setupMore TW assetsAll asset reports

Read next