All indicators

Money Flow Divergence

Aug 26, 2024

Static chart image
SignalsDivergencesLiquidity

The Money Flow Divergence indicator identifies periods of significant divergence between the growth of the U.S. M2 money supply and the S&P 500 index (SPX) to highlight potential macroeconomic market turning points.

Usage

The Money Flow Divergence tool is primarily used by long-term investors to assess whether market liquidity is supporting current equity prices. By analyzing the "growth gap" between the M2 money supply and the SPX, traders can identify two primary states:

  • Bullish Signals (Green Histogram): Occur when M2 growth outpaces SPX growth. This suggests there is excess liquidity in the financial system relative to stock performance, often signaling a favorable environment for upward momentum.
  • Bearish Signals (Red Histogram): Occur when SPX growth outpaces M2 growth. This indicates the market may be overextended relative to available liquidity, serving as a warning for potential corrections or downturns.

While the tool supports various timeframes, the monthly (M) setting is generally considered the most effective for filtering out short-term noise and focusing on broader macroeconomic trends.

Details

The script calculates the percentage growth of both the S&P 500 (SPX) and the U.S. M2 Money Supply using data requested from external feeds (FRED:M2 and SP:SPX). The "Growth Gap" or "Delta" is then derived by subtracting the SPX growth percentage from the M2 growth percentage.

This relationship is rooted in the concept that stock market performance is often driven by the availability of money in the economy. When the money supply expands faster than the market, it creates a "liquidity buffer." Conversely, when the market rises significantly faster than the money supply, the market may be becoming "expensive" in liquidity terms.

Settings

  • Time Frame: Determines the interval used for calculating the growth rates (e.g., Monthly, Weekly, Daily). Changing this affects how frequently the delta is updated and the sensitivity of the histogram.

FAQ

How do I interpret the histogram colors?

Green bars indicate that the U.S. M2 money supply is growing faster than the S&P 500, suggesting a healthy liquidity environment. Red bars indicate the S&P 500 is growing faster than the money supply, which may signal overvaluation.

Which timeframe is best for this indicator?

Macroeconomic data like the M2 money supply is typically reported on a monthly basis, so the Monthly (M) timeframe usually provides the most accurate and reliable signals.

How can I access this tool?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.