Momentum indicators

Chaikin Money Flow (CMF): Formula, Zero Line and Buffers, and a Real S&P 500 Example

Marc Chaikin’s Money Flow weights volume by where each bar closes in its range and sums it over 20 bars; here is the formula, how to read it with the ±0.05 buffers, why gaps can fool it, and what its zones did on the S&P 500 ETF since 1993.

· Founder of PatternsWizard
Checked 7 min read
CMF(20) on S&P 500 ETF, dividend-adjusted prices, daily, May 6, 2025 to July 31, 2025. Illustration of how the indicator reads, not a backtest.
On this page
  1. How Chaikin Money Flow is calculated
  2. How to read CMF
  3. The gap problem
  4. CMF on a real chart
  5. Does it work?
  6. Best CMF settings
  7. Tested on our bench
  8. 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.

Chaikin Money Flow (CMF) measures buying and selling pressure over a fixed window, typically 20 or 21 days. For each bar, it weights volume by where the close sits in the bar’s high-low range, positive in the upper half and negative in the lower half, then divides the sum of that weighted volume by the total volume of the window. It was developed by Marc Chaikin, who also created the Accumulation Distribution Line built on the same money flow volume. CMF moves between −1 and +1.

How Chaikin Money Flow is calculated

StockCharts gives three steps. The money flow multiplier is ((close − low) − (high − close)) / (high − low): +1 when the bar closes at its high, −1 at its low, 0 at the midpoint. The money flow volume is that multiplier times the bar’s volume. CMF is the sum of money flow volume over 20 bars divided by the sum of volume over the same 20 bars. When a bar has no range, high equal to low, our chart gives it a multiplier of 0.

How to read CMF

Above zero, the window’s volume traded mostly with closes in the upper half of the bars’ ranges: buying pressure, in Chaikin’s terms. Below zero, selling pressure. StockCharts notes that the indicator typically fluctuates between −0.50 and +0.50 and suggests buffers to filter crosses: a bullish threshold a little above zero, at +0.05, and a bearish one a little below, at −0.05. It also warns that CMF can be less reliable during volatile periods or when the trend of a security is flattening.

ReadingWhat it says
Above +0.05Closes mostly in the upper half of the ranges, weighted by volume
Between −0.05 and +0.05No clear pressure either way
Below −0.05Closes mostly in the lower half of the ranges, weighted by volume
Price up, CMF down on the same barThe bar closed in the lower half of its range, whatever the gap

The money flow multiplier, and the gap trap

The money flow multiplier, and the gap trap: left: three bars with the same high-low range. A close at the high gives a multiplier of plus one, a close at the midpoint zero, a close at the low minus one. Right: yesterday's bar, then a bar that gaps up and closes above yesterday's close but in the lower part of its own range, so its multiplier is below zero although price rose.
Schematic, not market data.

The gap problem

The multiplier looks only at the close within the bar’s own range, not at the change from the previous close. StockCharts shows it with Clorox: a big gap down, a close near the top of the day’s range, and a CMF that rose although the stock closed sharply lower on high volume. The same happens the other way, as the right half of the diagram above shows. On April 23, 2025, the S&P 500 ETF opened 2.50% above the previous close and closed 1.55% higher, but in the lower part of its range, with a multiplier of −0.733. CMF fell that day, into the bearish zone. On the ETF from 1993 to October 2026, 15.5% of the up days had a negative multiplier and 23.6% of the down days a positive one.

CMF on a real chart

Chaikin Money Flow(20) on the daily S&P 500 ETF

CMF(20) on S&P 500 ETF, dividend-adjusted prices, daily, February 7, 2025 to July 31, 2025. Illustration of how the indicator reads, not a backtest.
  • Price, daily candles (hollow up, filled down)
  • CMF(20) (solid line)
CMF(20) on S&P 500 ETF, dividend-adjusted prices, daily, February 7, 2025 to July 31, 2025. Illustration of how the indicator reads, not a backtest.

