SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

X4 Pharmaceuticals, Inc. backtest

10 trend-following strategies were compared on the full daily history of X4 Pharmaceuticals, Inc.. 10 beat buy-and-hold CAGR; Keltner 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR -2.8%, MDD -41.0%).

Data 2017-11-16 ~ 2026-07-31daily bars 2,186 (8.7 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

10 of 10 beat buy and hold (CAGR -52.4%, drawdown -100.0%).

Sharpe leader (same as main): Keltner 채널 돌파 — CAGR 6.4%, MDD -43.9%, Sharpe 0.35, 8% exposure.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 58.8%p higher than buy and hold, while drawdown improves by 56.1%p (CAGR -2.8%, MDD -41.0%, exposure 4%).

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
Keltner 채널 돌파
emaPeriod=18, atrPeriod=20, mult=2.3
6.4%-43.9%0.350.151.7x188%
MACD
fast=49, slow=74, signal=16
-22.6%-96.4%0.18-0.230.1x4855%
Supertrend
period=25, mult=4.7
-12.1%-90.1%0.11-0.130.3x1538%
볼린저 밴드 돌파
n=58, k=3.1
-4.8%-67.5%0.05-0.070.7x1212%
Donchian 채널 돌파
entryN=82, exitN=18
-5.8%-53.7%0.03-0.110.6x1215%
ROC 모멘텀
n=16, threshold=0.24
-8.4%-74.9%0.00-0.110.5x9811%
SMA 크로스오버
fast=42, slow=84
-14.2%-81.0%-0.00-0.180.3x2631%
ADX / DI 방향성
period=38, threshold=23
-2.8%-41.0%-0.01-0.070.8x44%
EMA 크로스오버
fast=66, slow=272
-4.8%-48.0%-0.22-0.100.7x21%
Parabolic SAR
step=0.06, maxStep=0.16
-41.5%-99.5%-0.44-0.420.0x30542%
Buy and hold-52.4%-100.0%0.02-0.520.0x1100%
0.001 0.01 0.1 1x 2018 2020 2022 2024 2026 Keltner 채널 돌파Buy and hold
Keltner 채널 돌파: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -25% -50% -75% -100% 2018 2020 2022 2024 2026 Buy and holdKeltner 채널 돌파
Keltner 채널 돌파 maximum drawdown -43.9% (2018-03-20 → 2021-01-28), recovered after 1,872 days.

Rules of the top strategy

Breaking above the channel top (average plus a multiple of volatility) signals an upside breakout.

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 setupMore US assetsAll asset reports

Read next