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 Supertrend (CAGR 11.5%, MDD -68.1%).

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

Results by strategy

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

Sharpe leader (same as main): Supertrend — CAGR 11.5%, MDD -68.1%, Sharpe 0.48, 53% exposure.

Return/drawdown alternative: Supertrend — CAGR is 1.8%p lower than buy and hold, while drawdown improves by 22.4%p (CAGR 11.5%, MDD -68.1%, exposure 53%).

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.5%-68.1%0.480.1719.5x18453%
ROC 모멘텀
n=98, threshold=-0.03
10.8%-74.4%0.460.1516.6x20764%
EMA 크로스오버
fast=64, slow=97
10.3%-60.0%0.450.1714.6x4761%
Parabolic SAR
step=0.01, maxStep=0.16
9.1%-75.3%0.420.1210.8x34852%
SMA 크로스오버
fast=22, slow=187
8.3%-64.5%0.400.138.8x5959%
Donchian 채널 돌파
entryN=13, exitN=69
7.6%-90.1%0.390.087.3x8180%
MACD
fast=24, slow=123, signal=17
5.9%-90.9%0.340.074.8x19652%
Keltner 채널 돌파
emaPeriod=55, atrPeriod=22, mult=1.4
2.2%-77.6%0.220.031.8x20245%
볼린저 밴드 돌파
n=55, k=1.2
1.7%-83.5%0.210.021.6x16444%
ADX / DI 방향성
period=19, threshold=9
-0.1%-94.8%0.18-0.001.0x46254%
Buy and hold13.3%-90.5%0.500.1530.4x1100%
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 setupAll asset reports

Read next