Trend-Following Backtester · Guide · backtest 한국어

equity · US

PBF Energy Inc. backtest

10 trend-following strategies were compared on the full daily history of PBF Energy Inc.. 10 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 20.7%, MDD -45.4%).

Data 2012-12-13 ~ 2026-07-31daily bars 3,427 (13.6 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

Results by strategy

10 of 10 beat buy and hold (CAGR 7.7%, drawdown -92.0%).

Sharpe leader (same as main): MACD — CAGR 25.3%, MDD -54.7%, Sharpe 0.72, 52% exposure.

Return/drawdown alternative: Supertrend — CAGR is 17.6%p higher than buy and hold, while drawdown improves by 37.3%p (CAGR 20.7%, MDD -45.4%, exposure 51%).

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
MACD
fast=10, slow=42, signal=12
25.3%-54.7%0.720.4621.7x20352%
Parabolic SAR
step=0.005, maxStep=0.12
21.8%-68.8%0.670.3214.6x12151%
Supertrend
period=8, mult=2.6
20.7%-45.4%0.670.4613.0x10351%
SMA 크로스오버
fast=34, slow=105
17.8%-61.8%0.610.299.3x3151%
볼린저 밴드 돌파
n=29, k=1.5
15.4%-59.4%0.560.267.0x11741%
Donchian 채널 돌파
entryN=62, exitN=72
14.3%-61.8%0.530.236.2x2354%
EMA 크로스오버
fast=6, slow=132
13.5%-57.9%0.520.235.6x6149%
ROC 모멘텀
n=15, threshold=-0.01
11.9%-74.3%0.470.164.7x32155%
ADX / DI 방향성
period=11, threshold=19
10.8%-63.2%0.460.174.0x25143%
Keltner 채널 돌파
emaPeriod=45, atrPeriod=16, mult=1.5
9.5%-51.6%0.430.183.5x8137%
Buy and hold7.7%-92.0%0.430.082.7x1100%
1x 10x 2013 2015 2017 2019 2021 2023 2025 MACDBuy and hold
MACD: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -23% -46% -69% -92% 2013 2015 2017 2019 2021 2023 2025 Buy and holdMACD
MACD maximum drawdown -54.7% (2024-04-05 → 2025-04-04), recovered after 698 days.

Rules of the top strategy

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

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