Momentum indicators

MACD Indicator: Formula, What 12, 26, 9 Means, and the Signal Line Rule on Real Prices

Appel’s MACD from its documented formula: the 12 and 26 EMA gap, the 9-period signal line, where Aspray’s histogram came from, and what buying every signal line cross gave on a year of the S&P 500 ETF.

· Founder of PatternsWizard
Checked 7 min read
MACD(12, 26, 9) on S&P 500 ETF, dividend-adjusted prices, daily, August 5, 2026 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
On this page
  1. How MACD is calculated
  2. How to read MACD
  3. What 12, 26, 9 means, and why it matters
  4. The signal line rule on real prices
  5. Does it work?
  6. Tested on our bench
  7. Frequently asked questions

Every pattern's results on one sheet

The only pattern cheat sheet with tested stats: 152 patterns, what the textbook says and what really happened on 6 markets. Free PDF, sent to your inbox.

The PDF by email, plus our newsletter: new tests and results that change. Unsubscribe anytime. Privacy.

MACD, the Moving Average Convergence Divergence, is the gap between a 12-period and a 26-period exponential moving average of the close. Gerald Appel created it in the late 1970s. A 9-period average of MACD, the signal line, is drawn on top, and the difference between the two, the histogram, was added later. The three pieces give three readings: the sign of MACD, its crosses with the signal line, and divergences with the price. Below, the formula, what “12, 26, 9” means, and what the signal line crosses gave on a year of the daily S&P 500 ETF.

MACD(12, 26, 9) on the daily S&P 500 ETF

MACD(12, 26, 9) on S&P 500 ETF, dividend-adjusted prices, daily, October 30, 2025 to October 28, 2026. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • MACD, EMA(12) − EMA(26) (solid line)
  • Signal, EMA(9) (solid line, second color)
  • Histogram, MACD − signal
MACD(12, 26, 9) on S&P 500 ETF, dividend-adjusted prices, daily, October 30, 2025 to October 28, 2026. Illustration of how the indicator reads, not a backtest.

How MACD is calculated

MACD is a moving average difference: when the 12-period average is above the 26-period average, MACD is positive and the shorter-term trend is up. The signal line smooths MACD itself, and the histogram shows how far MACD is from its signal line.

StockCharts credits the histogram to Thomas Aspray, who “developed the MACD-Histogram to anticipate signal line crossovers in MACD.” His own first version, which he writes he completed in the fall of 1986 and presented in Stocks and Commodities in August 1988, was not quite the one platforms draw today: he describes it as “a 10-day momentum (with 3-day smoothing) of the MACD in histogram form.” The modern histogram is simply MACD minus its signal line.

The histogram crosses zero when MACD crosses its signal line

The histogram crosses zero when MACD crosses its signal line: top panel: a MACD line and a dashed signal line that follows it with a lag, both rising and falling with a regular wave. Bottom panel: the histogram, the MACD line minus the signal line, with green bars above zero and red bars below. Vertical guides at each point where the two lines cross reach down to the histogram, where the bars pass through zero; the bars shrink in the days before each cross as the two lines converge.
Schematic, not market data. The standard settings, computed on an abstract wave, not on prices.The histogram is the gap between the two lines: it shrinks as they converge and passes through zero on the day they cross.

How to read MACD

SignalWhat happensUsual reading
Signal line crossMACD crosses its 9-period average; the histogram changes signUp: bullish; down: bearish
Centerline crossMACD changes sign: the 12 EMA crosses the 26 EMAAbove zero: shorter trend up
DivergencePrice makes a new high or low that MACD does not confirmThe move may be weakening

Signal line crosses and histogram sign changes are the same event: the histogram is zero exactly when MACD equals its signal line. A shrinking histogram only says a cross is getting closer, which was Aspray’s point. On divergence, see our dedicated page. The same reading on the RSI, with every case on Bitcoin and the S&P 500 ETF, is on our page about RSI divergence.

What 12, 26, 9 means, and why it matters

The three numbers are the fast average, the slow average and the signal average. They are a convention, not a law: Aspray himself wrote that by changing them “the results are dramatically different.” On the daily S&P 500 ETF, over the 250 days from October 30, 2025 to October 28, 2026, the standard 12, 26, 9 gave 23 signal line crosses and 12 zero line crosses. A faster 8, 17, 9 gave 27 and 21, and a 5, 35, 5 setting gave 40 and 16.

Crosses on the same 250 days, by MACD setting

Crosses on the same 250 days, by MACD setting. 12, 26, 9 (standard): Signal line crosses 23, Zero line crosses 12; 8, 17, 9: Signal line crosses 27, Zero line crosses 21; 5, 35, 5: Signal line crosses 40, Zero line crosses 16. Our computation; the inputs and the method are in the text.
  • Signal line crosses
  • Zero line crosses
Our computation; the inputs and the method are in the text.Daily S&P 500 ETF closes, dividend-adjusted, October 30, 2025 to October 28, 2026.

On this window, shortening the two price averages to 8 and 17 added nine zero line crosses and four signal line crosses, and the 5, 35, 5 setting nearly doubled the signal line crosses. The relation is not smooth: with 12 and 26, a 5-period signal line gave the same 23 crosses as the 9-period one, and a 3-period one gave 38. More crosses mean more trades, each paying costs, with no guarantee that the extra signals are better ones.

The signal line rule on real prices

We applied the simplest MACD rule, long only, to the same window: buy at the close of an upward signal line cross, sell at the close of the next downward cross. On October 30, 2025, the first day of the window, MACD was already above its signal line, from a buy on October 24 at 670.02; that trade was sold on November 5 at 670.35, +0.05%. The trades opened inside the window follow; results are computed on unrounded closes, so the last digit can differ from a division of the closes shown.

BuyCloseSellCloseResult
November 28, 2025676.10December 16671.62−0.66%
December 23682.63January 2, 2026677.88−0.70%
January 6, 2026686.45January 16686.30−0.02%
January 28690.03January 30686.61−0.50%
February 2690.02February 3684.19−0.85%
February 25687.78March 2681.06−0.98%
April 2652.52May 18734.93+12.63%
July 6749.42July 17741.45−1.06%
August 3755.79August 20760.71+0.65%
September 21773.50September 30762.63−1.41%
October 2769.64October 15771.79+0.28%

The 11 signal line trades opened in the window

The 11 signal line trades opened in the window. Nov 28 to Dec 16, 2025: −0.66%; Dec 23, 2025 to Jan 2, 2026: −0.70%; Jan 6 to Jan 16: −0.02%; Jan 28 to Jan 30: −0.50%; Feb 2 to Feb 3: −0.85%; Feb 25 to Mar 2: −0.98%; Apr 2 to May 18: +12.63%; Jul 6 to Jul 17: −1.06%; Aug 3 to Aug 20: +0.65%; Sep 21 to Sep 30: −1.41%; Oct 2 to Oct 15: +0.28%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.MACD(12, 26, 9), long only, buy and sell at the close of the cross, daily S&P 500 ETF, no costs; dates in 2026 unless stated.

Three of the 11 trades won, four of the 12 if the trade open at the window start is counted. The 11 compound to +6.85% before costs, against +14.83% for buying and holding from 672.57 to 772.31. All of the gain, and more, came from one trade, the April 2 buy near the spring low, held for six weeks of rally: it made +12.63% on its own, and without it the other ten trades compounded to −5.13%. The eight losses were small, six of them under 1%: many quick exits in the sideways months, and one trend that paid for them.

Does it work?

