MACD crossover on Datadog Inc. (DDOG): a backtest since 2019

From Nov 7, 2019 to Nov 19, 2026, the MACD crossover rule returned 23% on DDOG, against 399% for buying and holding DDOG over the same days.

Its worst drop was -71%, against -68% for holding.

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

DDOG has less than ten years of stored prices, so the test begins on Nov 7, 2019.

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 DDOG: Golden cross (-20% vs 81% for holding) · RSI pullback (-12% vs 85% for holding) · Bollinger Band reversion (198% vs 415% for holding) · Donchian breakout (505% vs 415% for holding) · Trend and momentum (-54% vs 81% for holding) · 200-day line (23% vs 85% for holding) · Golden cross with a 10% stop (-20% vs 81% for holding) · Take profit at 20% (331% vs 298% for holding)

The MACD crossover rule on other stocks: NET (-12% vs 1693% for holding) · DKNG (18% vs 71% for holding) · LYFT (-8.1% vs -68% for holding) · DASH (-40% vs -19% for holding) · RIVN (-85% vs -89% for holding) · SOFI (-89% vs -32% for holding) · EBAY (145% vs 332% for holding) · BABA (-31% vs -6.2% 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