Chaikin Money Flow Calculator

Calculate CMF (Chaikin Money Flow) from OHLC and volume data. Identify accumulation and distribution phases to gauge buying and selling pressure in the market.

Price & Volume Data

Format: Open, High, Low, Close, Volume (minimum 20 bars recommended)

Standard CMF uses 20 or 21 periods. Shorter periods are more sensitive.

CMF Formula

MFM = [(Close - Low) - (High - Close)] / (High - Low)

MFV = MFM × Volume

CMF = Σ(MFV, n) / Σ(Volume, n)

Chaikin Money Flow (20-period)
0.3131
Strong Accumulation
Average CMF
0.4631
Over 20 bars
CMF Trend
↓ Falling
Last 5 bars
Market Condition:Buying Pressure (Accumulation)

Strong positive CMF indicates institutional accumulation. Smart money is buying, and the trend is likely to continue upward.

CMF Interpretation Guide

+0.25 to +1.00Strong Accumulation
+0.05 to +0.25Buying Pressure
-0.05 to +0.05Neutral Zone
-0.25 to -0.05Selling Pressure
-1.00 to -0.25Strong Distribution
BarOpenHighLowCloseVolumeMFMMFVCMF
1150.00152.50149.00151.501.00M0.4286428.57K0.4286
2151.50153.00150.50152.801.20M0.84001.01M0.6530
3152.80154.00151.00153.50800.00K0.6667533.33K0.6566
4153.50155.00152.00154.201.50M0.4667700.00K0.5933
5154.20156.00153.50155.80900.00K0.8400756.00K0.6344
6155.80157.00154.50156.501.10M0.6000660.00K0.6286
7156.50158.00155.00157.20950.00K0.4667443.33K0.6080
8157.20159.00156.00158.501.80M0.66671.20M0.6194
9158.50159.50157.00158.001.30M-0.2000-260,0000.5184
10157.00158.50155.50156.201.60M-0.5333-853,333.3330.3799
11156.20157.50154.00154.801.40M-0.5429-760,0000.2846
12154.80156.00153.50155.501.10M0.6000660.00K0.3083
13155.50157.00154.50156.80900.00K0.8400756.00K0.3390
14156.80158.50155.50158.001.20M0.6667800.00K0.3625
15158.00160.00157.00159.501.50M0.66671.00M0.3875
16159.50161.00158.50160.201.00M0.3600360.00K0.3861
17160.20162.00159.00161.501.35M0.6667900.00K0.4045
18161.50163.00160.00162.001.10M0.3333366.67K0.4009
19162.00163.50160.50161.00950.00K-0.6667-633,333.3330.3561
20161.00162.00159.00159.801.25M-0.4667-583,333.3330.3131

How to Use the CMF Calculator

  1. Enter Price Data: Input your OHLCV (Open, High, Low, Close, Volume) data, one bar per line, comma-separated. At least 20 bars are recommended for accurate CMF readings.
  2. Select Period: Choose the CMF period (default is 20). Shorter periods are more sensitive to recent price action, while longer periods provide smoother readings.
  3. Analyze Results: Review the calculated CMF value. Positive values indicate accumulation (buying pressure), while negative values indicate distribution (selling pressure).
  4. Apply to Trading: Use CMF to confirm trends, identify divergences, and spot potential reversals when CMF diverges from price action.

What is Chaikin Money Flow (CMF)?

Chaikin Money Flow (CMF) is a volume-weighted average of accumulation and distribution over a specified period, typically 20 or 21 days. Developed by Marc Chaikin, this indicator measures the amount of Money Flow Volume over a specific period to determine whether an asset is being accumulated (bought) or distributed (sold).

CMF oscillates between -1 and +1. Values above zero indicate buying pressure (accumulation), while values below zero indicate selling pressure (distribution). The further from zero, the stronger the buying or selling pressure.

Understanding the CMF Formula

The CMF calculation involves three steps:

  • Money Flow Multiplier (MFM): Measures where the close falls within the high-low range. Formula: [(Close - Low) - (High - Close)] / (High - Low). When close is near the high, MFM approaches +1; when near the low, it approaches -1.
  • Money Flow Volume (MFV): Multiplies the MFM by volume to weight the money flow by trading activity. Formula: MFM × Volume.
  • Chaikin Money Flow: Sums the MFV over the period and divides by total volume. Formula: Sum(MFV, n) / Sum(Volume, n).

Why CMF Matters for Traders

  • Trend Confirmation: Rising CMF confirms uptrends; falling CMF confirms downtrends. Use CMF to validate price movements.
  • Divergence Detection: When price makes new highs but CMF fails to confirm, it signals potential weakness. Conversely, higher CMF lows during price lows suggest accumulation.
  • Institutional Activity: CMF helps identify smart money accumulation or distribution before significant price moves.
  • Support/Resistance Breaks: Strong CMF readings during breakouts confirm the move is backed by volume.

CMF Trading Strategies

  • Zero Line Cross: Buy when CMF crosses above zero (accumulation begins); sell when it crosses below zero (distribution begins).
  • Divergence Trading: Look for bullish divergence (price lower lows, CMF higher lows) for long entries. Look for bearish divergence (price higher highs, CMF lower highs) for short entries.
  • Trend Confirmation: Only take long positions when CMF is positive and rising; only take short positions when CMF is negative and falling.
  • Breakout Confirmation: Use strong CMF readings (above +0.25 or below -0.25) to confirm breakouts from consolidation patterns.

CMF vs Other Volume Indicators

  • CMF vs OBV: On-Balance Volume (OBV) is cumulative and can trend indefinitely. CMF oscillates between -1 and +1, making it easier to identify overbought/oversold conditions.
  • CMF vs A/D Line: The Accumulation/Distribution Line is also cumulative. CMF provides a bounded oscillator that's easier to interpret.
  • CMF vs MFI: Money Flow Index (MFI) is similar but uses typical price instead of close position within the range. MFI oscillates 0-100, while CMF oscillates -1 to +1.

CMF Limitations

  • Lagging Indicator: Like most volume indicators, CMF is based on past data and may lag price movements.
  • Gap Sensitivity: CMF doesn't account for overnight gaps, which can distort readings.
  • Low Volume Periods: During low volume periods, CMF readings may be less reliable.
  • False Signals: In choppy markets, CMF can generate false signals. Always use with other indicators.

FAQs

What does CMF stand for?

CMF stands for Chaikin Money Flow, named after its creator Marc Chaikin. It measures the amount of money flow volume over a specified period to determine accumulation or distribution.

What is a good CMF reading?

CMF above +0.25 indicates strong accumulation (bullish). CMF below -0.25 indicates strong distribution (bearish). Values between -0.05 and +0.05 are considered neutral.

What period should I use for CMF?

The standard CMF period is 20 or 21 days. Shorter periods (10-14) are more sensitive and suitable for short-term trading. Longer periods (30+) provide smoother readings for position trading.

How do I identify CMF divergence?

Bullish divergence occurs when price makes lower lows but CMF makes higher lows. Bearish divergence occurs when price makes higher highs but CMF makes lower highs. Divergences often precede trend reversals.

Mastered CMF? Build Custom Volume Indicators with Pine Script

You understand how Chaikin Money Flow works. Now let Pineify's AI create custom Pine Script indicators that plot CMF, alert you on divergences, and highlight accumulation/distribution phases—all automatically on TradingView.