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.5%, MDD -41.4%).

Data 1980-03-17 ~ 2026-07-31daily bars 11,688 (46.4 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

Results by strategy

0 of 10 beat buy and hold (CAGR 12.8%, 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.5%, MDD -41.4%, exposure 76%.

Return/drawdown alternative: EMA 크로스오버 — CAGR is 9.1%p lower than buy and hold, while drawdown improves by 48.6%p (CAGR 11.5%, 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.5%-41.4%0.600.28153.5x2476%
SMA 크로스오버
fast=59, slow=266
10.1%-54.4%0.550.1985.9x5668%
볼린저 밴드 돌파
n=22, k=3.4
2.8%-38.6%0.450.073.6x466%
Donchian 채널 돌파
entryN=11, exitN=52
7.9%-55.8%0.440.1433.5x17581%
ROC 모멘텀
n=141, threshold=-0.08
7.4%-64.9%0.430.1127.7x27381%
Supertrend
period=17, mult=4.6
5.0%-65.6%0.350.089.5x19157%
Keltner 채널 돌파
emaPeriod=56, atrPeriod=18, mult=2.4
3.9%-78.5%0.320.055.8x21340%
Parabolic SAR
step=0.005, maxStep=0.36
4.3%-82.0%0.310.057.1x35757%
MACD
fast=13, slow=27, signal=11
1.1%-88.5%0.150.011.7x76750%
Buy and hold12.8%-64.0%0.570.20268.1x1100%
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 setupAll asset reports

Read next