Trend-Following Backtester · Guide · Assets 한국어

Assets

Samsung Electronics backtest

Korea's largest listed company. It cycles over multi-year semiconductor swings, which is a useful stress test for long-horizon trend strategies.

Data 2000-01-04 ~ 2026-07-29 Daily bars 6,642 (26.6y) Costs 0.5%Venue Korea Exchange

Results by strategy

0 of 10 beat buy and hold (CAGR 14.2%, drawdown -64.8%). Sorted by CAGR.

Strategy · parametersCAGRMax drawdown SharpeCalmarTotal return TradesTime in market
Donchian channel breakout
entryN=24, exitN=68
13.2%-50.9% 0.560.2627.2x 6374%
SMA crossover
fast=24, slow=89
12.2%-42.5% 0.570.2921.3x 7558%
EMA crossover
fast=33, slow=36
11.8%-45.6% 0.550.2619.3x 10457%
MACD
fast=28, slow=85, signal=48
11.3%-37.6% 0.550.3017.2x 14252%
Supertrend
period=32, mult=4.5
10.5%-53.3% 0.530.2014.2x 10454%
Parabolic SAR
step=0.005, maxStep=0.02
8.2%-64.3% 0.440.138.2x 13455%
Bollinger band breakout
n=45, k=1.4
7.3%-44.4% 0.420.166.5x 16442%
ROC momentum
n=49, threshold=-0.08
7.2%-66.9% 0.380.116.3x 29081%
Keltner channel breakout
emaPeriod=57, atrPeriod=10, mult=3.6
6.0%-40.1% 0.390.154.7x 8030%
ADX / DI directional
period=34, threshold=23
5.9%-40.2% 0.470.154.6x 209%
Buy & hold14.2%-64.8% 0.550.2233.9x 1100%
1x 10x 2001 2005 2009 2013 2017 2021 2025 Donchian channel breakoutBuy & hold
Donchian channel breakout (solid) vs buy and hold (dashed). Log scale.
Parameters were optimized over the full history. The same data chose them and scored them, so these run above live results. With two or three parameters the distortion is bounded, but read them as a relative ranking, not a return target. Settings match the backtester's defaults (0.5% costs, Sharpe objective, 120 trials). More in optimization and overfitting.

The rules, strategy by strategy

Donchian channel breakout

A new high means a trend starting; a new low means it’s over (turtle-trading style).

CAGR
13.2%
Max drawdown
-50.9%
Sharpe
0.56
Trades
63
Time in market
74%
Win rate
51%

SMA crossover

When the short average rises above the long average, it reads that as an uptrend starting.

CAGR
12.2%
Max drawdown
-42.5%
Sharpe
0.57
Trades
75
Time in market
58%
Win rate
52%

EMA crossover

Uses two exponential averages (more weight on recent prices) and trades their crossover.

CAGR
11.8%
Max drawdown
-45.6%
Sharpe
0.55
Trades
104
Time in market
57%
Win rate
51%

MACD

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

CAGR
11.3%
Max drawdown
-37.6%
Sharpe
0.55
Trades
142
Time in market
52%
Win rate
51%

Supertrend

Trades the direction of a volatility-based trend line that trails below/above price.

CAGR
10.5%
Max drawdown
-53.3%
Sharpe
0.53
Trades
104
Time in market
54%
Win rate
51%

Parabolic SAR

Trades around the Parabolic SAR dots that accelerate toward price.

CAGR
8.2%
Max drawdown
-64.3%
Sharpe
0.44
Trades
134
Time in market
55%
Win rate
50%

Bollinger band breakout

Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.

CAGR
7.3%
Max drawdown
-44.4%
Sharpe
0.42
Trades
164
Time in market
42%
Win rate
50%

ROC momentum

Rides the trend when recent return (momentum) over a window is above a threshold.

CAGR
7.2%
Max drawdown
-66.9%
Sharpe
0.38
Trades
290
Time in market
81%
Win rate
49%

Keltner channel breakout

Breaking above the channel top (average plus a multiple of volatility) signals an upside breakout.

CAGR
6.0%
Max drawdown
-40.1%
Sharpe
0.39
Trades
80
Time in market
30%
Win rate
51%

ADX / DI directional

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

CAGR
5.9%
Max drawdown
-40.2%
Sharpe
0.47
Trades
20
Time in market
9%
Win rate
51%
Backtest Samsung Electronics yourselfSet up live trading

Read next