SleepWell Trade

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-08-25 Daily bars 6,660 (26.6y) Costs 0.5%Venue Korea Exchange

Results by strategy

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

Strategy · parametersCAGRMax drawdown SharpeCalmarTotal return TradesTime in market
MACD
fast=31, slow=109, signal=57
13.8%-41.0% 0.640.3431.5x 11253%
ROC momentum
n=18, threshold=-0.14
13.3%-56.5% 0.540.2427.8x 9397%
SMA crossover
fast=28, slow=85
13.0%-42.9% 0.590.3026.1x 7258%
Donchian channel breakout
entryN=38, exitN=50
12.8%-46.4% 0.570.2824.7x 6462%
EMA crossover
fast=56, slow=82
12.3%-45.1% 0.560.2722.2x 5561%
Supertrend
period=29, mult=4.5
9.8%-51.9% 0.500.1912.0x 10453%
Parabolic SAR
step=0.005, maxStep=0.02
8.2%-64.3% 0.440.138.2x 13455%
Bollinger band breakout
n=46, k=1.3
7.2%-41.1% 0.420.176.3x 17043%
Keltner channel breakout
emaPeriod=45, atrPeriod=24, mult=1.7
6.8%-49.0% 0.400.145.7x 17842%
ADX / DI directional
period=35, threshold=23
5.4%-42.6% 0.440.134.0x 228%
Buy & hold15.0%-64.8% 0.570.2341.8x 1100%
1x 10x 2001 2005 2009 2013 2017 2021 2025 MACDBuy & hold
MACD (solid) vs buy and hold (dashed). Log scale.
0% -16% -32% -49% -65% 2001 2005 2009 2013 2017 2021 2025 Buy & holdMACD
MACD maximum drawdown -41.0% (2017-07-20 peak → 2019-09-17 trough) · recovered after 1,264 days. Buy and hold uses the same 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

MACD

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

CAGR
13.8%
Max drawdown
-41.0%
Sharpe
0.64
Trades
112
Time in market
53%
Win rate
51%

ROC momentum

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

CAGR
13.3%
Max drawdown
-56.5%
Sharpe
0.54
Trades
93
Time in market
97%
Win rate
51%

SMA crossover

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

CAGR
13.0%
Max drawdown
-42.9%
Sharpe
0.59
Trades
72
Time in market
58%
Win rate
52%

Donchian channel breakout

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

CAGR
12.8%
Max drawdown
-46.4%
Sharpe
0.57
Trades
64
Time in market
62%
Win rate
52%

EMA crossover

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

CAGR
12.3%
Max drawdown
-45.1%
Sharpe
0.56
Trades
55
Time in market
61%
Win rate
51%

Supertrend

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

CAGR
9.8%
Max drawdown
-51.9%
Sharpe
0.50
Trades
104
Time in market
53%
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.2%
Max drawdown
-41.1%
Sharpe
0.42
Trades
170
Time in market
43%
Win rate
50%

Keltner channel breakout

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

CAGR
6.8%
Max drawdown
-49.0%
Sharpe
0.40
Trades
178
Time in market
42%
Win rate
50%

ADX / DI directional

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

CAGR
5.4%
Max drawdown
-42.6%
Sharpe
0.44
Trades
22
Time in market
8%
Win rate
51%
Backtest Samsung Electronics yourselfSet up live trading

Read next