SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

RLI Corp. backtest

10 trend-following strategies were compared on the full daily history of RLI Corp.. 0 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 11.4%, MDD -41.4%).

Data 1980-03-17 ~ 2026-08-31daily bars 11,709 (46.5 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-08-31

Results by strategy

0 of 10 beat buy and hold (CAGR 12.9%, drawdown -64.0%).

Sharpe leader (same as main): ADX / DI 방향성 — CAGR 3.7%, MDD -15.5%, Sharpe 0.65, 5% exposure.

CAGR reference leader: EMA 크로스오버 — CAGR 11.4%, MDD -41.4%, exposure 76%.

Return/drawdown alternative: EMA 크로스오버 — CAGR is 9.2%p lower than buy and hold, while drawdown improves by 48.6%p (CAGR 11.4%, MDD -41.4%, exposure 76%).

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
ADX / DI 방향성
period=37, threshold=49
3.7%-15.5%0.650.245.5x85%
EMA 크로스오버
fast=65, slow=382
11.4%-41.4%0.600.28153.5x2476%
SMA 크로스오버
fast=59, slow=266
10.1%-54.4%0.550.1885.9x5668%
볼린저 밴드 돌파
n=22, k=3.4
2.8%-38.6%0.450.073.6x466%
Donchian 채널 돌파
entryN=11, exitN=52
7.9%-55.8%0.450.1434.7x17581%
ROC 모멘텀
n=141, threshold=-0.08
7.5%-64.9%0.430.1228.8x27381%
Supertrend
period=17, mult=4.6
5.0%-65.6%0.350.089.8x19157%
Keltner 채널 돌파
emaPeriod=56, atrPeriod=18, mult=2.4
4.0%-78.5%0.330.056.1x21340%
Parabolic SAR
step=0.005, maxStep=0.36
4.4%-82.0%0.320.057.4x35757%
MACD
fast=13, slow=27, signal=11
1.0%-88.5%0.150.011.6x77050%
Buy and hold12.9%-64.0%0.570.20277.9x1100%
1x 10x 100x 1981 1987 1993 1999 2005 2011 2017 2023 EMA 크로스오버ADX / DI 방향성Buy and hold
ADX / DI 방향성 (Sharpe leader), EMA 크로스오버 (CAGR reference), Buy and hold.
0% -16% -32% -48% -64% 1981 1987 1993 1999 2005 2011 2017 2023 Buy and holdEMA 크로스오버ADX / DI 방향성
ADX / DI 방향성 maximum drawdown -15.5% (1983-05-27 → 1984-06-11), recovered after 518 days.

Rules of the top strategy

Looks at both the direction and the strength of the trend; holds only in a strong uptrend.

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