The chart shows CMF(20) on the daily S&P 500 ETF from February 7 to July 31, 2025, with dividend-adjusted prices. CMF reached its high of the window, +0.403, on February 20, at a close of 598.62; the ETF then fell to 488.38 on April 8, 18.4% lower. The strongest buying-pressure reading of the window came on the eve of the decline.

With StockCharts’ ±0.05 buffers, CMF switched between the bullish and the bearish zone 4 times in 120 days, and changed zone 18 times counting the neutral zone. The move below −0.05 on March 13, at 540.80, came before a rebound to 566.07 on March 25: the ETF was 3.1% higher ten sessions later, though 4.6% lower twenty sessions later. The move above +0.05 on March 27, at 557.83, came a week before the steepest part of the slide: 7.5% lower ten sessions later. The move below −0.05 on April 4, at 497.04, came two sessions before the low close: 11.5% higher twenty sessions later. Only the move above +0.05 on May 2, at 557.51, pointed the right way at both horizons, and CMF stayed above the buffer until June 17, at 587.78, 5.4% higher.

Does it work?

Our bench tested CMF zero-line crosses, the buffer crosses and divergences across markets after costs (see our methodology): none beat the market. The bullish zero-line cross lagged it, several other signals lagged it by a small, fragile margin, and the divergences showed no edge. The results are in the section below. Separately, we measured what followed each CMF(20) zone on the daily S&P 500 ETF, dividend-adjusted, from February 26, 1993, the first day with 20 bars of data, through the last day that has 20 sessions after it, without costs. A day counts as higher when the close 20 sessions later is above that day’s close. CMF was above zero on 68.9% of the days. The chart below gives the share of higher periods for each zone; the mean change was +1.79% after days below −0.05, +0.75% in between and +0.67% after days above +0.05. On this ETF, selling pressure as CMF measures it was followed by better returns, not worse. These are descriptive averages over overlapping periods, not a trading test: on all 8,456 days, the next 20 sessions rose 65.3% of the time.

Share of 20-day periods that ended higher, by CMF zone

Share of 20-day periods that ended higher, by CMF zone. CMF below −0.05 (1,741 days): 68.0%; Between −0.05 and +0.05 (1,875 days): 64.2%; CMF above +0.05 (4,840 days): 64.8%; All days (8,456): 65.3%. Our computation; the inputs and the method are in the text.
Our computation; the inputs and the method are in the text.CMF(20) on the daily S&P 500 ETF, February 1993 to October 2026, close 20 sessions later against the close of the day. Mean change: +1.79% after bearish readings, +0.75% in between, +0.67% after bullish ones.

Best CMF settings

StockCharts describes 20 or 21 days as typical. Shorter windows cross zero more often. With 20 bars on the ETF since 1993, CMF crossed zero 770 times in 33.7 years, about 22.9 times a year; with the ±0.05 buffers, a switch being a reading beyond one buffer after the last reading beyond the other, it switched between the bullish and bearish zones about 9.2 times a year, about the same rate as the 4 switches of the chart above. Its extremes over that history were −0.391 on December 20, 2000 and +0.608 on February 8, 1996.

The Chaikin Oscillator applies MACD-style averages to the same money flow volume, through the Accumulation Distribution Line. For another volume oscillator, see the Money Flow Index, or browse all momentum indicators.

Data from our test bench

Tested on our bench

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

CMF(20) crosses 0, bullishLagged the market

Entry: CMF(20) 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 397,936 times on 2,328 assets (stocks, ETFs, indices, crypto pairs and commodity futures) between 1970 and 2026, about once every 21 bars on each asset.

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

A trade lasted 4 bars at the median, half of them between 1 and 16 bars.

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.25% to −0.16%).

Signals
397,9362,328 assets, 1970 to 2026
Average trade
+0.44%before costs; median −0.64%
Winning trades
40%profit factor 1.19
Median hold
4 barshalf between 1 and 16
Vs the market, after costs
−0.20%95% interval −0.25% 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.4%52.0%53.1%54.2%
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 2012132,750−0.19%
2012 to 2021132,673−0.09%
2021 to 2026132,513−0.02%

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.20%
Entry at the next bar's open−0.23%Holds
Trading costs doubled−0.31%Holds
1% most extreme trades trimmed on each side−0.35%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 395,943 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: −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.

