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.
MFM = [(Close - Low) - (High - Close)] / (High - Low)
MFV = MFM × Volume
CMF = Σ(MFV, n) / Σ(Volume, n)
Strong positive CMF indicates institutional accumulation. Smart money is buying, and the trend is likely to continue upward.
CMF Interpretation Guide
| Bar | Open | High | Low | Close | Volume | MFM | MFV | CMF |
|---|---|---|---|---|---|---|---|---|
| 1 | 150.00 | 152.50 | 149.00 | 151.50 | 1.00M | 0.4286 | 428.57K | 0.4286 |
| 2 | 151.50 | 153.00 | 150.50 | 152.80 | 1.20M | 0.8400 | 1.01M | 0.6530 |
| 3 | 152.80 | 154.00 | 151.00 | 153.50 | 800.00K | 0.6667 | 533.33K | 0.6566 |
| 4 | 153.50 | 155.00 | 152.00 | 154.20 | 1.50M | 0.4667 | 700.00K | 0.5933 |
| 5 | 154.20 | 156.00 | 153.50 | 155.80 | 900.00K | 0.8400 | 756.00K | 0.6344 |
| 6 | 155.80 | 157.00 | 154.50 | 156.50 | 1.10M | 0.6000 | 660.00K | 0.6286 |
| 7 | 156.50 | 158.00 | 155.00 | 157.20 | 950.00K | 0.4667 | 443.33K | 0.6080 |
| 8 | 157.20 | 159.00 | 156.00 | 158.50 | 1.80M | 0.6667 | 1.20M | 0.6194 |
| 9 | 158.50 | 159.50 | 157.00 | 158.00 | 1.30M | -0.2000 | -260,000 | 0.5184 |
| 10 | 157.00 | 158.50 | 155.50 | 156.20 | 1.60M | -0.5333 | -853,333.333 | 0.3799 |
| 11 | 156.20 | 157.50 | 154.00 | 154.80 | 1.40M | -0.5429 | -760,000 | 0.2846 |
| 12 | 154.80 | 156.00 | 153.50 | 155.50 | 1.10M | 0.6000 | 660.00K | 0.3083 |
| 13 | 155.50 | 157.00 | 154.50 | 156.80 | 900.00K | 0.8400 | 756.00K | 0.3390 |
| 14 | 156.80 | 158.50 | 155.50 | 158.00 | 1.20M | 0.6667 | 800.00K | 0.3625 |
| 15 | 158.00 | 160.00 | 157.00 | 159.50 | 1.50M | 0.6667 | 1.00M | 0.3875 |
| 16 | 159.50 | 161.00 | 158.50 | 160.20 | 1.00M | 0.3600 | 360.00K | 0.3861 |
| 17 | 160.20 | 162.00 | 159.00 | 161.50 | 1.35M | 0.6667 | 900.00K | 0.4045 |
| 18 | 161.50 | 163.00 | 160.00 | 162.00 | 1.10M | 0.3333 | 366.67K | 0.4009 |
| 19 | 162.00 | 163.50 | 160.50 | 161.00 | 950.00K | -0.6667 | -633,333.333 | 0.3561 |
| 20 | 161.00 | 162.00 | 159.00 | 159.80 | 1.25M | -0.4667 | -583,333.333 | 0.3131 |
How to Use the CMF Calculator
- 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.
- Select Period: Choose the CMF period (default is 20). Shorter periods are more sensitive to recent price action, while longer periods provide smoother readings.
- Analyze Results: Review the calculated CMF value. Positive values indicate accumulation (buying pressure), while negative values indicate distribution (selling pressure).
- 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.
Related Technical Analysis Tools
MFI Calculator
Calculate the Money Flow Index (MFI), a volume-weighted RSI indicator. Identify overbought and oversold conditions using price and volume data for better trading signals.
VWAP Calculator
Calculate VWAP (Volume Weighted Average Price) from OHLC and volume data. Supports anchored VWAP from specific dates for institutional trading levels.
RSI Calculator
Calculate the Relative Strength Index to identify overbought or oversold conditions.
MACD Calculator
Compute Moving Average Convergence Divergence values to identify trend direction and momentum.
ADX Calculator
Calculate ADX (Average Directional Index), +DI, -DI, and trend strength instantly. Identify strong trends vs ranging markets for stocks, forex, and crypto.
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.