Trend-Following Backtester · Guide · backtest 한국어

equity · TW

Nanya Technology Corporation backtest

10 trend-following strategies were compared on the full daily history of Nanya Technology Corporation. 10 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 19.3%, MDD -45.7%).

Data 2000-08-18 ~ 2026-07-31daily bars 6,445 (25.9 years)Costs 0.5%Venue TWSEMonthly snapshot 2026-07-31

Results by strategy

10 of 10 beat buy and hold (CAGR -5.4%, drawdown -99.3%).

Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 19.3%, MDD -45.7%, Sharpe 0.80, 23% exposure.

CAGR reference leader: Donchian 채널 돌파 — CAGR 20.1%, MDD -52.8%, exposure 49%.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 24.8%p higher than buy and hold, while drawdown improves by 53.6%p (CAGR 19.3%, MDD -45.7%, exposure 23%).

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
볼린저 밴드 돌파
n=39, k=2.6
19.3%-45.7%0.800.4298.2x7823%
Keltner 채널 돌파
emaPeriod=37, atrPeriod=20, mult=1.1
19.4%-52.4%0.720.37100.0x20638%
Donchian 채널 돌파
entryN=19, exitN=22
20.1%-52.8%0.700.38116.1x13449%
EMA 크로스오버
fast=10, slow=19
19.7%-69.9%0.690.28105.8x24648%
Supertrend
period=24, mult=4.9
18.8%-60.1%0.680.3186.5x8446%
SMA 크로스오버
fast=7, slow=27
17.7%-70.8%0.640.2568.7x27449%
ADX / DI 방향성
period=36, threshold=25
10.4%-46.1%0.640.2313.0x268%
Parabolic SAR
step=0.005, maxStep=0.38
14.2%-73.7%0.560.1931.7x19247%
ROC 모멘텀
n=66, threshold=-0.04
13.5%-60.5%0.530.2226.5x25356%
MACD
fast=12, slow=48, signal=11
8.5%-91.2%0.410.098.4x34851%
Buy and hold-5.4%-99.3%0.15-0.050.2x1100%
0.01 0.1 1x 10x 100x 2001 2005 2009 2013 2017 2021 2025 Donchian 채널 돌파볼린저 밴드 돌파Buy and hold
볼린저 밴드 돌파 (Sharpe leader), Donchian 채널 돌파 (CAGR reference), Buy and hold.
0% -25% -50% -74% -99% 2001 2005 2009 2013 2017 2021 2025 Buy and holdDonchian 채널 돌파볼린저 밴드 돌파
볼린저 밴드 돌파 maximum drawdown -45.7% (2002-02-18 → 2009-09-16), recovered after 3,957 days.

Rules of the top strategy

Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.

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