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.

On this page
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

- Price, daily candles (hollow up, filled down)
- MACD, EMA(12) − EMA(26) (solid line)
- Signal, EMA(9) (solid line, second color)
- Histogram, MACD − signal
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

How to read MACD
| Signal | What happens | Usual reading |
|---|---|---|
| Signal line cross | MACD crosses its 9-period average; the histogram changes sign | Up: bullish; down: bearish |
| Centerline cross | MACD changes sign: the 12 EMA crosses the 26 EMA | Above zero: shorter trend up |
| Divergence | Price makes a new high or low that MACD does not confirm | The 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

- Signal line crosses
- Zero line crosses
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.
| Buy | Close | Sell | Close | Result |
|---|---|---|---|---|
| November 28, 2025 | 676.10 | December 16 | 671.62 | −0.66% |
| December 23 | 682.63 | January 2, 2026 | 677.88 | −0.70% |
| January 6, 2026 | 686.45 | January 16 | 686.30 | −0.02% |
| January 28 | 690.03 | January 30 | 686.61 | −0.50% |
| February 2 | 690.02 | February 3 | 684.19 | −0.85% |
| February 25 | 687.78 | March 2 | 681.06 | −0.98% |
| April 2 | 652.52 | May 18 | 734.93 | +12.63% |
| July 6 | 749.42 | July 17 | 741.45 | −1.06% |
| August 3 | 755.79 | August 20 | 760.71 | +0.65% |
| September 21 | 773.50 | September 30 | 762.63 | −1.41% |
| October 2 | 769.64 | October 15 | 771.79 | +0.28% |
The 11 signal line trades opened in the window

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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 49.9% | 51.7% | 52.0% | 53.4% | 54.6% |
| Random dates | 50.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 112,192 | −0.19% |
| 2012 to 2021 | 112,174 | −0.10% |
| 2021 to 2026 | 112,138 | −0.04% |
Stress tests
The same trades, measured again under harsher assumptions (vs market, after costs).
| Variant | Vs market | Result |
|---|---|---|
| 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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 292,496 | +0.56% | 38% | −0.23% | Lagged the market |
| ETFs | daily | 10,381 | +0.41% | 41% | −0.06% | No edge found |
| Indices | daily | 5,523 | +0.55% | 42% | n/a | Not measured |
| Forex | daily | 3,554 | +0.03% | 35% | −0.02% | No edge found |
| Crypto | daily | 21,462 | +1.31% | 29% | −0.03% | No edge found |
| Commodities | daily | 3,088 | +0.34% | 37% | −0.16% | No edge found |
| All markets | 4-hour | 164,940 | +0.03% | 32% | −0.29% | Lagged the market |
| Forex | 4-hour | 21,405 | −0.02% | 34% | −0.05% | Lagged the market |
| Crypto | 4-hour | 143,535 | +0.03% | 32% | −0.33% | Lagged the market |
| All markets | weekly | 61,990 | +3.07% | 40% | −0.42% | Inconclusive |
| Stocks | weekly | 55,527 | +2.64% | 40% | −0.44% | Inconclusive |
| ETFs | weekly | 2,119 | +1.89% | 44% | −0.02% | No edge found |
| Indices | weekly | 1,147 | +2.62% | 45% | −0.08% | No edge found |
| Forex | weekly | 736 | −0.37% | 32% | −0.32% | No edge found |
| Crypto | weekly | 1,830 | +27.12% | 36% | n/a | Not measured |
| Commodities | weekly | 631 | +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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 47.7% | 47.3% | 46.6% | 46.2% | 45.5% |
| Random dates | 48.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 112,873 | −0.10% |
| 2012 to 2021 | 112,967 | −0.05% |
| 2021 to 2026 | 112,736 | −0.03% |
Stress tests
The same trades, measured again under harsher assumptions (vs market, after costs).
| Variant | Vs market | Result |
|---|---|---|
| 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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 293,610 | −0.80% | 30% | −0.18% | Lagged the market |
| ETFs | daily | 10,371 | −0.46% | 29% | −0.04% | No edge found |
| Indices | daily | 5,523 | −0.36% | 30% | n/a | Not measured |
| Forex | daily | 3,559 | −0.01% | 34% | −0.02% | No edge found |
| Crypto | daily | 22,391 | +0.52% | 42% | −0.05% | No edge found |
| Commodities | daily | 3,122 | −0.53% | 32% | −0.16% | No edge found |
| All markets | 4-hour | 165,878 | −0.04% | 36% | −0.28% | Lagged the market |
| Forex | 4-hour | 21,589 | −0.03% | 33% | −0.05% | Lagged the market |
| Crypto | 4-hour | 144,289 | −0.04% | 36% | −0.32% | Lagged the market |
| All markets | weekly | 64,433 | −3.09% | 27% | −0.17% | No edge found |
| Stocks | weekly | 57,728 | −3.28% | 26% | −0.17% | No edge found |
| ETFs | weekly | 2,147 | −1.95% | 24% | −0.03% | No edge found |
| Indices | weekly | 1,153 | −1.50% | 26% | −0.06% | No edge found |
| Forex | weekly | 740 | −0.36% | 33% | −0.24% | No edge found |
| Crypto | weekly | 2,027 | −0.44% | 51% | n/a | Not measured |
| Commodities | weekly | 638 | −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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 49.8% | 51.3% | 52.3% | 54.2% | 55.1% |
| Random dates | 50.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 47,803 | −0.26% |
| 2012 to 2021 | 47,781 | −0.22% |
| 2021 to 2026 | 47,777 | −0.14% |
Stress tests
The same trades, measured again under harsher assumptions (vs market, after costs).
| Variant | Vs market | Result |
|---|---|---|
| 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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 125,166 | +1.37% | 34% | −0.30% | Lagged the market |
| ETFs | daily | 4,229 | +1.39% | 39% | +0.13% | No edge found |
| Indices | daily | 2,253 | +1.65% | 39% | n/a | Not measured |
| Forex | daily | 1,621 | −0.09% | 28% | −0.14% | No edge found |
| Crypto | daily | 8,729 | +6.79% | 24% | −0.76% | No edge found |
| Commodities | daily | 1,363 | +0.99% | 30% | −0.39% | No edge found |
| All markets | 4-hour | 71,389 | +0.46% | 26% | −0.39% | Lagged the market |
| Forex | 4-hour | 9,352 | −0.01% | 30% | −0.05% | No edge found |
| Crypto | 4-hour | 62,037 | +0.53% | 25% | −0.45% | Lagged the market |
| All markets | weekly | 25,016 | +9.24% | 37% | n/a | Not measured |
| Stocks | weekly | 22,195 | +8.52% | 37% | −0.66% | No edge found |
| ETFs | weekly | 748 | +8.60% | 46% | n/a | Not measured |
| Indices | weekly | 404 | +9.32% | 48% | +0.01% | No edge found |
| Forex | weekly | 329 | −1.18% | 23% | n/a | Not measured |
| Crypto | weekly | 1,038 | +42.62% | 29% | n/a | Not measured |
| Commodities | weekly | 302 | +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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 47.0% | 46.8% | 46.4% | 46.5% | 45.4% |
| Random dates | 48.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 48,846 | +0.02% |
| 2012 to 2021 | 48,847 | −0.08% |
| 2021 to 2026 | 48,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 127,200 | −1.58% | 24% | −0.14% | No edge found |
| ETFs | daily | 4,240 | −0.80% | 23% | +0.09% | No edge found |
| Indices | daily | 2,255 | −0.53% | 24% | n/a | Not measured |
| Forex | daily | 1,622 | −0.18% | 29% | −0.12% | No edge found |
| Crypto | daily | 9,813 | +3.70% | 41% | −0.60% | No edge found |
| Commodities | daily | 1,388 | −0.94% | 26% | −0.48% | No edge found |
| All markets | 4-hour | 72,672 | +0.33% | 33% | −0.34% | Lagged the market |
| Forex | 4-hour | 9,351 | −0.03% | 28% | −0.06% | No edge found |
| Crypto | 4-hour | 63,321 | +0.38% | 34% | −0.38% | Lagged the market |
| All markets | weekly | 26,546 | −6.11% | 21% | +0.23% | No edge found |
| Stocks | weekly | 23,677 | −6.08% | 21% | +0.35% | No edge found |
| ETFs | weekly | 748 | −2.58% | 22% | +0.64% | No edge found |
| Indices | weekly | 402 | −2.53% | 21% | +0.04% | No edge found |
| Forex | weekly | 332 | −0.86% | 25% | n/a | Not measured |
| Crypto | weekly | 1,098 | −17.65% | 32% | n/a | Not measured |
| Commodities | weekly | 289 | −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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 50.2% | 52.1% | 52.3% | 54.3% | 55.3% |
| Random dates | 50.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 61,606 | −0.13% |
| 2012 to 2021 | 61,638 | −0.13% |
| 2021 to 2026 | 61,526 | −0.08% |
Stress tests
The same trades, measured again under harsher assumptions (vs market, after costs).
| Variant | Vs market | Result |
|---|---|---|
| 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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 157,569 | +0.94% | 41% | −0.23% | Lagged the market |
| ETFs | daily | 5,174 | +0.68% | 44% | −0.11% | No edge found |
| Indices | daily | 2,689 | +0.85% | 46% | n/a | Not measured |
| Forex | daily | 2,185 | +0.02% | 37% | −0.02% | No edge found |
| Crypto | daily | 15,341 | +0.23% | 29% | −0.20% | No edge found |
| Commodities | daily | 1,812 | +0.15% | 36% | −0.29% | No edge found |
| All markets | 4-hour | 108,710 | −0.09% | 33% | −0.33% | Lagged the market |
| Forex | 4-hour | 13,378 | −0.03% | 34% | −0.06% | Lagged the market |
| Crypto | 4-hour | 95,332 | −0.10% | 33% | −0.37% | Lagged the market |
| All markets | weekly | 28,635 | +3.98% | 42% | −1.01% | Lagged the market |
| Stocks | weekly | 25,045 | +3.75% | 42% | −1.05% | Lagged the market |
| ETFs | weekly | 845 | +3.17% | 48% | −0.51% | No edge found |
| Indices | weekly | 455 | +3.26% | 48% | −0.74% | No edge found |
| Forex | weekly | 465 | −0.48% | 33% | −0.39% | No edge found |
| Crypto | weekly | 1,449 | +13.95% | 35% | n/a | Not measured |
| Commodities | weekly | 376 | +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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 47.4% | 47.0% | 46.4% | 46.5% | 46.0% |
| Random dates | 48.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2011 | 79,978 | −0.10% |
| 2011 to 2020 | 79,958 | −0.02% |
| 2020 to 2026 | 79,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 211,216 | −0.83% | 31% | −0.15% | No edge found |
| ETFs | daily | 7,786 | −0.51% | 28% | −0.01% | No edge found |
| Indices | daily | 4,239 | −0.47% | 29% | n/a | Not measured |
| Forex | daily | 2,314 | +0.05% | 36% | +0.05% | No edge found |
| Crypto | daily | 12,251 | +0.39% | 44% | +0.02% | No edge found |
| Commodities | daily | 2,097 | −0.60% | 32% | −0.06% | No edge found |
| All markets | 4-hour | 99,974 | −0.20% | 37% | −0.32% | Lagged the market |
| Forex | 4-hour | 13,630 | −0.02% | 35% | −0.05% | No edge found |
| Crypto | 4-hour | 86,344 | −0.23% | 38% | −0.36% | Lagged the market |
| All markets | weekly | 50,067 | −3.30% | 26% | −0.20% | No edge found |
| Stocks | weekly | 45,366 | −3.45% | 26% | −0.20% | No edge found |
| ETFs | weekly | 1,761 | −2.31% | 23% | −0.12% | No edge found |
| Indices | weekly | 939 | −2.15% | 24% | −0.16% | No edge found |
| Forex | weekly | 461 | −0.38% | 34% | −0.29% | No edge found |
| Crypto | weekly | 1,105 | −1.15% | 53% | n/a | Not measured |
| Commodities | weekly | 435 | −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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 50.1% | 51.8% | 52.0% | 53.2% | 54.5% |
| Random dates | 50.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2011 | 69,230 | −0.19% |
| 2011 to 2020 | 69,260 | −0.01% |
| 2020 to 2026 | 69,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 186,868 | +0.32% | 37% | −0.20% | Inconclusive |
| ETFs | daily | 7,078 | +0.37% | 40% | +0.04% | Inconclusive |
| Indices | daily | 3,797 | +0.49% | 41% | n/a | Not measured |
| Forex | daily | 1,558 | −0.02% | 33% | −0.08% | No edge found |
| Crypto | daily | 6,869 | +2.27% | 28% | +0.40% | No edge found |
| Commodities | daily | 1,503 | +0.36% | 37% | −0.26% | No edge found |
| All markets | 4-hour | 71,069 | +0.32% | 32% | −0.24% | No edge found |
| Forex | 4-hour | 10,779 | −0.02% | 34% | −0.05% | Inconclusive |
| Crypto | 4-hour | 60,290 | +0.38% | 31% | −0.27% | No edge found |
| All markets | weekly | 43,084 | +1.60% | 39% | −0.34% | No edge found |
| Stocks | weekly | 39,997 | +1.64% | 39% | −0.37% | No edge found |
| ETFs | weekly | 1,553 | +0.73% | 42% | −0.06% | No edge found |
| Indices | weekly | 871 | +1.61% | 43% | +0.02% | No edge found |
| Forex | weekly | 260 | −0.71% | 24% | −0.76% | Lagged the market |
| Crypto | weekly | 107 | +2.11% | 34% | n/a | Not measured |
| Commodities | weekly | 296 | +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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 48.5% | 48.0% | 47.3% | 46.9% | 45.7% |
| Random dates | 48.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1971 to 2013 | 40,720 | +0.03% |
| 2013 to 2022 | 40,762 | +0.06% |
| 2022 to 2026 | 40,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 101,825 | −0.67% | 31% | −0.09% | No edge found |
| ETFs | daily | 3,127 | −0.30% | 31% | +0.03% | No edge found |
| Indices | daily | 1,559 | −0.08% | 34% | n/a | Not measured |
| Forex | daily | 1,579 | −0.08% | 32% | −0.08% | No edge found |
| Crypto | daily | 12,739 | +0.66% | 41% | −0.31% | No edge found |
| Commodities | daily | 1,295 | −0.58% | 31% | −0.44% | Inconclusive |
| All markets | 4-hour | 93,402 | +0.23% | 36% | −0.29% | Lagged the market |
| Forex | 4-hour | 10,526 | −0.03% | 32% | −0.06% | Inconclusive |
| Crypto | 4-hour | 82,876 | +0.26% | 36% | −0.32% | Lagged the market |
| All markets | weekly | 14,386 | −3.17% | 28% | −0.13% | No edge found |
| Stocks | weekly | 12,739 | −3.43% | 28% | −0.15% | No edge found |
| ETFs | weekly | 368 | −1.66% | 25% | +0.41% | No edge found |
| Indices | weekly | 198 | −0.48% | 31% | +0.35% | No edge found |
| Forex | weekly | 356 | −0.44% | 32% | −0.39% | No edge found |
| Crypto | weekly | 498 | +3.11% | 47% | n/a | Not measured |
| Commodities | weekly | 227 | −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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 50.1% | 52.3% | 52.6% | 53.5% | 55.0% |
| Random dates | 50.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 225,309 | +0.04% |
| 2012 to 2020 | 225,484 | +0.02% |
| 2020 to 2026 | 225,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 586,506 | +0.87% | 64% | −0.08% | No edge found |
| ETFs | daily | 21,232 | +0.54% | 67% | −0.10% | No edge found |
| Indices | daily | 11,366 | +0.70% | 68% | n/a | Not measured |
| Forex | daily | 7,314 | +0.03% | 58% | −0.06% | No edge found |
| Crypto | daily | 43,329 | −1.02% | 48% | −0.52% | Inconclusive |
| Commodities | daily | 6,157 | +0.56% | 60% | −0.15% | No edge found |
| All markets | 4-hour | 323,710 | −0.04% | 55% | −0.12% | Inconclusive |
| Forex | 4-hour | 41,253 | +0.01% | 58% | −0.02% | No edge found |
| Crypto | 4-hour | 282,457 | −0.05% | 55% | −0.14% | No edge found |
| All markets | weekly | 118,364 | +3.53% | 68% | −0.17% | No edge found |
| Stocks | weekly | 105,959 | +3.46% | 68% | −0.18% | No edge found |
| ETFs | weekly | 4,061 | +1.25% | 69% | −0.26% | No edge found |
| Indices | weekly | 2,216 | +2.03% | 71% | −0.11% | No edge found |
| Forex | weekly | 1,495 | +0.35% | 59% | +0.27% | No edge found |
| Crypto | weekly | 3,409 | +16.01% | 49% | n/a | Not measured |
| Commodities | weekly | 1,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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 48.2% | 47.9% | 47.3% | 46.3% | 45.8% |
| Random dates | 48.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 231,474 | +0.11% |
| 2012 to 2021 | 231,483 | +0.10% |
| 2021 to 2026 | 231,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 596,193 | −0.86% | 52% | −0.02% | Inconclusive |
| ETFs | daily | 21,460 | −0.64% | 48% | −0.07% | No edge found |
| Indices | daily | 11,047 | −0.61% | 49% | n/a | Not measured |
| Forex | daily | 7,314 | −0.03% | 57% | −0.10% | No edge found |
| Crypto | daily | 52,066 | −0.96% | 65% | −0.15% | No edge found |
| Commodities | daily | 6,312 | −0.34% | 56% | −0.05% | No edge found |
| All markets | 4-hour | 351,648 | −0.06% | 60% | −0.07% | Inconclusive |
| Forex | 4-hour | 42,964 | +0.004% | 57% | −0.02% | No edge found |
| Crypto | 4-hour | 308,684 | −0.07% | 60% | −0.08% | Inconclusive |
| All markets | weekly | 138,956 | −4.82% | 48% | −0.12% | No edge found |
| Stocks | weekly | 123,140 | −4.70% | 47% | −0.12% | No edge found |
| ETFs | weekly | 4,581 | −2.83% | 42% | −0.01% | No edge found |
| Indices | weekly | 2,538 | −3.06% | 42% | −0.23% | No edge found |
| Forex | weekly | 1,489 | +0.24% | 59% | +0.19% | No edge found |
| Crypto | weekly | 5,807 | −15.40% | 68% | n/a | Not measured |
| Commodities | weekly | 1,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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 48.9% | 50.0% | 51.0% | 53.7% | 54.9% |
| Random dates | 50.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2014 | 15,708 | +0.26% |
| 2014 to 2022 | 15,926 | +0.12% |
| 2022 to 2026 | 15,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 38,761 | +1.61% | 56% | +0.06% | No edge found |
| ETFs | daily | 984 | +1.51% | 62% | +0.13% | No edge found |
| Indices | daily | 496 | +1.39% | 65% | n/a | Not measured |
| Forex | daily | 515 | +0.25% | 54% | +0.21% | Inconclusive |
| Crypto | daily | 5,946 | +0.06% | 43% | +0.05% | No edge found |
| Commodities | daily | 422 | +0.23% | 50% | +0.10% | No edge found |
| All markets | 4-hour | 30,802 | +0.03% | 49% | −0.26% | No edge found |
| Forex | 4-hour | 3,703 | +0.01% | 50% | −0.03% | No edge found |
| Crypto | 4-hour | 27,099 | +0.03% | 48% | −0.30% | No edge found |
| All markets | weekly | 6,827 | +2.81% | 54% | −0.93% | No edge found |
| Stocks | weekly | 5,260 | +4.85% | 57% | −0.79% | No edge found |
| ETFs | weekly | 167 | +3.94% | 63% | −0.48% | No edge found |
| Indices | weekly | 96 | +6.25% | 73% | +1.08% | No edge found |
| Forex | weekly | 99 | +0.26% | 49% | +0.05% | No edge found |
| Crypto | weekly | 1,103 | −8.23% | 32% | n/a | Not measured |
| Commodities | weekly | 102 | +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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 47.1% | 46.2% | 46.4% | 45.8% | 44.6% |
| Random dates | 48.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2011 | 23,905 | −0.01% |
| 2011 to 2019 | 23,846 | −0.12% |
| 2019 to 2026 | 23,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 64,339 | −0.92% | 44% | −0.09% | No edge found |
| ETFs | daily | 2,419 | −0.70% | 39% | −0.05% | No edge found |
| Indices | daily | 1,345 | −0.69% | 40% | n/a | Not measured |
| Forex | daily | 539 | +0.12% | 51% | +0.15% | No edge found |
| Crypto | daily | 2,460 | −1.31% | 60% | +0.15% | No edge found |
| Commodities | daily | 480 | −0.66% | 48% | +0.50% | No edge found |
| All markets | 4-hour | 23,420 | −0.08% | 54% | −0.12% | No edge found |
| Forex | 4-hour | 3,902 | −0.004% | 50% | −0.04% | No edge found |
| Crypto | 4-hour | 19,518 | −0.10% | 54% | −0.13% | No edge found |
| All markets | weekly | 13,344 | −5.09% | 39% | −0.40% | No edge found |
| Stocks | weekly | 12,217 | −5.15% | 39% | −0.31% | No edge found |
| ETFs | weekly | 514 | −3.70% | 36% | −0.35% | No edge found |
| Indices | weekly | 304 | −4.05% | 34% | −0.76% | No edge found |
| Forex | weekly | 103 | +0.14% | 47% | +0.39% | No edge found |
| Crypto | weekly | 113 | −13.26% | 71% | n/a | Not measured |
| Commodities | weekly | 93 | −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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 50.9% | 51.7% | 51.9% | 52.7% | 53.8% |
| Random dates | 50.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 25,826 | −0.16% |
| 2012 to 2020 | 25,791 | +0.09% |
| 2020 to 2026 | 25,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 67,655 | +0.89% | 55% | −0.15% | No edge found |
| ETFs | daily | 2,266 | +0.65% | 59% | +0.03% | No edge found |
| Indices | daily | 1,285 | +0.62% | 59% | n/a | Not measured |
| Forex | daily | 605 | −0.05% | 50% | −0.19% | No edge found |
| Crypto | daily | 5,048 | −3.75% | 34% | −0.51% | No edge found |
| Commodities | daily | 567 | +0.11% | 50% | −0.72% | No edge found |
| All markets | 4-hour | 32,166 | −0.28% | 43% | −0.31% | Inconclusive |
| Forex | 4-hour | 4,136 | −0.02% | 49% | −0.04% | No edge found |
| Crypto | 4-hour | 28,030 | −0.32% | 42% | −0.34% | No edge found |
| All markets | weekly | 14,705 | +5.41% | 59% | −0.03% | No edge found |
| Stocks | weekly | 13,222 | +4.18% | 60% | −0.04% | No edge found |
| ETFs | weekly | 544 | +2.32% | 63% | +0.47% | No edge found |
| Indices | weekly | 307 | +2.63% | 64% | +0.13% | No edge found |
| Forex | weekly | 135 | +0.72% | 50% | +0.46% | No edge found |
| Crypto | weekly | 375 | +57.25% | 26% | n/a | Not measured |
| Commodities | weekly | 122 | +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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 47.4% | 47.1% | 46.7% | 46.3% | 45.3% |
| Random dates | 48.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2013 | 18,085 | −0.22% |
| 2013 to 2022 | 18,082 | −0.12% |
| 2022 to 2026 | 18,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 43,883 | −1.63% | 43% | −0.22% | No edge found |
| ETFs | daily | 1,134 | −1.23% | 43% | −0.25% | No edge found |
| Indices | daily | 563 | −1.39% | 41% | n/a | Not measured |
| Forex | daily | 584 | −0.21% | 47% | −0.17% | No edge found |
| Crypto | daily | 7,614 | −0.83% | 57% | −0.84% | Inconclusive |
| Commodities | daily | 473 | −1.45% | 46% | −0.68% | No edge found |
| All markets | 4-hour | 42,447 | −0.09% | 51% | −0.12% | No edge found |
| Forex | 4-hour | 3,964 | −0.01% | 49% | −0.04% | No edge found |
| Crypto | 4-hour | 38,483 | −0.10% | 51% | −0.12% | No edge found |
| All markets | weekly | 7,479 | −4.60% | 43% | +0.20% | No edge found |
| Stocks | weekly | 6,044 | −6.38% | 40% | +0.18% | No edge found |
| ETFs | weekly | 190 | −4.16% | 33% | −0.11% | No edge found |
| Indices | weekly | 97 | −4.24% | 34% | +0.11% | No edge found |
| Forex | weekly | 117 | −0.47% | 50% | −0.41% | No edge found |
| Crypto | weekly | 928 | +7.39% | 67% | n/a | Not measured |
| Commodities | weekly | 103 | −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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 50.2% | 51.4% | 52.0% | 53.7% | 54.7% |
| Random dates | 50.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 26,979 | +0.04% |
| 2012 to 2021 | 26,857 | +0.06% |
| 2021 to 2026 | 26,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 69,489 | +1.27% | 56% | −0.07% | No edge found |
| ETFs | daily | 2,028 | +0.69% | 58% | −0.31% | No edge found |
| Indices | daily | 1,058 | +1.05% | 62% | n/a | Not measured |
| Forex | daily | 923 | +0.13% | 53% | +0.07% | No edge found |
| Crypto | daily | 6,462 | −1.73% | 40% | −0.48% | No edge found |
| Commodities | daily | 769 | +0.67% | 52% | +0.06% | No edge found |
| All markets | 4-hour | 43,374 | +0.07% | 48% | −0.28% | No edge found |
| Forex | 4-hour | 6,060 | +0.03% | 51% | −0.01% | No edge found |
| Crypto | 4-hour | 37,314 | +0.08% | 47% | −0.32% | No edge found |
| All markets | weekly | 12,189 | +2.94% | 54% | −0.95% | Inconclusive |
| Stocks | weekly | 10,399 | +3.26% | 56% | −1.16% | Inconclusive |
| ETFs | weekly | 305 | +4.13% | 65% | −0.02% | No edge found |
| Indices | weekly | 184 | +2.91% | 60% | −0.23% | No edge found |
| Forex | weekly | 175 | −0.75% | 39% | −0.84% | No edge found |
| Crypto | weekly | 970 | −0.73% | 34% | n/a | Not measured |
| Commodities | weekly | 156 | +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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 46.7% | 45.9% | 46.7% | 46.3% | 45.5% |
| Random dates | 48.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2011 | 36,453 | +0.11% |
| 2011 to 2020 | 36,444 | +0.05% |
| 2020 to 2026 | 36,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 97,206 | −0.88% | 45% | +0.02% | Inconclusive |
| ETFs | daily | 3,614 | −0.72% | 40% | −0.01% | No edge found |
| Indices | daily | 1,964 | −0.68% | 41% | n/a | Not measured |
| Forex | daily | 989 | +0.12% | 51% | +0.15% | No edge found |
| Crypto | daily | 4,691 | −2.41% | 58% | −0.28% | No edge found |
| Commodities | daily | 874 | −0.89% | 46% | −0.01% | No edge found |
| All markets | 4-hour | 40,158 | +0.02% | 53% | −0.05% | Inconclusive |
| Forex | 4-hour | 6,357 | +0.01% | 50% | −0.02% | No edge found |
| Crypto | 4-hour | 33,801 | +0.02% | 54% | −0.05% | Inconclusive |
| All markets | weekly | 21,269 | −5.77% | 38% | −0.59% | Inconclusive |
| Stocks | weekly | 19,401 | −5.98% | 38% | −0.52% | No edge found |
| ETFs | weekly | 748 | −4.24% | 34% | −0.69% | Inconclusive |
| Indices | weekly | 410 | −4.30% | 33% | +0.11% | No edge found |
| Forex | weekly | 194 | −0.13% | 49% | +0.03% | No edge found |
| Crypto | weekly | 351 | −3.05% | 72% | n/a | Not measured |
| Commodities | weekly | 165 | −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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 49.8% | 50.8% | 51.1% | 52.4% | 53.4% |
| Random dates | 50.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 36,099 | −0.11% |
| 2012 to 2020 | 36,082 | −0.01% |
| 2020 to 2026 | 36,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 94,348 | +0.84% | 55% | −0.14% | No edge found |
| ETFs | daily | 3,199 | +0.60% | 58% | −0.05% | No edge found |
| Indices | daily | 1,749 | +0.42% | 58% | n/a | Not measured |
| Forex | daily | 980 | +0.11% | 50% | −0.06% | No edge found |
| Crypto | daily | 7,105 | −1.23% | 35% | −0.57% | No edge found |
| Commodities | daily | 886 | +1.00% | 53% | −0.36% | No edge found |
| All markets | 4-hour | 47,946 | +0.01% | 45% | −0.18% | No edge found |
| Forex | 4-hour | 6,180 | −0.01% | 50% | −0.06% | No edge found |
| Crypto | 4-hour | 41,766 | +0.01% | 44% | −0.20% | No edge found |
| All markets | weekly | 21,266 | +6.32% | 60% | +0.25% | No edge found |
| Stocks | weekly | 19,127 | +4.91% | 61% | +0.31% | No edge found |
| ETFs | weekly | 734 | +2.94% | 63% | +0.16% | No edge found |
| Indices | weekly | 388 | +3.71% | 69% | +0.01% | No edge found |
| Forex | weekly | 198 | +0.22% | 48% | +0.03% | No edge found |
| Crypto | weekly | 634 | +59.34% | 32% | n/a | Not measured |
| Commodities | weekly | 185 | +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 after | 1 | 3 | 5 | 10 | 20 |
|---|---|---|---|---|---|
| After the signal | 48.2% | 47.6% | 46.1% | 46.1% | 45.5% |
| Random dates | 48.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.
| Period | Signals | Vs market, before costs |
|---|---|---|
| 1970 to 2012 | 27,881 | −0.16% |
| 2012 to 2021 | 27,886 | +0.02% |
| 2021 to 2026 | 27,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.

