SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

Legacy Housing Corporation backtest

10 trend-following strategies were compared on the full daily history of Legacy Housing Corporation. 1 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 14.4%, MDD -35.3%).

Data 2018-12-14 ~ 2026-07-31daily bars 1,916 (7.6 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

1 of 10 beat buy and hold (CAGR 10.7%, drawdown -54.4%).

Sharpe leader (same as main): MACD — CAGR 14.4%, MDD -35.3%, Sharpe 0.60, 52% exposure.

Return/drawdown alternative: MACD — CAGR is 3.7%p higher than buy and hold, while drawdown improves by 19.1%p (CAGR 14.4%, MDD -35.3%, exposure 52%).

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
MACD
fast=40, slow=67, signal=45
14.4%-35.3%0.600.412.8x3352%
SMA 크로스오버
fast=48, slow=80
10.0%-50.2%0.470.202.1x2756%
ROC 모멘텀
n=34, threshold=-0.12
10.1%-38.4%0.440.262.1x6184%
Supertrend
period=9, mult=2.3
8.3%-56.7%0.400.151.8x6154%
Donchian 채널 돌파
entryN=20, exitN=56
7.6%-48.3%0.380.161.7x2177%
EMA 크로스오버
fast=39, slow=132
5.7%-47.5%0.340.121.5x1562%
볼린저 밴드 돌파
n=38, k=3.3
3.3%-20.3%0.290.171.3x1615%
Keltner 채널 돌파
emaPeriod=11, atrPeriod=24, mult=3.2
2.0%-17.6%0.240.111.2x83%
Parabolic SAR
step=0.01, maxStep=0.14
-1.8%-47.7%0.10-0.040.9x10751%
ADX / DI 방향성
period=14, threshold=15
-2.4%-55.2%0.07-0.040.8x12748%
Buy and hold10.7%-54.4%0.450.202.2x1100%
1x 2019 2020 2021 2022 2023 2024 2025 2026 MACDBuy and hold
MACD: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -14% -27% -41% -54% 2019 2020 2021 2022 2023 2024 2025 2026 Buy and holdMACD
MACD maximum drawdown -35.3% (2024-09-19 → 2026-03-13), prior peak not yet recovered.

Rules of the top strategy

Looks at the gap (MACD) between a short and long average crossing its own signal line.

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