Trend-Following Backtester · Guide · backtest 한국어

equity · TW

Nan Ya Printed Circuit Board Corporation backtest

10 trend-following strategies were compared on the full daily history of Nan Ya Printed Circuit Board Corporation. 8 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 18.5%, MDD -42.0%).

Data 2004-05-26 ~ 2026-07-31daily bars 5,462 (22.2 years)Costs 0.5%Venue TWSEMonthly snapshot 2026-07-31

Results by strategy

8 of 10 beat buy and hold (CAGR 16.7%, drawdown -93.6%).

Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 18.5%, MDD -42.0%, Sharpe 0.89, 14% exposure.

CAGR reference leader: SMA 크로스오버 — CAGR 27.9%, MDD -78.8%, exposure 49%.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 1.8%p higher than buy and hold, while drawdown improves by 51.7%p (CAGR 18.5%, MDD -42.0%, exposure 14%).

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=46, k=3.5
18.5%-42.0%0.890.4443.5x2614%
SMA 크로스오버
fast=49, slow=163
27.9%-78.8%0.850.35234.8x3149%
EMA 크로스오버
fast=51, slow=192
26.8%-69.9%0.850.38195.1x2141%
ROC 모멘텀
n=134, threshold=0.04
24.9%-82.7%0.800.30139.4x12744%
Donchian 채널 돌파
entryN=113, exitN=86
23.7%-83.9%0.790.28111.7x2342%
Keltner 채널 돌파
emaPeriod=63, atrPeriod=14, mult=2.7
20.4%-73.7%0.740.2861.4x7631%
Supertrend
period=24, mult=4.2
21.8%-72.5%0.740.3080.1x9447%
ADX / DI 방향성
period=28, threshold=12
17.2%-79.2%0.630.2233.6x22246%
Parabolic SAR
step=0.005, maxStep=0.2
16.5%-77.3%0.620.2129.9x16849%
MACD
fast=19, slow=23, signal=12
14.5%-65.7%0.580.2220.3x30252%
Buy and hold16.7%-93.6%0.570.1830.7x1100%
1x 10x 100x 2005 2008 2011 2014 2017 2020 2023 2026 SMA 크로스오버볼린저 밴드 돌파Buy and hold
볼린저 밴드 돌파 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -23% -47% -70% -94% 2005 2008 2011 2014 2017 2020 2023 2026 Buy and holdSMA 크로스오버볼린저 밴드 돌파
볼린저 밴드 돌파 maximum drawdown -42.0% (2006-04-11 → 2018-04-18), recovered after 5,426 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