SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

Trex Company, Inc. backtest

10 trend-following strategies were compared on the full daily history of Trex Company, Inc.. 0 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 10.5%, MDD -60.0%).

Data 1999-04-08 ~ 2026-08-31daily bars 6,892 (27.4 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-08-31

Results by strategy

0 of 10 beat buy and hold (CAGR 13.5%, drawdown -90.5%).

Sharpe leader (same as main): Supertrend — CAGR 11.1%, MDD -68.1%, Sharpe 0.47, 54% exposure.

Return/drawdown alternative: EMA 크로스오버 — CAGR is 2.4%p lower than buy and hold, while drawdown improves by 22.4%p (CAGR 10.5%, MDD -60.0%, exposure 61%).

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=6, mult=3.2
11.1%-68.1%0.470.1617.8x18554%
ROC 모멘텀
n=98, threshold=-0.03
11.0%-74.4%0.460.1517.5x20764%
EMA 크로스오버
fast=64, slow=97
10.5%-60.0%0.450.1715.3x4761%
Parabolic SAR
step=0.01, maxStep=0.16
9.1%-75.3%0.420.1211.0x35052%
SMA 크로스오버
fast=22, slow=187
8.4%-64.5%0.400.139.2x5959%
Donchian 채널 돌파
entryN=13, exitN=69
7.7%-90.1%0.390.097.7x8180%
MACD
fast=24, slow=123, signal=17
5.7%-90.9%0.340.064.6x19852%
Keltner 채널 돌파
emaPeriod=55, atrPeriod=22, mult=1.4
2.1%-77.6%0.220.031.8x20445%
볼린저 밴드 돌파
n=55, k=1.2
1.4%-83.5%0.200.021.4x16644%
ADX / DI 방향성
period=19, threshold=9
-0.2%-94.8%0.18-0.000.9x46454%
Buy and hold13.5%-90.5%0.510.1531.9x1100%
1x 10x 2000 2004 2008 2012 2016 2020 2024 SupertrendBuy and hold
Supertrend: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -23% -45% -68% -91% 2000 2004 2008 2012 2016 2020 2024 Buy and holdSupertrend
Supertrend maximum drawdown -68.1% (2000-07-27 → 2002-01-29), recovered after 3,338 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 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 US assetsAll asset reports

Read next