Trend-Following Backtester · Guide · backtest 한국어

equity · TW

MediaTek Inc backtest

10 trend-following strategies were compared on the full daily history of MediaTek Inc. 2 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 15.1%, MDD -36.1%).

Data 2001-07-23 ~ 2026-07-31daily bars 6,204 (25.0 years)Costs 0.5%Venue TWSEMonthly snapshot 2026-07-31

Results by strategy

2 of 10 beat buy and hold (CAGR 16.8%, drawdown -71.4%).

Sharpe leader (same as main): EMA 크로스오버 — CAGR 18.3%, MDD -47.9%, Sharpe 0.69, 58% exposure.

Return/drawdown alternative: SMA 크로스오버 — CAGR is 1.5%p higher than buy and hold, while drawdown improves by 23.4%p (CAGR 15.1%, MDD -36.1%, exposure 56%).

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
EMA 크로스오버
fast=59, slow=69
18.3%-47.9%0.690.3867.0x4758%
Donchian 채널 돌파
entryN=13, exitN=20
17.0%-53.2%0.670.3250.6x14462%
SMA 크로스오버
fast=15, slow=202
15.1%-36.1%0.610.4234.0x4556%
Supertrend
period=9, mult=3.8
14.4%-64.4%0.610.2229.2x12257%
Parabolic SAR
step=0.005, maxStep=0.26
12.4%-54.9%0.550.2318.6x18853%
Keltner 채널 돌파
emaPeriod=52, atrPeriod=16, mult=3.3
9.2%-52.3%0.500.189.1x7632%
ROC 모멘텀
n=124, threshold=0
10.2%-48.1%0.470.2111.2x21756%
ADX / DI 방향성
period=14, threshold=36
5.2%-27.5%0.440.193.5x568%
볼린저 밴드 돌파
n=22, k=2.3
6.3%-66.8%0.400.094.6x16227%
MACD
fast=23, slow=51, signal=18
6.4%-78.6%0.360.084.7x26052%
Buy and hold16.8%-71.4%0.580.2448.8x1100%
1x 10x 2002 2006 2010 2014 2018 2022 2026 EMA 크로스오버Buy and hold
EMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -18% -36% -54% -71% 2002 2006 2010 2014 2018 2022 2026 Buy and holdEMA 크로스오버
EMA 크로스오버 maximum drawdown -47.9% (2021-04-29 → 2023-09-28), recovered after 1,147 days.

Rules of the top strategy

Uses two exponential averages (more weight on recent prices) and trades their crossover.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 40 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 setupAll asset reports

Read next