Chaikin Money Flow was an indicator that measuring of the volume-weighted average of accumulation and distribution over a specified period (as cited from Fidelity) developed by Marc Chaikin, aim to identify the changes in buying or selling momentum of an asset that leads to the increase or decrease of asset prices. In the original format, the cross above 0 of money flow depicts a buying pressure, while a cross under 0 means a selling pressure. In this indicator, the money flow was displayed in a swami chart, used for detecting a change not only in one specified period but instead in multiple periods at once. Sequencing from the very below, the indicator capture the shift in money flow in shorter lookback periods, going through the very above the indicator capture the change of money flow in greater lookback periods. The color is set to gradient from red as indicating the negative money flow, while green indicates a positive money flow. A smoothing function was given (from Ehlers smoothing function) to reduce noises.

Money Flow:
cmf = n-day sum of( (((close - low) - (high - close)) / (high - low)) x volume )/ n-day sum of volume
smoothed = (4*cmf + 3*cmf + 2*cmf + cmf)/10

  • the Darker the color indicates the higher the value e.g. dark red means more selling pressure, and vice versa
  • if the color is a lineup in a one period, indicates a strong signal (both directions)
  • very below is for a shorter period, and increasing through to the longest (1 - 30 by default)

Other Example
Release Notes:
Update color and position adjustment
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?