OPEN-SOURCE SCRIPT

Normalized Global Net Liquidity + HMA Smoothed RoC

Updated
This script calculates "Global Net Liquidity" using various financial data sources, and integrates Rate of Change (RoC) visualization alongside an Equity Hull Moving Average (HMA) plot. It also features an additional "Global Liquidity" metric that is subsequently scaled and plotted.

First, several financial indicators are requested and combined to form the "Global Net Liquidity Indicator." A Rate of Change (RoC) is then calculated, and this RoC, alongside the Equity Hull Moving Average (HMA), is plotted. Next, a "Global Liquidity" measure is formed by combining various financial data.

In summary, this script involves achieving a comprehensive visualization of liquidity-related indicators and measures, providing an inclusive outlook into the nature of global liquidity trends.

The main plot is the 3 liquidity metrics averaged together and normalized then scaled between -1 and 1 for TPI scoring.

You can customize the weighting for each metric, as well as the lookback period for all 3 metrics.

-1 = Negative Trend
1 = Positive Trend

Yellow = Global Net Liquidity
Blue = RoC
Red = Equity HMA

This is insight into global liquidity, and not to be taken in anyway as trading signals. This is an analysis tool to be combined with further research.
Release Notes
Converted the AVG plot into a histogram. Added customizable thresholds for Positive and Negative detection levels. Added a gradient background fill to visualize overall global net liquidity trend.
Release Notes
.
Release Notes
Updated threshold settings.
Portfolio management

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer