SleepWell Trade

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. 7 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-08-31daily bars 5,483 (22.3 years)Costs 0.5%Venue TWSEMonthly snapshot 2026-08-31

Results by strategy

7 of 10 beat buy and hold (CAGR 18.2%, drawdown -93.6%).

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

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

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 0.3%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
29.5%-78.8%0.880.37313.9x3149%
EMA 크로스오버
fast=51, slow=192
28.4%-69.9%0.880.41260.8x2141%
ROC 모멘텀
n=134, threshold=0.04
26.5%-82.7%0.830.32186.4x12744%
Donchian 채널 돌파
entryN=113, exitN=86
25.2%-83.9%0.820.30149.3x2342%
Keltner 채널 돌파
emaPeriod=63, atrPeriod=14, mult=2.7
20.0%-73.7%0.730.2757.6x7731%
Supertrend
period=24, mult=4.2
21.4%-72.5%0.730.3075.1x9547%
ADX / DI 방향성
period=28, threshold=12
17.5%-79.2%0.640.2236.6x22746%
Parabolic SAR
step=0.005, maxStep=0.2
16.5%-77.3%0.620.2130.1x16949%
MACD
fast=19, slow=23, signal=12
13.7%-65.7%0.560.2117.4x30552%
Buy and hold18.2%-93.6%0.590.1941.0x1100%
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 carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupMore TW assetsAll asset reports

Read next