SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · TW

HIWIN Technologies Corp. backtest

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

Data 2007-12-31 ~ 2026-09-30daily bars 4,593 (18.7 years)Costs 0.5%Venue TWSEMonthly snapshot 2026-09-30

Results by strategy

10 of 10 beat buy and hold (CAGR 5.3%, drawdown -89.7%).

Sharpe leader (same as main): Supertrend — CAGR 20.6%, MDD -44.4%, Sharpe 0.81, 50% exposure.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 15.3%p higher than buy and hold, while drawdown improves by 45.3%p (CAGR 18.4%, MDD -42.6%, exposure 33%).

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
Supertrend
period=20, mult=4.9
20.6%-44.4%0.810.4733.7x4750%
볼린저 밴드 돌파
n=71, k=2
18.4%-42.6%0.810.4323.7x4233%
ROC 모멘텀
n=75, threshold=0.02
18.9%-49.3%0.750.3825.7x14148%
EMA 크로스오버
fast=10, slow=39
18.6%-49.2%0.730.3824.5x10253%
Keltner 채널 돌파
emaPeriod=87, atrPeriod=32, mult=1.9
16.3%-48.7%0.700.3317.0x6241%
SMA 크로스오버
fast=7, slow=75
17.2%-51.7%0.700.3319.6x9053%
ADX / DI 방향성
period=39, threshold=15
14.6%-51.6%0.690.2812.9x9233%
Parabolic SAR
step=0.02, maxStep=0.26
13.3%-58.1%0.590.2310.4x33450%
Donchian 채널 돌파
entryN=92, exitN=14
10.3%-46.9%0.580.226.3x5423%
MACD
fast=24, slow=59, signal=17
7.0%-79.5%0.410.093.6x14453%
Buy and hold5.3%-89.7%0.370.062.6x1100%
1x 10x 2008 2011 2014 2017 2020 2023 2026 SupertrendBuy and hold
Supertrend: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -22% -45% -67% -90% 2008 2011 2014 2017 2020 2023 2026 Buy and holdSupertrend
Supertrend maximum drawdown -44.4% (2021-01-21 → 2022-12-29), recovered after 1,440 days.

Rules of the top strategy

Trades the direction of a volatility-based trend line that trails below/above price.

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