Our bench tested the main MACD rules across markets after costs, and the results are in the section below: buying a signal line cross or a zero line cross lagged the market, selling a signal line cross lagged it by a small, fragile margin, and the trend filtered crosses, the histogram turns and the divergences showed no edge or were inconclusive (see our methodology). The trades above are one market over one year, worked through to show how the rule behaves, not a test. To judge what MACD adds, compare its bench results with those of a plain moving average crossover, which MACD is built on.

For other momentum tools, see the RSI, the stochastic oscillator, or the full list of momentum indicators.

Data from our test bench

Tested on our bench

We coded the 18 strategies taught on this page, buy and sell side, and ran them on stocks, ETFs, indices, forex, crypto and commodities. With all markets pooled (daily bars): 4 did worse than the market, 11 showed no edge, 3 were inconclusive or not measured.

MACD crosses its signal line, bullishLagged the market

Entry: MACD(12,26) closes above its 9-bar EMA signal line after a close at or below it. Exit: Opposite signal (stop and reverse).

The trade itself made money on average, but less than the rest of the market over the same bars.

In detail, all markets pooled

On daily bars, the rule fired 336,504 times on 2,355 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 25 bars on each asset.

The average trade returned +0.60% before costs and the median trade −1.33%; 37% of trades made money, and the gains added up to 1.21 times the losses.

A trade lasted 10 bars at the median, half of them between 4 and 19 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.21% per trade after costs (95% interval −0.27% to −0.16%).

Signals
336,5042,355 assets, 1970 to 2026
Average trade
+0.60%before costs; median −1.33%
Winning trades
37%profit factor 1.21
Median hold
10 barshalf between 4 and 19
Vs the market, after costs
−0.21%95% interval −0.27% to −0.16%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal49.9%51.7%52.0%53.4%54.6%
Random dates50.6%52.0%52.6%53.6%54.7%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 2012112,192−0.19%
2012 to 2021112,174−0.10%
2021 to 2026112,138−0.04%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs−0.21%
Entry at the next bar's open−0.24%Holds
Trading costs doubled−0.32%Holds
1% most extreme trades trimmed on each side−0.37%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 38% of 335,109 trades hit the target first, for +0.15 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −95.3% on CYN, signal of 2025-01-07.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD crosses its signal line, bullish: real trade on TRX/USDT, 2026-07-20, daily chart
Most recentTRX 2026-07-20 daily chartBought at the close of 2026-07-20 (0.3269), sold 8 bars later, when the exit rule fired (0.3248): −0.6% before costs.Against the other crypto pairs over the same bars, after costs: +5.3%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily292,496+0.56%38%−0.23%Lagged the market
ETFsdaily10,381+0.41%41%−0.06%No edge found
Indicesdaily5,523+0.55%42%n/aNot measured
Forexdaily3,554+0.03%35%−0.02%No edge found
Cryptodaily21,462+1.31%29%−0.03%No edge found
Commoditiesdaily3,088+0.34%37%−0.16%No edge found
All markets4-hour164,940+0.03%32%−0.29%Lagged the market
Forex4-hour21,405−0.02%34%−0.05%Lagged the market
Crypto4-hour143,535+0.03%32%−0.33%Lagged the market
All marketsweekly61,990+3.07%40%−0.42%Inconclusive
Stocksweekly55,527+2.64%40%−0.44%Inconclusive
ETFsweekly2,119+1.89%44%−0.02%No edge found
Indicesweekly1,147+2.62%45%−0.08%No edge found
Forexweekly736−0.37%32%−0.32%No edge found
Cryptoweekly1,830+27.12%36%n/aNot measured
Commoditiesweekly631+3.14%38%−0.21%No edge found
MACD crosses its signal line, bearishLagged the market, fragile

Entry: MACD(12,26) closes below its 9-bar EMA signal line after a close at or above it. Exit: Opposite signal (stop and reverse).

In detail, all markets pooled

On daily bars, the rule fired 338,576 times on 2,358 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 25 bars on each asset.