Market by market
| Market | Bars | Signals | Avg trade | Winners | Vs market, after costs | Result |
|---|---|---|---|---|---|---|
| Stocks | daily | 70,945 | −1.37% | 44% | −0.17% | No edge found |
| ETFs | daily | 2,250 | −0.91% | 41% | −0.10% | No edge found |
| Indices | daily | 1,221 | −0.82% | 42% | n/a | Not measured |
| Forex | daily | 957 | −0.14% | 47% | −0.11% | No edge found |
| Crypto | daily | 7,517 | +2.85% | 62% | −0.52% | No edge found |
| Commodities | daily | 740 | −0.92% | 48% | −0.30% | No edge found |
| All markets | 4-hour | 52,063 | −0.01% | 52% | −0.09% | Inconclusive |
| Forex | 4-hour | 6,185 | −0.02% | 49% | −0.05% | No edge found |
| Crypto | 4-hour | 45,878 | −0.01% | 52% | −0.09% | Inconclusive |
| All markets | weekly | 13,112 | −5.62% | 40% | −0.20% | No edge found |
| Stocks | weekly | 11,451 | −6.71% | 39% | −0.07% | No edge found |
| ETFs | weekly | 363 | −4.45% | 35% | −0.18% | No edge found |
| Indices | weekly | 224 | −3.26% | 36% | −0.26% | No edge found |
| Forex | weekly | 208 | +0.14% | 52% | +0.19% | No edge found |
| Crypto | weekly | 721 | +9.74% | 69% | n/a | Not measured |
| Commodities | weekly | 145 | −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.