CMF(20) crosses 0, bullish: real trade on ETC/USDT, 2026-07-20, daily chart
Most recentETC 2026-07-20 daily chartBought at the close of 2026-07-20 (6.92), sold 3 bars later, when the exit rule fired (6.83): −1.3% before costs.Against the other crypto pairs over the same bars, after costs: +0.9%.CMF
CMF(20) crosses 0, bullish: real trade on SOL/USDT, 2020-12-28, daily chart
Best tradeSOL 2020-12-28 daily chartBought at the close of 2020-12-28 (1.52), sold 77 bars later, when the exit rule fired (14.16): +833.1% before costs.Against the other crypto pairs over the same bars, after costs: +53.5%.CMF

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily349,201+0.38%41%−0.21%Lagged the market
ETFsdaily12,064+0.13%43%−0.20%Lagged the market
Indicesdaily5,096+0.50%43%n/aNot measured
Cryptodaily28,105+1.28%35%−0.18%No edge found
Commoditiesdaily3,470+0.24%38%−0.27%No edge found
Crypto4-hour182,930+0.09%38%−0.26%Lagged the market
All marketsweekly69,985+2.92%41%−0.47%No edge found
Stocksweekly63,916+2.71%41%−0.48%No edge found
ETFsweekly2,193+2.63%42%−0.11%No edge found
Indicesweekly844+3.63%44%−0.27%No edge found
Cryptoweekly2,357+11.21%32%n/aNot measured
Commoditiesweekly675+2.71%40%−0.50%No edge found
CMF(20) crosses 0, bearishLagged the market, fragile

Entry: CMF(20) 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 399,566 times on 2,328 assets (stocks, ETFs, indices, crypto pairs and commodity futures) between 1970 and 2026, about once every 21 bars on each asset.

The average trade returned −0.66% before costs and the median trade −0.96%; 35% 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 3 bars at the median, half of them between 1 and 12 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.21% to −0.14%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
399,5662,328 assets, 1970 to 2026
Average trade
−0.66%before costs; median −0.96%
Winning trades
35%profit factor 0.74
Median hold
3 barshalf between 1 and 12
Vs the market, after costs
−0.17%95% interval −0.21% to −0.14%

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.3%46.9%46.8%45.8%44.9%
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 2012133,233−0.13%
2012 to 2021133,152−0.05%
2021 to 2026133,181−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.17%
Entry at the next bar's open−0.12%Does not hold
Trading costs doubled−0.28%Holds
1% most extreme trades trimmed on each side−0.16%Holds

The result no longer holds when entering at the next bar's open instead of the signal close.

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 397,298 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: −523.6% on RVN/USDT, signal of 2021-01-30.

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.

CMF(20) crosses 0, 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 1 bar later, when the exit rule fired (6.92): +0.4% before costs.Against the other crypto pairs over the same bars, after costs: +1.2%.CMF
CMF(20) crosses 0, bearish: real trade on PPC, 2008-08-29, daily chart
Best tradePPC 2008-08-29 daily chartSold short at the close of 2008-08-29 (8.21), bought back 85 bars later, when the exit rule fired (0.4034): +95.1% before costs.Against the other stocks over the same bars, after costs: +92.9%.CMF

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily350,510−0.75%34%−0.17%Lagged the market, fragile
ETFsdaily12,049−0.63%33%−0.19%Lagged the market, fragile
Indicesdaily5,087−0.37%34%n/aNot measured
Cryptodaily28,418+0.40%43%−0.23%No edge found
Commoditiesdaily3,502−0.54%34%−0.27%No edge found
Crypto4-hour183,114−0.004%40%−0.25%Lagged the market, fragile
All marketsweekly71,377−2.75%30%−0.21%No edge found
Stocksweekly65,200−2.72%30%−0.21%No edge found
ETFsweekly2,194−1.29%29%+0.01%No edge found
Indicesweekly839−1.52%27%−0.59%Lagged the market
Cryptoweekly2,472−7.68%45%n/aNot measured
Commoditiesweekly672−1.21%36%−0.50%No edge found
CMF crosses +/-0.05, bullishInconclusive