The average trade returned −0.68% before costs and the median trade −2.06%; 31% of trades made money, and the gains added up to only 0.79 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 10 bars at the median, half of them between 4 and 18 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.16% per trade after costs (95% interval −0.21% to −0.12%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
338,5762,358 assets, 1970 to 2026
Average trade
−0.68%before costs; median −2.06%
Winning trades
31%profit factor 0.79
Median hold
10 barshalf between 4 and 18
Vs the market, after costs
−0.16%95% interval −0.21% to −0.12%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal47.7%47.3%46.6%46.2%45.5%
Random dates48.2%47.4%47.0%46.1%45.2%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 2012112,873−0.10%
2012 to 2021112,967−0.05%
2021 to 2026112,736−0.03%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs−0.16%
Entry at the next bar's open−0.15%Does not hold
Trading costs doubled−0.27%Holds
1% most extreme trades trimmed on each side−0.15%Does not hold

The result no longer holds when entering at the next bar's open instead of the signal close or trimming the 1% most extreme trades on each side.

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 336,332 trades hit the target first, for −0.15 R per trade on average against −0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −378.6% on NU/USDT, signal of 2021-10-13.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD crosses its signal line, bearish: real trade on FIL/USDT, 2026-07-19, daily chart
Most recentFIL 2026-07-19 daily chartSold short at the close of 2026-07-19 (0.7200), bought back 3 bars later, when the exit rule fired (0.7624): −5.9% before costs.Against the other crypto pairs over the same bars, after costs: −5.6%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily293,610−0.80%30%−0.18%Lagged the market
ETFsdaily10,371−0.46%29%−0.04%No edge found
Indicesdaily5,523−0.36%30%n/aNot measured
Forexdaily3,559−0.01%34%−0.02%No edge found
Cryptodaily22,391+0.52%42%−0.05%No edge found
Commoditiesdaily3,122−0.53%32%−0.16%No edge found
All markets4-hour165,878−0.04%36%−0.28%Lagged the market
Forex4-hour21,589−0.03%33%−0.05%Lagged the market
Crypto4-hour144,289−0.04%36%−0.32%Lagged the market
All marketsweekly64,433−3.09%27%−0.17%No edge found
Stocksweekly57,728−3.28%26%−0.17%No edge found
ETFsweekly2,147−1.95%24%−0.03%No edge found
Indicesweekly1,153−1.50%26%−0.06%No edge found
Forexweekly740−0.36%33%−0.24%No edge found
Cryptoweekly2,027−0.44%51%n/aNot measured
Commoditiesweekly638−1.30%32%−0.49%No edge found
MACD crosses 0, bullishLagged the market

Entry: MACD closes above 0 after a close at or below it. Exit: Opposite signal (stop and reverse).

The trade itself made money on average, but less than the rest of the market over the same bars.

In detail, all markets pooled

On daily bars, the rule fired 143,361 times on 2,341 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 59 bars on each asset.

The average trade returned +1.68% before costs and the median trade −2.45%; 33% of trades made money, and the gains added up to 1.45 times the losses.

A trade lasted 22 bars at the median, half of them between 8 and 45 bars. 5% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.31% per trade after costs (95% interval −0.45% to −0.19%).

Signals
143,3612,341 assets, 1970 to 2026
Average trade
+1.68%before costs; median −2.45%
Winning trades
33%profit factor 1.45
Median hold
22 barshalf between 8 and 45
Vs the market, after costs
−0.31%95% interval −0.45% to −0.19%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal49.8%51.3%52.3%54.2%55.1%
Random dates50.6%52.0%52.6%53.6%54.6%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201247,803−0.26%
2012 to 202147,781−0.22%
2021 to 202647,777−0.14%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs−0.31%
Entry at the next bar's open−0.33%Holds
Trading costs doubled−0.42%Holds
1% most extreme trades trimmed on each side−0.64%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 39% of 142,616 trades hit the target first, for +0.18 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −84.7% on BNED, signal of 2024-05-22.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD crosses 0, bullish: real trade on LTC/USDT, 2026-07-16, daily chart
Most recentLTC 2026-07-16 daily chartBought at the close of 2026-07-16 (44.94), sold 17 bars later, when the exit rule fired (44.69): −0.6% before costs.Against the other crypto pairs over the same bars, after costs: +8.0%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily125,166+1.37%34%−0.30%Lagged the market
ETFsdaily4,229+1.39%39%+0.13%No edge found
Indicesdaily2,253+1.65%39%n/aNot measured
Forexdaily1,621−0.09%28%−0.14%No edge found
Cryptodaily8,729+6.79%24%−0.76%No edge found
Commoditiesdaily1,363+0.99%30%−0.39%No edge found
All markets4-hour71,389+0.46%26%−0.39%Lagged the market
Forex4-hour9,352−0.01%30%−0.05%No edge found
Crypto4-hour62,037+0.53%25%−0.45%Lagged the market
All marketsweekly25,016+9.24%37%n/aNot measured
Stocksweekly22,195+8.52%37%−0.66%No edge found
ETFsweekly748+8.60%46%n/aNot measured
Indicesweekly404+9.32%48%+0.01%No edge found
Forexweekly329−1.18%23%n/aNot measured
Cryptoweekly1,038+42.62%29%n/aNot measured
Commoditiesweekly302+5.34%31%−1.77%No edge found
MACD crosses 0, bearishNo edge found

Entry: MACD closes below 0 after a close at or above it. Exit: Opposite signal (stop and reverse).

In detail, all markets pooled

On daily bars, the rule fired 146,518 times on 2,350 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 58 bars on each asset.

The average trade returned −1.18% before costs and the median trade −3.19%; 25% of trades made money, and the gains added up to only 0.73 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 18 bars at the median, half of them between 7 and 36 bars. 2% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.16% per trade after costs (95% interval −0.26% to −0.06%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
146,5182,350 assets, 1970 to 2026
Average trade
−1.18%before costs; median −3.19%
Winning trades
25%profit factor 0.73
Median hold
18 barshalf between 7 and 36
Vs the market, after costs
−0.16%95% interval −0.26% to −0.06%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal47.0%46.8%46.4%46.5%45.4%
Random dates48.2%47.5%47.0%46.2%45.3%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201248,846+0.02%
2012 to 202148,847−0.08%
2021 to 202648,825−0.12%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 145,328 trades hit the target first, for −0.15 R per trade on average against −0.16 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −385.7% on NU/USDT, signal of 2021-10-12.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD crosses 0, bearish: real trade on BCH/USDT, 2026-07-18, daily chart
Most recentBCH 2026-07-18 daily chartSold short at the close of 2026-07-18 (220.2), bought back 34 bars later, when the exit rule fired (288.5): −31.0% before costs.Against the other crypto pairs over the same bars, after costs: −19.8%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily127,200−1.58%24%−0.14%No edge found
ETFsdaily4,240−0.80%23%+0.09%No edge found
Indicesdaily2,255−0.53%24%n/aNot measured
Forexdaily1,622−0.18%29%−0.12%No edge found
Cryptodaily9,813+3.70%41%−0.60%No edge found
Commoditiesdaily1,388−0.94%26%−0.48%No edge found
All markets4-hour72,672+0.33%33%−0.34%Lagged the market
Forex4-hour9,351−0.03%28%−0.06%No edge found
Crypto4-hour63,321+0.38%34%−0.38%Lagged the market
All marketsweekly26,546−6.11%21%+0.23%No edge found
Stocksweekly23,677−6.08%21%+0.35%No edge found
ETFsweekly748−2.58%22%+0.64%No edge found
Indicesweekly402−2.53%21%+0.04%No edge found
Forexweekly332−0.86%25%n/aNot measured
Cryptoweekly1,098−17.65%32%n/aNot measured
Commoditiesweekly289−3.20%24%−1.65%No edge found
MACD signal cross on the far side of zero, bullishLagged the market

Entry: Upward signal-line cross while MACD is below zero. Exit: Opposite signal-line cross.

The trade itself made money on average, but less than the rest of the market over the same bars.

In detail, all markets pooled

On daily bars, the rule fired 184,770 times on 2,352 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 46 bars on each asset.

The average trade returned +0.86% before costs and the median trade −1.71%; 40% of trades made money, and the gains added up to 1.25 times the losses.

A trade lasted 15 bars at the median, half of them between 7 and 23 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.22% per trade after costs (95% interval −0.30% to −0.15%).

Signals
184,7702,352 assets, 1970 to 2026
Average trade
+0.86%before costs; median −1.71%
Winning trades
40%profit factor 1.25
Median hold
15 barshalf between 7 and 23
Vs the market, after costs
−0.22%95% interval −0.30% to −0.15%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal50.2%52.1%52.3%54.3%55.3%
Random dates50.5%51.7%52.3%53.2%54.0%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201261,606−0.13%
2012 to 202161,638−0.13%
2021 to 202661,526−0.08%

Stress tests

The same trades, measured again under harsher assumptions (vs market, after costs).

VariantVs marketResult
As tested: entry at the signal close, standard costs−0.22%
Entry at the next bar's open−0.24%Holds
Trading costs doubled−0.33%Holds
1% most extreme trades trimmed on each side−0.39%Holds

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 39% of 183,731 trades hit the target first, for +0.19 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −95.3% on CYN, signal of 2025-01-07.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD signal cross on the far side of zero, bullish: real trade on TRX/USDT, 2026-07-20, daily chart
Most recentTRX 2026-07-20 daily chartBought at the close of 2026-07-20 (0.3269), sold 8 bars later, when the exit rule fired (0.3248): −0.6% before costs.Against the other crypto pairs over the same bars, after costs: +5.3%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily157,569+0.94%41%−0.23%Lagged the market
ETFsdaily5,174+0.68%44%−0.11%No edge found
Indicesdaily2,689+0.85%46%n/aNot measured
Forexdaily2,185+0.02%37%−0.02%No edge found
Cryptodaily15,341+0.23%29%−0.20%No edge found
Commoditiesdaily1,812+0.15%36%−0.29%No edge found
All markets4-hour108,710−0.09%33%−0.33%Lagged the market
Forex4-hour13,378−0.03%34%−0.06%Lagged the market
Crypto4-hour95,332−0.10%33%−0.37%Lagged the market
All marketsweekly28,635+3.98%42%−1.01%Lagged the market
Stocksweekly25,045+3.75%42%−1.05%Lagged the market
ETFsweekly845+3.17%48%−0.51%No edge found
Indicesweekly455+3.26%48%−0.74%No edge found
Forexweekly465−0.48%33%−0.39%No edge found
Cryptoweekly1,449+13.95%35%n/aNot measured
Commoditiesweekly376+3.45%40%−0.62%No edge found
MACD signal cross on the far side of zero, bearishNo edge found

Entry: Downward signal-line cross while MACD is above zero. Exit: Opposite signal-line cross.

In detail, all markets pooled

On daily bars, the rule fired 239,903 times on 2,353 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 35 bars on each asset.

The average trade returned −0.74% before costs and the median trade −2.18%; 31% of trades made money, and the gains added up to only 0.77 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 13 bars at the median, half of them between 6 and 20 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.14% per trade after costs (95% interval −0.21% to −0.07%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
239,9032,353 assets, 1970 to 2026
Average trade
−0.74%before costs; median −2.18%
Winning trades
31%profit factor 0.77
Median hold
13 barshalf between 6 and 20
Vs the market, after costs
−0.14%95% interval −0.21% to −0.07%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal47.4%47.0%46.4%46.5%46.0%
Random dates48.1%47.2%46.7%45.8%44.8%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201179,978−0.10%
2011 to 202079,958−0.02%
2020 to 202679,967+0.03%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 238,419 trades hit the target first, for −0.15 R per trade on average against −0.16 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −351.7% on DOGE/USDT, signal of 2021-01-12.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD signal cross on the far side of zero, bearish: real trade on BCH/USDT, 2026-07-17, daily chart
Most recentBCH 2026-07-17 daily chartSold short at the close of 2026-07-17 (219.7), bought back 18 bars later, when the exit rule fired (213.4): +2.9% before costs.Against the other crypto pairs over the same bars, after costs: −4.9%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily211,216−0.83%31%−0.15%No edge found
ETFsdaily7,786−0.51%28%−0.01%No edge found
Indicesdaily4,239−0.47%29%n/aNot measured
Forexdaily2,314+0.05%36%+0.05%No edge found
Cryptodaily12,251+0.39%44%+0.02%No edge found
Commoditiesdaily2,097−0.60%32%−0.06%No edge found
All markets4-hour99,974−0.20%37%−0.32%Lagged the market
Forex4-hour13,630−0.02%35%−0.05%No edge found
Crypto4-hour86,344−0.23%38%−0.36%Lagged the market
All marketsweekly50,067−3.30%26%−0.20%No edge found
Stocksweekly45,366−3.45%26%−0.20%No edge found
ETFsweekly1,761−2.31%23%−0.12%No edge found
Indicesweekly939−2.15%24%−0.16%No edge found
Forexweekly461−0.38%34%−0.29%No edge found
Cryptoweekly1,105−1.15%53%n/aNot measured
Commoditiesweekly435−0.95%33%+0.07%No edge found
MACD signal cross with the 200-bar trend, bullishNo edge found

Entry: Upward signal-line cross while the close is above its 200-bar SMA. Exit: Opposite signal-line cross.

In detail, all markets pooled

On daily bars, the rule fired 207,673 times on 2,256 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 41 bars on each asset.

The average trade returned +0.38% before costs and the median trade −1.16%; 36% of trades made money, and the gains added up to 1.18 times the losses.

A trade lasted 9 bars at the median, half of them between 4 and 15 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.17% per trade after costs (95% interval −0.25% to −0.10%).

Signals
207,6732,256 assets, 1970 to 2026
Average trade
+0.38%before costs; median −1.16%
Winning trades
36%profit factor 1.18
Median hold
9 barshalf between 4 and 15
Vs the market, after costs
−0.17%95% interval −0.25% to −0.10%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal50.1%51.8%52.0%53.2%54.5%
Random dates50.8%52.3%53.1%54.3%55.5%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201169,230−0.19%
2011 to 202069,260−0.01%
2020 to 202669,183−0.01%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 38% of 206,998 trades hit the target first, for +0.13 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −85.2% on OM/USDT, signal of 2025-04-09.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD signal cross with the 200-bar trend, bullish: real trade on TRX/USDT, 2026-07-20, daily chart
Most recentTRX 2026-07-20 daily chartBought at the close of 2026-07-20 (0.3269), sold 8 bars later, when the exit rule fired (0.3248): −0.6% before costs.Against the other crypto pairs over the same bars, after costs: +5.3%.SMA 200MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily186,868+0.32%37%−0.20%Inconclusive
ETFsdaily7,078+0.37%40%+0.04%Inconclusive
Indicesdaily3,797+0.49%41%n/aNot measured
Forexdaily1,558−0.02%33%−0.08%No edge found
Cryptodaily6,869+2.27%28%+0.40%No edge found
Commoditiesdaily1,503+0.36%37%−0.26%No edge found
All markets4-hour71,069+0.32%32%−0.24%No edge found
Forex4-hour10,779−0.02%34%−0.05%Inconclusive
Crypto4-hour60,290+0.38%31%−0.27%No edge found
All marketsweekly43,084+1.60%39%−0.34%No edge found
Stocksweekly39,997+1.64%39%−0.37%No edge found
ETFsweekly1,553+0.73%42%−0.06%No edge found
Indicesweekly871+1.61%43%+0.02%No edge found
Forexweekly260−0.71%24%−0.76%Lagged the market
Cryptoweekly107+2.11%34%n/aNot measured
Commoditiesweekly296+2.13%39%−0.08%No edge found
MACD signal cross with the 200-bar trend, bearishNo edge found

Entry: Downward signal-line cross while the close is below its 200-bar SMA. Exit: Opposite signal-line cross.

In detail, all markets pooled

On daily bars, the rule fired 122,124 times on 2,312 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1971 and 2026, about once every 69 bars on each asset.

The average trade returned −0.51% before costs and the median trade −2.04%; 32% of trades made money, and the gains added up to only 0.85 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 8 bars at the median, half of them between 4 and 14 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.11% per trade after costs (95% interval −0.20% to −0.01%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
122,1242,312 assets, 1971 to 2026
Average trade
−0.51%before costs; median −2.04%
Winning trades
32%profit factor 0.85
Median hold
8 barshalf between 4 and 14
Vs the market, after costs
−0.11%95% interval −0.20% to −0.01%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal48.5%48.0%47.3%46.9%45.7%
Random dates48.5%47.9%47.6%47.0%46.4%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1971 to 201340,720+0.03%
2013 to 202240,762+0.06%
2022 to 202640,642−0.11%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 121,282 trades hit the target first, for −0.14 R per trade on average against −0.14 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −199.6% on VTHO/USDT, signal of 2025-01-20.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD signal cross with the 200-bar trend, bearish: real trade on FIL/USDT, 2026-07-19, daily chart
Most recentFIL 2026-07-19 daily chartSold short at the close of 2026-07-19 (0.7200), bought back 3 bars later, when the exit rule fired (0.7624): −5.9% before costs.Against the other crypto pairs over the same bars, after costs: −5.6%.SMA 200MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily101,825−0.67%31%−0.09%No edge found
ETFsdaily3,127−0.30%31%+0.03%No edge found
Indicesdaily1,559−0.08%34%n/aNot measured
Forexdaily1,579−0.08%32%−0.08%No edge found
Cryptodaily12,739+0.66%41%−0.31%No edge found
Commoditiesdaily1,295−0.58%31%−0.44%Inconclusive
All markets4-hour93,402+0.23%36%−0.29%Lagged the market
Forex4-hour10,526−0.03%32%−0.06%Inconclusive
Crypto4-hour82,876+0.26%36%−0.32%Lagged the market
All marketsweekly14,386−3.17%28%−0.13%No edge found
Stocksweekly12,739−3.43%28%−0.15%No edge found
ETFsweekly368−1.66%25%+0.41%No edge found
Indicesweekly198−0.48%31%+0.35%No edge found
Forexweekly356−0.44%32%−0.39%No edge found
Cryptoweekly498+3.11%47%n/aNot measured
Commoditiesweekly227−2.70%30%−2.13%Inconclusive
MACD histogram turns, bullishNo edge found

Entry: Histogram below zero rises after falling (MACD - signal turns up). Exit: Opposite signal (stop and reverse).

In detail, all markets pooled

On daily bars, the rule fired 675,904 times on 2,356 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 13 bars on each asset.

The average trade returned +0.73% before costs and the median trade +1.35%; 63% of trades made money, and the gains added up to 1.27 times the losses.

A trade lasted 13 bars at the median, half of them between 8 and 20 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.11% per trade after costs (95% interval −0.18% to −0.04%).

Signals
675,9042,356 assets, 1970 to 2026
Average trade
+0.73%before costs; median +1.35%
Winning trades
63%profit factor 1.27
Median hold
13 barshalf between 8 and 20
Vs the market, after costs
−0.11%95% interval −0.18% to −0.04%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal50.1%52.3%52.6%53.5%55.0%
Random dates50.6%51.9%52.6%53.6%54.6%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 2012225,309+0.04%
2012 to 2020225,484+0.02%
2020 to 2026225,111−0.08%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 38% of 672,625 trades hit the target first, for +0.16 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −91.3% on CYN, signal of 2024-12-06.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD histogram turns, bullish: real trade on SOL/USDT, 2026-07-19, daily chart
Most recentSOL 2026-07-19 daily chartBought at the close of 2026-07-19 (76.38), sold 24 bars later, when the exit rule fired (75.63): −1.0% before costs.Against the other crypto pairs over the same bars, after costs: +6.2%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily586,506+0.87%64%−0.08%No edge found
ETFsdaily21,232+0.54%67%−0.10%No edge found
Indicesdaily11,366+0.70%68%n/aNot measured
Forexdaily7,314+0.03%58%−0.06%No edge found
Cryptodaily43,329−1.02%48%−0.52%Inconclusive
Commoditiesdaily6,157+0.56%60%−0.15%No edge found
All markets4-hour323,710−0.04%55%−0.12%Inconclusive
Forex4-hour41,253+0.01%58%−0.02%No edge found
Crypto4-hour282,457−0.05%55%−0.14%No edge found
All marketsweekly118,364+3.53%68%−0.17%No edge found
Stocksweekly105,959+3.46%68%−0.18%No edge found
ETFsweekly4,061+1.25%69%−0.26%No edge found
Indicesweekly2,216+2.03%71%−0.11%No edge found
Forexweekly1,495+0.35%59%+0.27%No edge found
Cryptoweekly3,409+16.01%49%n/aNot measured
Commoditiesweekly1,224+0.93%60%+0.10%No edge found
MACD histogram turns, bearishNo edge found

Entry: Histogram above zero falls after rising. Exit: Opposite signal (stop and reverse).

In detail, all markets pooled

On daily bars, the rule fired 694,392 times on 2,357 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 12 bars on each asset.

The average trade returned −0.84% before costs and the median trade +0.29%; 53% of trades made money, and the gains added up to only 0.77 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 13 bars at the median, half of them between 8 and 20 bars.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.03% per trade after costs (95% interval −0.11% to +0.04%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
694,3922,357 assets, 1970 to 2026
Average trade
−0.84%before costs; median +0.29%
Winning trades
53%profit factor 0.77
Median hold
13 barshalf between 8 and 20
Vs the market, after costs
−0.03%95% interval −0.11% to +0.04%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal48.2%47.9%47.3%46.3%45.8%
Random dates48.2%47.5%47.0%46.2%45.4%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 2012231,474+0.11%
2012 to 2021231,483+0.10%
2021 to 2026231,435−0.004%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 690,427 trades hit the target first, for −0.15 R per trade on average against −0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −2,157.7% on CHZ/USDT, signal of 2021-02-04.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD histogram turns, bearish: real trade on ETC/USDT, 2026-07-19, daily chart
Most recentETC 2026-07-19 daily chartSold short at the close of 2026-07-19 (6.95), bought back 11 bars later, when the exit rule fired (6.77): +2.6% before costs.Against the other crypto pairs over the same bars, after costs: −5.7%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily596,193−0.86%52%−0.02%Inconclusive
ETFsdaily21,460−0.64%48%−0.07%No edge found
Indicesdaily11,047−0.61%49%n/aNot measured
Forexdaily7,314−0.03%57%−0.10%No edge found
Cryptodaily52,066−0.96%65%−0.15%No edge found
Commoditiesdaily6,312−0.34%56%−0.05%No edge found
All markets4-hour351,648−0.06%60%−0.07%Inconclusive
Forex4-hour42,964+0.004%57%−0.02%No edge found
Crypto4-hour308,684−0.07%60%−0.08%Inconclusive
All marketsweekly138,956−4.82%48%−0.12%No edge found
Stocksweekly123,140−4.70%47%−0.12%No edge found
ETFsweekly4,581−2.83%42%−0.01%No edge found
Indicesweekly2,538−3.06%42%−0.23%No edge found
Forexweekly1,489+0.24%59%+0.19%No edge found
Cryptoweekly5,807−15.40%68%n/aNot measured
Commoditiesweekly1,401−3.92%53%+0.20%No edge found
MACD regular bullish divergenceInconclusive

Entry: Price makes a lower swing low while MACD makes a higher value at that swing low. Swing = bar whose low (high) is the extreme of the 5 bars on each side, known 5 bars later; the two swings are consecutive and 5 to 60 bars apart. Signal at the close of the bar that confirms the second swing. Exit: Fixed horizon: 20 bars.

In detail, all markets pooled

On daily bars, the rule fired 47,124 times on 2,330 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 180 bars on each asset.

The average trade returned +1.38% before costs and the median trade +1.13%; 55% of trades made money, and the gains added up to 1.33 times the losses.

A trade lasted 20 bars at the median, half of them between 20 and 20 bars. 100% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended +0.06% per trade after costs (95% interval −0.10% to +0.24%).

Signals
47,1242,330 assets, 1970 to 2026
Average trade
+1.38%before costs; median +1.13%
Winning trades
55%profit factor 1.33
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
+0.06%95% interval −0.10% to +0.24%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal48.9%50.0%51.0%53.7%54.9%
Random dates50.3%51.3%51.8%52.4%53.0%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201415,708+0.26%
2014 to 202215,926+0.12%
2022 to 202615,490+0.14%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 38% of 46,808 trades hit the target first, for +0.17 R per trade on average against +0.14 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −82.1% on OIS, signal of 2020-02-18.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD regular bullish divergence: real trade on CZR, 2026-09-30, daily chart
Most recentCZR 2026-09-30 daily chartBought at the close of 2026-09-30 (29.65), sold at the maximum holding time, 20 bars later (28.57): −3.6% before costs.Against the other stocks over the same bars, after costs: −7.1%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily38,761+1.61%56%+0.06%No edge found
ETFsdaily984+1.51%62%+0.13%No edge found
Indicesdaily496+1.39%65%n/aNot measured
Forexdaily515+0.25%54%+0.21%Inconclusive
Cryptodaily5,946+0.06%43%+0.05%No edge found
Commoditiesdaily422+0.23%50%+0.10%No edge found
All markets4-hour30,802+0.03%49%−0.26%No edge found
Forex4-hour3,703+0.01%50%−0.03%No edge found
Crypto4-hour27,099+0.03%48%−0.30%No edge found
All marketsweekly6,827+2.81%54%−0.93%No edge found
Stocksweekly5,260+4.85%57%−0.79%No edge found
ETFsweekly167+3.94%63%−0.48%No edge found
Indicesweekly96+6.25%73%+1.08%No edge found
Forexweekly99+0.26%49%+0.05%No edge found
Cryptoweekly1,103−8.23%32%n/aNot measured
Commoditiesweekly102+1.95%51%−0.92%No edge found
MACD regular bearish divergenceNo edge found

Entry: Price makes a higher swing high while MACD makes a lower value at that swing high. Swing = bar whose low (high) is the extreme of the 5 bars on each side, known 5 bars later; the two swings are consecutive and 5 to 60 bars apart. Signal at the close of the bar that confirms the second swing. Exit: Fixed horizon: 20 bars.

In detail, all markets pooled

On daily bars, the rule fired 71,582 times on 2,286 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 118 bars on each asset.

The average trade returned −0.91% before costs and the median trade −0.92%; 45% of trades made money, and the gains added up to only 0.77 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 20 bars at the median, half of them between 20 and 20 bars. 100% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.07% per trade after costs (95% interval −0.18% to +0.02%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
71,5822,286 assets, 1970 to 2026
Average trade
−0.91%before costs; median −0.92%
Winning trades
45%profit factor 0.77
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.07%95% interval −0.18% to +0.02%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal47.1%46.2%46.4%45.8%44.6%
Random dates48.0%47.1%46.5%45.5%44.3%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201123,905−0.01%
2011 to 201923,846−0.12%
2019 to 202623,831+0.21%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 27% of 71,246 trades hit the target first, for −0.17 R per trade on average against −0.17 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −516.9% on LUNA/USDT, signal of 2021-01-24.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD regular bearish divergence: real trade on HALO, 2026-09-30, daily chart
Most recentHALO 2026-09-30 daily chartSold short at the close of 2026-09-30 (110.4), bought back at the maximum holding time, 20 bars later (130.0): −17.8% before costs.Against the other stocks over the same bars, after costs: −13.8%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily64,339−0.92%44%−0.09%No edge found
ETFsdaily2,419−0.70%39%−0.05%No edge found
Indicesdaily1,345−0.69%40%n/aNot measured
Forexdaily539+0.12%51%+0.15%No edge found
Cryptodaily2,460−1.31%60%+0.15%No edge found
Commoditiesdaily480−0.66%48%+0.50%No edge found
All markets4-hour23,420−0.08%54%−0.12%No edge found
Forex4-hour3,902−0.004%50%−0.04%No edge found
Crypto4-hour19,518−0.10%54%−0.13%No edge found
All marketsweekly13,344−5.09%39%−0.40%No edge found
Stocksweekly12,217−5.15%39%−0.31%No edge found
ETFsweekly514−3.70%36%−0.35%No edge found
Indicesweekly304−4.05%34%−0.76%No edge found
Forexweekly103+0.14%47%+0.39%No edge found
Cryptoweekly113−13.26%71%n/aNot measured
Commoditiesweekly93−4.79%47%−0.63%No edge found
MACD hidden bullish divergenceNo edge found

Entry: Price makes a higher swing low while MACD makes a lower value at that swing low. Swing = bar whose low (high) is the extreme of the 5 bars on each side, known 5 bars later; the two swings are consecutive and 5 to 60 bars apart. Signal at the close of the bar that confirms the second swing. Exit: Fixed horizon: 20 bars.

In detail, all markets pooled

On daily bars, the rule fired 77,426 times on 2,312 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 110 bars on each asset.

The average trade returned +0.56% before costs and the median trade +0.68%; 54% of trades made money, and the gains added up to 1.16 times the losses.

A trade lasted 20 bars at the median, half of them between 20 and 20 bars. 100% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.17% per trade after costs (95% interval −0.29% to −0.06%).

Signals
77,4262,312 assets, 1970 to 2026
Average trade
+0.56%before costs; median +0.68%
Winning trades
54%profit factor 1.16
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.17%95% interval −0.29% to −0.06%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal50.9%51.7%51.9%52.7%53.8%
Random dates50.7%52.1%52.7%53.8%54.9%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201225,826−0.16%
2012 to 202025,791+0.09%
2020 to 202625,809−0.13%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 37% of 77,190 trades hit the target first, for +0.12 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −89.1% on OM/USDT, signal of 2025-03-27.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD hidden bullish divergence: real trade on TRX/USDT, 2026-10-06, daily chart
Most recentTRX 2026-10-06 daily chartBought at the close of 2026-10-06 (0.3355), sold at the maximum holding time, 20 bars later (0.3295): −1.8% before costs.Against the other crypto pairs over the same bars, after costs: +19.0%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily67,655+0.89%55%−0.15%No edge found
ETFsdaily2,266+0.65%59%+0.03%No edge found
Indicesdaily1,285+0.62%59%n/aNot measured
Forexdaily605−0.05%50%−0.19%No edge found
Cryptodaily5,048−3.75%34%−0.51%No edge found
Commoditiesdaily567+0.11%50%−0.72%No edge found
All markets4-hour32,166−0.28%43%−0.31%Inconclusive
Forex4-hour4,136−0.02%49%−0.04%No edge found
Crypto4-hour28,030−0.32%42%−0.34%No edge found
All marketsweekly14,705+5.41%59%−0.03%No edge found
Stocksweekly13,222+4.18%60%−0.04%No edge found
ETFsweekly544+2.32%63%+0.47%No edge found
Indicesweekly307+2.63%64%+0.13%No edge found
Forexweekly135+0.72%50%+0.46%No edge found
Cryptoweekly375+57.25%26%n/aNot measured
Commoditiesweekly122+5.56%55%+0.20%No edge found
MACD hidden bearish divergenceInconclusive

Entry: Price makes a lower swing high while MACD makes a higher value at that swing high. Swing = bar whose low (high) is the extreme of the 5 bars on each side, known 5 bars later; the two swings are consecutive and 5 to 60 bars apart. Signal at the close of the bar that confirms the second swing. Exit: Fixed horizon: 20 bars.

In detail, all markets pooled

On daily bars, the rule fired 54,251 times on 2,336 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 156 bars on each asset.

The average trade returned −1.49% before costs and the median trade −1.00%; 45% of trades made money, and the gains added up to only 0.74 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 20 bars at the median, half of them between 20 and 20 bars. 100% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.31% per trade after costs (95% interval −0.49% to −0.13%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
54,2512,336 assets, 1970 to 2026
Average trade
−1.49%before costs; median −1.00%
Winning trades
45%profit factor 0.74
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.31%95% interval −0.49% to −0.13%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal47.4%47.1%46.7%46.3%45.3%
Random dates48.6%48.1%47.8%47.4%47.0%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201318,085−0.22%
2013 to 202218,082−0.12%
2022 to 202618,084−0.26%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 27% of 53,896 trades hit the target first, for −0.18 R per trade on average against −0.13 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −821.6% on WRX/USDT, signal of 2021-03-25.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD hidden bearish divergence: real trade on BTC/USDT, 2026-10-07, daily chart
Most recentBTC 2026-10-07 daily chartSold short at the close of 2026-10-07 (83,322), bought back at the maximum holding time, 20 bars later (80,910): +2.9% before costs.Against the other crypto pairs over the same bars, after costs: −12.3%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily43,883−1.63%43%−0.22%No edge found
ETFsdaily1,134−1.23%43%−0.25%No edge found
Indicesdaily563−1.39%41%n/aNot measured
Forexdaily584−0.21%47%−0.17%No edge found
Cryptodaily7,614−0.83%57%−0.84%Inconclusive
Commoditiesdaily473−1.45%46%−0.68%No edge found
All markets4-hour42,447−0.09%51%−0.12%No edge found
Forex4-hour3,964−0.01%49%−0.04%No edge found
Crypto4-hour38,483−0.10%51%−0.12%No edge found
All marketsweekly7,479−4.60%43%+0.20%No edge found
Stocksweekly6,044−6.38%40%+0.18%No edge found
ETFsweekly190−4.16%33%−0.11%No edge found
Indicesweekly97−4.24%34%+0.11%No edge found
Forexweekly117−0.47%50%−0.41%No edge found
Cryptoweekly928+7.39%67%n/aNot measured
Commoditiesweekly103−6.60%45%−1.79%No edge found
MACD histogram regular bullish divergenceNo edge found

Entry: Price makes a lower swing low while MACD histogram makes a higher value at that swing low. Swing = bar whose low (high) is the extreme of the 5 bars on each side, known 5 bars later; the two swings are consecutive and 5 to 60 bars apart. Signal at the close of the bar that confirms the second swing. Exit: Fixed horizon: 20 bars.

In detail, all markets pooled

On daily bars, the rule fired 80,729 times on 2,336 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 105 bars on each asset.

The average trade returned +0.99% before costs and the median trade +0.96%; 55% of trades made money, and the gains added up to 1.25 times the losses.

A trade lasted 20 bars at the median, half of them between 20 and 20 bars. 100% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.11% per trade after costs (95% interval −0.23% to +0.03%).

Signals
80,7292,336 assets, 1970 to 2026
Average trade
+0.99%before costs; median +0.96%
Winning trades
55%profit factor 1.25
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.11%95% interval −0.23% to +0.03%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal50.2%51.4%52.0%53.7%54.7%
Random dates50.5%51.7%52.2%53.1%53.9%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201226,979+0.04%
2012 to 202126,857+0.06%
2021 to 202626,893−0.11%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 38% of 80,058 trades hit the target first, for +0.15 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −92.9% on OM/USDT, signal of 2025-04-11.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD histogram regular bullish divergence: real trade on RRR, 2026-09-30, daily chart
Most recentRRR 2026-09-30 daily chartBought at the close of 2026-09-30 (49.54), sold at the maximum holding time, 20 bars later (48.42): −2.3% before costs.Against the other stocks over the same bars, after costs: −5.8%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily69,489+1.27%56%−0.07%No edge found
ETFsdaily2,028+0.69%58%−0.31%No edge found
Indicesdaily1,058+1.05%62%n/aNot measured
Forexdaily923+0.13%53%+0.07%No edge found
Cryptodaily6,462−1.73%40%−0.48%No edge found
Commoditiesdaily769+0.67%52%+0.06%No edge found
All markets4-hour43,374+0.07%48%−0.28%No edge found
Forex4-hour6,060+0.03%51%−0.01%No edge found
Crypto4-hour37,314+0.08%47%−0.32%No edge found
All marketsweekly12,189+2.94%54%−0.95%Inconclusive
Stocksweekly10,399+3.26%56%−1.16%Inconclusive
ETFsweekly305+4.13%65%−0.02%No edge found
Indicesweekly184+2.91%60%−0.23%No edge found
Forexweekly175−0.75%39%−0.84%No edge found
Cryptoweekly970−0.73%34%n/aNot measured
Commoditiesweekly156+4.14%57%+0.75%No edge found
MACD histogram regular bearish divergenceInconclusive

Entry: Price makes a higher swing high while MACD histogram makes a lower value at that swing high. Swing = bar whose low (high) is the extreme of the 5 bars on each side, known 5 bars later; the two swings are consecutive and 5 to 60 bars apart. Signal at the close of the bar that confirms the second swing. Exit: Fixed horizon: 20 bars.

In detail, all markets pooled

On daily bars, the rule fired 109,338 times on 2,325 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 78 bars on each asset.

The average trade returned −0.93% before costs and the median trade −0.80%; 45% of trades made money, and the gains added up to only 0.78 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 20 bars at the median, half of them between 20 and 20 bars. 100% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended +0.01% per trade after costs (95% interval −0.08% to +0.09%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
109,3382,325 assets, 1970 to 2026
Average trade
−0.93%before costs; median −0.80%
Winning trades
45%profit factor 0.78
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
+0.01%95% interval −0.08% to +0.09%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal46.7%45.9%46.7%46.3%45.5%
Random dates48.0%47.2%46.7%45.7%44.6%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201136,453+0.11%
2011 to 202036,444+0.05%
2020 to 202636,441+0.17%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 28% of 108,938 trades hit the target first, for −0.17 R per trade on average against −0.16 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −595.0% on WRX/USDT, signal of 2021-03-19.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD histogram regular bearish divergence: real trade on AVAX/USDT, 2026-10-04, daily chart
Most recentAVAX 2026-10-04 daily chartSold short at the close of 2026-10-04 (11.10), bought back at the maximum holding time, 20 bars later (8.99): +19.0% before costs.Against the other crypto pairs over the same bars, after costs: +2.2%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily97,206−0.88%45%+0.02%Inconclusive
ETFsdaily3,614−0.72%40%−0.01%No edge found
Indicesdaily1,964−0.68%41%n/aNot measured
Forexdaily989+0.12%51%+0.15%No edge found
Cryptodaily4,691−2.41%58%−0.28%No edge found
Commoditiesdaily874−0.89%46%−0.01%No edge found
All markets4-hour40,158+0.02%53%−0.05%Inconclusive
Forex4-hour6,357+0.01%50%−0.02%No edge found
Crypto4-hour33,801+0.02%54%−0.05%Inconclusive
All marketsweekly21,269−5.77%38%−0.59%Inconclusive
Stocksweekly19,401−5.98%38%−0.52%No edge found
ETFsweekly748−4.24%34%−0.69%Inconclusive
Indicesweekly410−4.30%33%+0.11%No edge found
Forexweekly194−0.13%49%+0.03%No edge found
Cryptoweekly351−3.05%72%n/aNot measured
Commoditiesweekly165−3.35%51%+0.24%No edge found
MACD histogram hidden bullish divergenceNo edge found

Entry: Price makes a higher swing low while MACD histogram makes a lower value at that swing low. Swing = bar whose low (high) is the extreme of the 5 bars on each side, known 5 bars later; the two swings are consecutive and 5 to 60 bars apart. Signal at the close of the bar that confirms the second swing. Exit: Fixed horizon: 20 bars.

In detail, all markets pooled

On daily bars, the rule fired 108,267 times on 2,348 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 78 bars on each asset.

The average trade returned +0.69% before costs and the median trade +0.63%; 53% of trades made money, and the gains added up to 1.19 times the losses.

A trade lasted 20 bars at the median, half of them between 20 and 20 bars. 100% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.16% per trade after costs (95% interval −0.27% to −0.06%).

Signals
108,2672,348 assets, 1970 to 2026
Average trade
+0.69%before costs; median +0.63%
Winning trades
53%profit factor 1.19
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.16%95% interval −0.27% to −0.06%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal49.8%50.8%51.1%52.4%53.4%
Random dates50.6%52.0%52.7%53.7%54.8%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201236,099−0.11%
2012 to 202036,082−0.01%
2020 to 202636,086−0.06%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 37% of 107,953 trades hit the target first, for +0.12 R per trade on average against +0.15 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −82.0% on BURGER/USDT, signal of 2025-03-02.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD histogram hidden bullish divergence: real trade on FIL/USDT, 2026-10-07, daily chart
Most recentFIL 2026-10-07 daily chartBought at the close of 2026-10-07 (1.05), sold at the maximum holding time, 20 bars later (0.9080): −13.8% before costs.Against the other crypto pairs over the same bars, after costs: −0.8%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily94,348+0.84%55%−0.14%No edge found
ETFsdaily3,199+0.60%58%−0.05%No edge found
Indicesdaily1,749+0.42%58%n/aNot measured
Forexdaily980+0.11%50%−0.06%No edge found
Cryptodaily7,105−1.23%35%−0.57%No edge found
Commoditiesdaily886+1.00%53%−0.36%No edge found
All markets4-hour47,946+0.01%45%−0.18%No edge found
Forex4-hour6,180−0.01%50%−0.06%No edge found
Crypto4-hour41,766+0.01%44%−0.20%No edge found
All marketsweekly21,266+6.32%60%+0.25%No edge found
Stocksweekly19,127+4.91%61%+0.31%No edge found
ETFsweekly734+2.94%63%+0.16%No edge found
Indicesweekly388+3.71%69%+0.01%No edge found
Forexweekly198+0.22%48%+0.03%No edge found
Cryptoweekly634+59.34%32%n/aNot measured
Commoditiesweekly185+2.48%51%−2.99%Inconclusive
MACD histogram hidden bearish divergenceNo edge found

Entry: Price makes a lower swing high while MACD histogram makes a higher value at that swing high. Swing = bar whose low (high) is the extreme of the 5 bars on each side, known 5 bars later; the two swings are consecutive and 5 to 60 bars apart. Signal at the close of the bar that confirms the second swing. Exit: Fixed horizon: 20 bars.

In detail, all markets pooled

On daily bars, the rule fired 83,630 times on 2,333 assets (stocks, ETFs, indices, currency pairs, crypto pairs and commodity futures) between 1970 and 2026, about once every 101 bars on each asset.

The average trade returned −0.95% before costs and the median trade −0.91%; 45% of trades made money, and the gains added up to only 0.81 times the losses. For this sell signal, a trade gains when the price falls (a short sale).

A trade lasted 20 bars at the median, half of them between 20 and 20 bars. 100% of trades never met the exit rule and were closed at the maximum holding time.

Over exactly the same bars, compared with an equal-weight basket of the other assets of the same market, the trades ended −0.20% per trade after costs (95% interval −0.32% to −0.06%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
83,6302,333 assets, 1970 to 2026
Average trade
−0.95%before costs; median −0.91%
Winning trades
45%profit factor 0.81
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.20%95% interval −0.32% to −0.06%

After the signal, bar by bar

Share of signals where the price had moved in the signal’s direction after N bars, against the same assets at random dates (before costs).

Bars after1351020
After the signal48.2%47.6%46.1%46.1%45.5%
Random dates48.3%47.7%47.3%46.6%45.9%

Over time

The history cut into three periods with the same number of signals: gap per trade against the rest of the market, before costs.

PeriodSignalsVs market, before costs
1970 to 201227,881−0.16%
2012 to 202127,886+0.02%
2021 to 202627,863−0.13%

With the trade we run on chart patterns instead (stop at 2 ATR, target at twice the risk, entry at the signal close), 27% of 83,056 trades hit the target first, for −0.16 R per trade on average against −0.14 R for the same trade at random dates of the same assets: no measurable difference from random dates.

Worst single trade of the whole test: −821.6% on WRX/USDT, signal of 2021-03-25.

Real trades from the test

Taken from the test itself on well-known assets: the indicator lines are the values the bench computed for that signal, the shaded zone is the time in the trade, from the signal close to the exit. Best and worst are chosen among these assets, not over the whole test.

MACD histogram hidden bearish divergence: real trade on AZZ, 2026-09-30, daily chart
Most recentAZZ 2026-09-30 daily chartSold short at the close of 2026-09-30 (134.1), bought back at the maximum holding time, 20 bars later (136.9): −2.1% before costs.Against the other stocks over the same bars, after costs: +1.4%.MACDSignalHistogram

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily70,945−1.37%44%−0.17%No edge found
ETFsdaily2,250−0.91%41%−0.10%No edge found
Indicesdaily1,221−0.82%42%n/aNot measured
Forexdaily957−0.14%47%−0.11%No edge found
Cryptodaily7,517+2.85%62%−0.52%No edge found
Commoditiesdaily740−0.92%48%−0.30%No edge found
All markets4-hour52,063−0.01%52%−0.09%Inconclusive
Forex4-hour6,185−0.02%49%−0.05%No edge found
Crypto4-hour45,878−0.01%52%−0.09%Inconclusive
All marketsweekly13,112−5.62%40%−0.20%No edge found
Stocksweekly11,451−6.71%39%−0.07%No edge found
ETFsweekly363−4.45%35%−0.18%No edge found
Indicesweekly224−3.26%36%−0.26%No edge found
Forexweekly208+0.14%52%+0.19%No edge found
Cryptoweekly721+9.74%69%n/aNot measured
Commoditiesweekly145−5.78%44%−1.35%No edge found

Each strategy enters at the close of the signal bar and exits at the exit it teaches, without a stop. The test compares the asset with an equal-weight basket of the other assets of its market over exactly the same bars, net of trading costs; for a sell signal, beating the market means the asset did worse than the others. A result is shown as beating or lagging the market only when it survives a correction for the number of tests and holds in both halves of the history; it is marked fragile when entering at the next open, doubling costs or trimming extreme trades removes it. Daily index bars are not compared with other indices, because their closes fall at different hours; “Not measured” also covers samples too small to test. Rules were fixed before any result was seen. How we test

Frequently asked questions

How do you use the MACD indicator?

Look at three things: whether MACD is above or below zero, which says if the 12-period average is above the 26-period one; when it crosses its signal line; and whether it confirms new price highs and lows. Each is a description of momentum, not a guarantee of the next move.

What does 12, 26, 9 mean in MACD?

A 12-period EMA minus a 26-period EMA gives the MACD line, and a 9-period EMA of that line is the signal line. Changing the numbers changes the number of signals: on the daily S&P 500 ETF over 250 days, 12, 26, 9 gave 23 signal crosses, 8, 17, 9 gave 27, and 5, 35, 5 gave 40.

Which is better, MACD or RSI?

Neither in general. MACD follows the trend of two averages and has no fixed range; RSI is bounded from 0 to 100 and is often read for stretched levels. They can be shown together, but both are computed from the same closes.

What is the best indicator to use with MACD?

There is no measured answer. Combining MACD with another indicator built on the same closes, such as a moving average, adds little new information; volume tools such as on-balance volume at least use different data.

Who invented the MACD histogram?

Thomas Aspray, who presented it in Stocks and Commodities in August 1988 as a way to anticipate signal line crosses. His original version was a smoothed momentum of MACD; today it is drawn as MACD minus its signal line.

Sources

  1. StockCharts ChartSchool, MACD (Moving Average Convergence/Divergence Oscillator)
  2. StockCharts ChartSchool, MACD-Histogram
  3. Thomas Aspray, MACD momentum Part 1, Stocks and Commodities V. 6:8, August 1988 (article listing with abstract)
, Founder of PatternsWizard

Passionate about finance, quantitative trading and data analysis. Amaury built the PatternsWizard test bench, which detects each pattern on full price history and measures what happened next against random entries.

PatternsWizard tests chart and candlestick patterns on full market history, against random entries. How we test patterns.

179 patterns testedRandom-walk self-test passed

All momentum indicators articles