SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

Pegasystems Inc. backtest

10 trend-following strategies were compared on the full daily history of Pegasystems Inc.. 3 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 8.5%, MDD -56.0%).

Data 1996-07-19 ~ 2026-09-30daily bars 7,598 (30.2 years)Costs 0.5%Venue XNASMonthly snapshot 2026-09-30

Results by strategy

3 of 10 beat buy and hold (CAGR 8.2%, drawdown -94.8%).

Sharpe leader (same as main): ROC 모멘텀 — CAGR 8.9%, MDD -83.0%, Sharpe 0.42, 83% exposure.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 0.8%p higher than buy and hold, while drawdown improves by 11.8%p (CAGR 8.5%, MDD -56.0%, exposure 36%).

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=14, threshold=-0.09
8.9%-83.0%0.420.1113.3x47183%
ADX / DI 방향성
period=45, threshold=12
8.5%-56.0%0.410.1511.8x16036%
EMA 크로스오버
fast=11, slow=32
8.4%-80.2%0.400.1011.5x19657%
Donchian 채널 돌파
entryN=11, exitN=65
4.4%-88.9%0.350.053.7x10384%
MACD
fast=25, slow=63, signal=24
5.2%-83.6%0.330.064.7x23553%
SMA 크로스오버
fast=23, slow=202
5.1%-72.1%0.320.074.4x5858%
볼린저 밴드 돌파
n=56, k=1.7
5.2%-75.9%0.320.074.7x12640%
Supertrend
period=20, mult=2.6
4.8%-87.9%0.310.054.1x23255%
Keltner 채널 돌파
emaPeriod=55, atrPeriod=11, mult=1.3
1.6%-71.3%0.220.021.6x20847%
Parabolic SAR
step=0.02, maxStep=0.12
-0.4%-92.7%0.21-0.000.9x59652%
Buy and hold8.2%-94.8%0.440.0910.7x1100%
1x 10x 1997 2001 2005 2009 2013 2017 2021 2025 ROC 모멘텀Buy and hold
ROC 모멘텀: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -24% -47% -71% -95% 1997 2001 2005 2009 2013 2017 2021 2025 Buy and holdROC 모멘텀
ROC 모멘텀 maximum drawdown -83.0% (1997-04-07 → 1999-05-11), recovered after 2,265 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