Entry: CMF(20) closes above +0.05. Exit: CMF closes below -0.05 (above +0.05 for shorts).

In detail, all markets pooled

On daily bars, the rule fired 393,973 times on 2,326 assets (stocks, ETFs, indices, crypto pairs and commodity futures) between 1970 and 2026, about once every 21 bars on each asset.

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

A trade lasted 20 bars at the median, half of them between 8 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.26% per trade after costs (95% interval −0.39% to −0.14%).

Signals
393,9732,326 assets, 1970 to 2026
Average trade
+1.16%before costs; median −1.08%
Winning trades
43%profit factor 1.31
Median hold
20 barshalf between 8 and 36
Vs the market, after costs
−0.26%95% interval −0.39% to −0.14%

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.5%50.9%51.6%52.7%54.1%
Random dates50.7%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 2012131,330−0.40%
2012 to 2021131,383−0.11%
2021 to 2026131,260+0.05%

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 392,240 trades hit the target first, for +0.14 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: −86.2% on CYN, signal of 2025-02-10.

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.

CMF crosses +/-0.05, bullish: real trade on UNI/USDT, 2026-07-20, daily chart
Most recentUNI 2026-07-20 daily chartBought at the close of 2026-07-20 (3.63), sold 21 bars later, when the exit rule fired (3.95): +8.6% before costs.Against the other crypto pairs over the same bars, after costs: +12.9%.CMF
CMF crosses +/-0.05, bullish: real trade on ADA/USDT, 2020-11-16, daily chart
Best tradeADA 2020-11-16 daily chartBought at the close of 2020-11-16 (0.1039), sold at the maximum holding time, 100 bars later (1.05): +909.9% before costs.Against the other crypto pairs over the same bars, after costs: +124.0%.CMF

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily347,933+0.92%43%−0.30%Lagged the market
ETFsdaily12,585+0.45%45%−0.30%Inconclusive
Indicesdaily5,483+1.13%46%n/aNot measured
Cryptodaily24,667+5.13%34%+0.31%No edge found
Commoditiesdaily3,305+0.60%38%−0.49%No edge found
Crypto4-hour162,158+0.45%39%−0.22%No edge found
All marketsweekly75,303+7.55%46%−0.69%No edge found
Stocksweekly69,100+7.09%46%−0.79%No edge found
ETFsweekly2,440+6.52%49%n/aNot measured
Indicesweekly1,026+8.87%53%−0.16%No edge found
Cryptoweekly2,064+30.93%29%n/aNot measured
Commoditiesweekly673+5.39%45%−0.70%No edge found
CMF crosses +/-0.05, bearishLagged the market, fragile

Entry: CMF closes below -0.05. Exit: CMF closes below -0.05 (above +0.05 for shorts).

In detail, all markets pooled

On daily bars, the rule fired 363,946 times on 2,327 assets (stocks, ETFs, indices, crypto pairs and commodity futures) between 1970 and 2026, about once every 23 bars on each asset.

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

A trade lasted 16 bars at the median, half of them between 7 and 28 bars. 1% 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.27% per trade after costs (95% interval −0.36% to −0.18%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
363,9462,327 assets, 1970 to 2026
Average trade
−1.44%before costs; median −2.20%
Winning trades
34%profit factor 0.70
Median hold
16 barshalf between 7 and 28
Vs the market, after costs
−0.27%95% interval −0.36% to −0.18%

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.9%46.6%45.7%44.8%
Random dates48.2%47.5%47.1%46.3%45.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 2012121,337−0.23%
2012 to 2021121,370−0.12%
2021 to 2026121,239−0.15%

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.27%
Entry at the next bar's open−0.21%Holds
Trading costs doubled−0.38%Holds
1% most extreme trades trimmed on each side−0.17%Does not hold

The result no longer holds when 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), 27% of 361,626 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: −700.9% on MITH/USDT, signal of 2021-03-03.

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.

