SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

Qualys, Inc. backtest

10 trend-following strategies were compared on the full daily history of Qualys, Inc.. 0 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR 19.5%, MDD -50.5%).

Data 2012-09-28 ~ 2026-09-30daily bars 3,520 (14.0 years)Costs 0.5%Venue XNASMonthly snapshot 2026-09-30

Results by strategy

0 of 10 beat buy and hold (CAGR 20.2%, drawdown -68.5%).

Sharpe leader (same as main): ROC 모멘텀 — CAGR 19.5%, MDD -50.5%, Sharpe 0.70, 66% exposure.

Return/drawdown alternative: ROC 모멘텀 — CAGR is 0.7%p lower than buy and hold, while drawdown improves by 18.0%p (CAGR 19.5%, MDD -50.5%, exposure 66%).

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
ROC 모멘텀
n=59, threshold=-0.03
19.5%-50.5%0.700.3912.1x13166%
Supertrend
period=28, mult=4
15.1%-42.8%0.620.357.2x4857%
Donchian 채널 돌파
entryN=13, exitN=31
16.2%-56.2%0.600.298.2x5770%
SMA 크로스오버
fast=10, slow=82
14.6%-59.9%0.600.246.8x4759%
EMA 크로스오버
fast=32, slow=35
14.7%-60.4%0.600.246.8x4959%
ADX / DI 방향성
period=34, threshold=13
9.5%-50.7%0.490.193.6x8331%
볼린저 밴드 돌파
n=57, k=1.1
8.6%-49.5%0.430.173.2x8548%
MACD
fast=18, slow=43, signal=11
6.4%-70.8%0.360.092.4x17852%
Keltner 채널 돌파
emaPeriod=50, atrPeriod=14, mult=1.8
3.5%-51.9%0.270.071.6x8742%
Parabolic SAR
step=0.015, maxStep=0.38
0.3%-62.1%0.170.001.0x24952%
Buy and hold20.2%-68.5%0.640.2913.2x1100%
1x 10x 2013 2015 2017 2019 2021 2023 2025 ROC 모멘텀Buy and hold
ROC 모멘텀: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -17% -34% -51% -68% 2013 2015 2017 2019 2021 2023 2025 Buy and holdROC 모멘텀
ROC 모멘텀 maximum drawdown -50.5% (2015-05-04 → 2016-04-29), recovered after 924 days.

Rules of the top strategy

Rides the trend when recent return (momentum) over a window is above a threshold.

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

Read next