OPEN-SOURCE SCRIPT
Updated

Global Liquidity Indicator in USD

1 713
This indicator aggregates the total central bank balance sheets and M2 money supply for the USA, Canada, China, European Union, Japan, and the UK, converting all values to USD and normalizing them to trillions for easy visualization. It plots three lines: Total Balance Sheet, Total M2, and Combined Total, providing a comprehensive view of global liquidity trends.

Key Features:

Dynamic Coloring: Customize line colors based on direction—green for upward trends, red for downward (or any colors you choose), with independent on/off toggles for each line.

Real-Time Currency Conversion: Uses live forex rates (e.g., USD/CNY, USD/EUR) for accurate USD conversions.
Release Notes
This indicator aggregates the total central bank balance sheets and M2 money supply for the USA, Canada, China, European Union, Japan, and the UK, converting all values to USD and normalizing them to trillions for easy visualization. It plots three lines: Total Balance Sheet, Total M2, and Combined Total, providing a comprehensive view of global liquidity trends.

Key Features:

Dynamic Coloring: Customize line colors based on direction—green for upward trends, red for downward (or any colors you choose), with independent on/off toggles for each line.

Real-Time Currency Conversion: Uses live forex rates (e.g., USD/CNY, USD/EUR) for accurate USD conversions.
Release Notes
Added the option to plot a fully customizable in length and style SMA or EMA, to each of the indicator lines.
Release Notes
Fetching new CBBS and M2 data from the following countries which is added to the overall indicator calculations:
India

Brazil

Russia

South Korea

Australia

Mexico

Indonesia

Release Notes
Modified the labels writings to 'Global Liquidity' for the total combined indicator line and 'Global M2' for the total M2 indicator line.
Will polish up the indicator inputs and style settings in the coming weeks
Release Notes
Modified the labels writings to 'Global Liquidity' for the total combined indicator line and 'Global M2' for the total M2 indicator line.
Will polish up the indicator inputs and style settings in the coming weeks
Release Notes
Polished up the entries titles in the 'Inputs' and 'Style' setting sections to make the UX more user friendly and intuitive.

Disclaimer

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.