SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · TW

United Microelectronics Corp. backtest

10 trend-following strategies were compared on the full daily history of United Microelectronics Corp.. 6 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 5.1%, MDD -38.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 4.7%, drawdown -86.9%).

Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 11.2%, MDD -48.3%, Sharpe 0.54, 49% exposure.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 6.4%p higher than buy and hold, while drawdown improves by 38.6%p (CAGR 5.1%, MDD -38.8%, exposure 16%).

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
Donchian 채널 돌파
entryN=60, exitN=55
11.2%-48.3%0.540.2317.0x4949%
SMA 크로스오버
fast=47, slow=105
10.9%-50.6%0.520.2215.8x6250%
ADX / DI 방향성
period=41, threshold=13
8.1%-50.9%0.460.168.0x13930%
EMA 크로스오버
fast=47, slow=64
8.4%-56.7%0.440.158.7x6149%
ROC 모멘텀
n=81, threshold=0.01
7.5%-47.5%0.410.166.9x28949%
볼린저 밴드 돌파
n=55, k=3.4
5.1%-38.8%0.380.133.8x3816%
Keltner 채널 돌파
emaPeriod=53, atrPeriod=20, mult=1.9
4.2%-52.1%0.300.083.0x15334%
Supertrend
period=8, mult=4.2
2.9%-69.2%0.240.042.2x12551%
MACD
fast=17, slow=52, signal=24
0.5%-87.0%0.150.011.1x24753%
Parabolic SAR
step=0.01, maxStep=0.38
-2.4%-94.0%0.03-0.030.5x32148%
Buy and hold4.7%-86.9%0.310.053.5x1100%
1x 10x 2001 2005 2009 2013 2017 2021 2025 Donchian 채널 돌파Buy and hold
Donchian 채널 돌파: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -22% -43% -65% -87% 2001 2005 2009 2013 2017 2021 2025 Buy and holdDonchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -48.3% (2005-08-11 → 2009-02-24), recovered after 1,364 days.

Rules of the top strategy

A new high means a trend starting; a new low means it’s over (turtle-trading style).

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