CMF crosses +/-0.05, 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 32 bars later, when the exit rule fired (0.7355): −2.2% before costs.Against the other crypto pairs over the same bars, after costs: −2.7%.CMF
CMF crosses +/-0.05, bearish: real trade on PPC, 2008-09-02, daily chart
Best tradePPC 2008-09-02 daily chartSold short at the close of 2008-09-02 (8.52), bought back 84 bars later, when the exit rule fired (0.4034): +95.3% before costs.Against the other stocks over the same bars, after costs: +93.1%.CMF

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily317,360−1.66%33%−0.24%Lagged the market, fragile
ETFsdaily10,378−1.22%31%−0.20%No edge found
Indicesdaily4,318−0.88%32%n/aNot measured
Cryptodaily28,510+0.95%49%−0.65%No edge found
Commoditiesdaily3,380−1.05%35%−0.22%No edge found
Crypto4-hour183,847+0.03%44%−0.33%Lagged the market, fragile
All marketsweekly59,777−5.70%30%−0.15%No edge found
Stocksweekly54,109−5.64%29%−0.17%No edge found
ETFsweekly1,715−2.35%27%−0.18%No edge found
Indicesweekly601−2.99%25%−1.00%Lagged the market
Cryptoweekly2,706−12.82%47%n/aNot measured
Commoditiesweekly646−3.63%36%−1.62%No edge found
CMF(20) regular bullish divergenceNo edge found

Entry: Price makes a lower swing low while CMF(20) 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 81,902 times on 2,321 assets (stocks, ETFs, indices, crypto pairs and commodity futures) between 1970 and 2026, about once every 102 bars on each asset.

The average trade returned +1.03% before costs and the median trade +1.06%; 55% of trades made money, and the gains added up to 1.26 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.09% per trade after costs (95% interval −0.23% to +0.05%).

Signals
81,9022,321 assets, 1970 to 2026
Average trade
+1.03%before costs; median +1.06%
Winning trades
55%profit factor 1.26
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.09%95% interval −0.23% to +0.05%

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.3%50.5%51.1%53.6%55.0%
Random dates50.5%51.7%52.3%53.1%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 201227,307−0.04%
2012 to 202127,374+0.11%
2021 to 202627,221−0.02%

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 81,352 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.8% on OM/USDT, signal of 2025-04-05.

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.

CMF(20) regular bullish divergence: real trade on PECO, 2026-09-30, daily chart
Most recentPECO 2026-09-30 daily chartBought at the close of 2026-09-30 (37.23), sold at the maximum holding time, 20 bars later (37.72): +1.3% before costs.Against the other stocks over the same bars, after costs: −2.3%.CMF
CMF(20) regular bullish divergence: real trade on BE, 2024-10-30, daily chart
Best tradeBE 2024-10-30 daily chartBought at the close of 2024-10-30 (10.10), sold at the maximum holding time, 20 bars later (27.21): +169.4% before costs.Against the other stocks over the same bars, after costs: +149.8%.CMF

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily70,838+1.35%57%−0.09%No edge found
ETFsdaily2,235+0.51%58%−0.22%No edge found
Indicesdaily898+0.65%62%n/aNot measured
Cryptodaily7,223−1.83%38%−0.05%No edge found
Commoditiesdaily708+0.67%52%+0.07%No edge found
Crypto4-hour42,132−0.20%47%−0.27%No edge found
All marketsweekly11,539+4.13%57%−1.04%Inconclusive
Stocksweekly10,116+4.35%58%−1.20%Lagged the market
ETFsweekly347+4.58%67%+0.53%No edge found
Indicesweekly162+3.04%62%−0.06%No edge found
Cryptoweekly779+1.19%36%n/aNot measured
Commoditiesweekly135+2.84%53%−0.15%No edge found
CMF(20) regular bearish divergenceNo edge found

