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.0%, MDD -42.6%).

Data 1980-03-17 ~ 2026-09-30daily bars 11,730 (46.5 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-09-30

Results by strategy

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

Sharpe leader (same as main): ADX / DI 방향성 — CAGR 3.8%, MDD -17.1%, Sharpe 0.66, 5% exposure.

CAGR reference leader: SMA 크로스오버 — CAGR 11.2%, MDD -48.1%, exposure 66%.

Return/drawdown alternative: EMA 크로스오버 — CAGR is 8.8%p lower than buy and hold, while drawdown improves by 47.0%p (CAGR 11.0%, MDD -42.6%, exposure 73%).

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=39, threshold=50
3.8%-17.1%0.660.225.6x65%
SMA 크로스오버
fast=98, slow=224
11.2%-48.1%0.600.23140.5x5466%
EMA 크로스오버
fast=71, slow=267
11.0%-42.6%0.580.26128.3x3473%
볼린저 밴드 돌파
n=30, k=3.5
3.9%-36.3%0.530.115.9x529%
ROC 모멘텀
n=141, threshold=-0.06
7.7%-57.7%0.450.1331.4x25878%
Donchian 채널 돌파
entryN=80, exitN=42
6.0%-51.2%0.430.1215.2x10448%
Keltner 채널 돌파
emaPeriod=58, atrPeriod=29, mult=2.5
4.5%-74.7%0.360.067.7x19639%
Supertrend
period=25, mult=4.5
4.9%-61.4%0.350.089.2x20057%
Parabolic SAR
step=0.005, maxStep=0.1
4.4%-82.0%0.320.057.5x35657%
MACD
fast=15, slow=26, signal=10
1.1%-88.2%0.150.011.7x76450%
Buy and hold12.5%-64.0%0.560.20242.2x1100%
1x 10x 100x 1981 1987 1993 1999 2005 2011 2017 2023 SMA 크로스오버ADX / DI 방향성Buy and hold
ADX / DI 방향성 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -16% -32% -48% -64% 1981 1987 1993 1999 2005 2011 2017 2023 Buy and holdSMA 크로스오버ADX / DI 방향성
ADX / DI 방향성 maximum drawdown -17.1% (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 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