MACD crossover on Gilead Sciences Inc. (GILD): a 10-year backtest

From Nov 21, 2016 to Nov 19, 2026, the MACD crossover rule returned 13% on GILD, against 160% for buying and holding GILD over the same days.

Its worst drop was -46%, against -28% for holding.

The rule made 110 trades, and 36% of them made money.

The rule: Holds the stock from when the MACD(12,26) line crosses above its 9-day average until it crosses back below. Enters when MACD(12,26) crosses above MACD Signal(9). Exits when MACD(12,26) crosses below MACD Signal(9).

Run unchanged on 140 large US stocks from a fixed list, the MACD crossover rule beat buying and holding on 21 and did not on 119. Its worst drop was smaller than holding's on 101 of them.

Figures as of November 20, 2026. The live ones load with the page.

Other rules on GILD: Golden cross (91% vs 160% for holding) · RSI pullback (10% vs 160% for holding) · Bollinger Band reversion (90% vs 160% for holding) · Donchian breakout (-6.5% vs 160% for holding) · Trend and momentum (130% vs 160% for holding) · 200-day line (19% vs 160% for holding) · Golden cross with a 10% stop (93% vs 160% for holding) · Take profit at 20% (214% vs 160% for holding)

The MACD crossover rule on other stocks: CVS (-37% vs 39% for holding) · CI (-53% vs 119% for holding) · ELV (49% vs 221% for holding) · MDT (-6% vs 54% for holding) · ISRG (64% vs 456% for holding) · REGN (3.2% vs 133% for holding) · VRTX (-35% vs 478% for holding) · MRNA (2.3% vs 1253% for holding)

Each rule is a textbook example, run unchanged over the last ten years of stored daily prices. The rule and buying and holding start with the same cash and pay the same commission and slippage, before taxes. The stocks are a fixed list of large US companies, picked by size and not by how any rule did on them.

Hypothetical results from past prices. They do not reflect real trading, and past results do not predict future results. Nothing here is investment advice.

Data provided by Twelve Data.

MACD crossover: every stock · Every rule · Test a rule on any stock · Rexius Finance home