Entry: Price makes a higher swing high while CMF(20) 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 108,135 times on 2,316 assets (stocks, ETFs, indices, crypto pairs and commodity futures) between 1970 and 2026, about once every 78 bars on each asset.

The average trade returned −0.98% before costs and the median trade −0.85%; 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.03% per trade after costs (95% interval −0.12% to +0.06%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
108,1352,316 assets, 1970 to 2026
Average trade
−0.98%before costs; median −0.85%
Winning trades
45%profit factor 0.78
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.03%95% interval −0.12% 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.2%46.1%46.4%45.9%45.3%
Random dates48.1%47.3%46.8%45.9%44.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 201236,047+0.01%
2012 to 202036,072−0.04%
2020 to 202636,016+0.25%

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 107,496 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: −654.0% on LRC/USDT, signal of 2021-10-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.

CMF(20) regular bearish divergence: real trade on LINK/USDT, 2026-10-04, daily chart
Most recentLINK 2026-10-04 daily chartSold short at the close of 2026-10-04 (14.28), bought back at the maximum holding time, 20 bars later (11.63): +18.6% before costs.Against the other crypto pairs over the same bars, after costs: +1.7%.CMF
CMF(20) regular bearish divergence: real trade on CHEF, 2020-02-21, daily chart
Best tradeCHEF 2020-02-21 daily chartSold short at the close of 2020-02-21 (36.18), bought back at the maximum holding time, 20 bars later (5.54): +84.7% before costs.Against the other stocks over the same bars, after costs: +74.4%.CMF

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily95,807−0.94%45%−0.05%No edge found
ETFsdaily3,406−0.77%40%−0.01%No edge found
Indicesdaily1,502−0.84%38%n/aNot measured
Cryptodaily6,541−1.83%59%+0.25%No edge found
Commoditiesdaily879−0.87%46%+0.23%No edge found
Crypto4-hour42,029+0.08%55%+0.02%Inconclusive
All marketsweekly20,738−4.95%40%−0.21%No edge found
Stocksweekly19,062−5.10%40%−0.16%No edge found
ETFsweekly690−3.17%37%−0.16%No edge found
Indicesweekly328−3.95%34%−0.36%No edge found
Cryptoweekly462−3.83%68%n/aNot measured
Commoditiesweekly196−1.60%55%+0.83%No edge found
CMF(20) hidden bullish divergenceNo edge found

Entry: Price makes a higher swing low while CMF(20) 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 110,999 times on 2,312 assets (stocks, ETFs, indices, crypto pairs and commodity futures) between 1970 and 2026, about once every 76 bars on each asset.

The average trade returned +0.76% before costs and the median trade +0.70%; 54% of trades made money, and the gains added up to 1.21 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.24% to −0.08%).

Signals
110,9992,312 assets, 1970 to 2026
Average trade
+0.76%before costs; median +0.70%
Winning trades
54%profit factor 1.21
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.16%95% interval −0.24% to −0.08%

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.3%51.3%51.7%52.8%53.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 201237,004−0.12%
2012 to 202037,008−0.04%
2020 to 202636,987+0.001%

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 110,711 trades hit the target first, for +0.14 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: −96.7% on BETA/USDT, signal of 2025-03-26.

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.

CMF(20) 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%.CMF
CMF(20) hidden bullish divergence: real trade on DOGE/USDT, 2021-03-30, daily chart
Best tradeDOGE 2021-03-30 daily chartBought at the close of 2021-03-30 (0.0540), sold at the maximum holding time, 20 bars later (0.4089): +657.2% before costs.Against the other crypto pairs over the same bars, after costs: +597.8%.CMF

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily96,849+0.92%55%−0.16%No edge found
ETFsdaily3,378+0.65%59%−0.08%No edge found
Indicesdaily1,509+0.41%57%n/aNot measured
Cryptodaily8,350−0.97%37%−0.12%No edge found
Commoditiesdaily913+0.74%52%−0.20%No edge found
Crypto4-hour47,301−0.14%44%−0.29%No edge found
All marketsweekly20,874+4.41%59%−0.12%No edge found
Stocksweekly18,893+4.59%60%−0.07%No edge found
ETFsweekly747+3.01%63%+0.92%No edge found
Indicesweekly318+3.33%67%+0.21%No edge found
Cryptoweekly717+2.01%28%n/aNot measured
Commoditiesweekly199+2.99%52%−2.07%Inconclusive
CMF(20) hidden bearish divergenceLagged the market, fragile

Entry: Price makes a lower swing high while CMF(20) 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 85,098 times on 2,323 assets (stocks, ETFs, indices, crypto pairs and commodity futures) between 1970 and 2026, about once every 99 bars on each asset.

The average trade returned −1.26% before costs and the median trade −1.06%; 45% of trades made money, and the gains added up to only 0.76 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.25% per trade after costs (95% interval −0.36% to −0.15%). For a sell signal, a positive number means the asset did worse than the others, as the signal announced.

Signals
85,0982,323 assets, 1970 to 2026
Average trade
−1.26%before costs; median −1.06%
Winning trades
45%profit factor 0.76
Median hold
20 barshalf between 20 and 20
Vs the market, after costs
−0.25%95% interval −0.36% 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 signal47.6%47.2%46.2%45.9%44.9%
Random dates48.4%47.8%47.4%46.8%46.1%

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 201228,378−0.20%
2012 to 202128,354−0.16%
2021 to 202628,366−0.07%

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.25%
Entry at the next bar's open−0.22%Holds
Trading costs doubled−0.36%Holds
1% most extreme trades trimmed on each side−0.11%Does not hold

The result no longer holds when 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), 27% of 84,526 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: −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.

CMF(20) 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%.CMF
CMF(20) hidden bearish divergence: real trade on LEU, 2014-09-05, daily chart
Best tradeLEU 2014-09-05 daily chartSold short at the close of 2014-09-05 (44.95), bought back at the maximum holding time, 20 bars later (7.36): +83.6% before costs.Against the other stocks over the same bars, after costs: +82.8%.CMF

Market by market

MarketBarsSignalsAvg tradeWinnersVs market, after costsResult
Stocksdaily72,225−1.59%43%−0.23%Inconclusive
ETFsdaily2,296−1.00%40%−0.16%No edge found
Indicesdaily892−0.94%40%n/aNot measured
Cryptodaily8,887+1.24%61%−0.45%No edge found
Commoditiesdaily798−0.83%49%−0.13%No edge found
Crypto4-hour52,218−0.04%52%−0.22%No edge found
All marketsweekly12,065−4.94%42%+0.30%No edge found
Stocksweekly10,568−5.59%40%+0.40%No edge found
ETFsweekly334−4.86%33%−0.05%No edge found
Indicesweekly146−1.89%37%+0.03%No edge found
Cryptoweekly842+3.58%68%n/aNot measured
Commoditiesweekly175−7.91%44%−3.90%Inconclusive

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

Is Chaikin Money Flow a good indicator?

It is a clear measure of where closes sit in their ranges, weighted by volume. On the S&P 500 ETF since 1993, its bearish readings were followed by better 20-day returns than its bullish ones, so it did not work as a timing signal there.

How do you read Chaikin Money Flow?

Above zero, closes have been mostly in the upper half of their ranges, weighted by volume; below zero, in the lower half. StockCharts suggests +0.05 and −0.05 as buffers to filter crosses.

What is the best CMF period?

20 or 21 days is typical. Shorter windows give more crosses. No period has been shown to be the best.

What is the difference between CMF and the Chaikin Oscillator?

CMF sums money flow volume over a fixed window and divides by volume. The Chaikin Oscillator is the difference between a 3-day and a 10-day EMA of the Accumulation Distribution Line, a running total of the same money flow volume.

Sources

  1. StockCharts ChartSchool, Chaikin Money Flow (CMF)
  2. StockCharts ChartSchool, Chaikin Oscillator
, 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