OPEN-SOURCE SCRIPT

Global Liquidity Index (Billions USD)

已更新
This Pine Script indicator calculates the total global liquidity by combining M2/M3 money supply data from major economies converted to USD. The final value is displayed in billions of USD.
This was inspired by Raoul Pal's (RaoulGMI on X.com) work on global liquidity and its effect on markets.

Countries and Monetary Measures Used:

United States (USM2) - M2 Money Supply
China (CNM2) - M2 Money Supply
Japan (JPM2) - M2 Money Supply
European Union (EUM2) - M2 Money Supply
South Korea (KRM2) - M2 Money Supply
Canada (CAM2) - M2 Money Supply
India (INM2) - M2 Money Supply
Taiwan (TWM2) - M2 Money Supply
Great Britain (GBM2) - M2 Money Supply
Australia (AUM3) - M3 Money Supply
Features:

Time Offset: Allows shifting the data forward or backward by a specified number of bars but data pushed ahead of the chart data will be truncated.
Scale Range: Set to display between 50,000 and 100,000 billion USD
Overlay Option: Can be displayed as an overlay on the main chart
Left Scale: Uses the left price scale for values
Currency Conversion: Automatically converts all values to USD using real-time FX rates
Calculation Method:

Retrieves M2/M3 data for each country
Converts non-USD values to USD using current exchange rates
Sums all values
Divides by 1 billion for easier reading
Applies any time offset requested by the user
The indicator provides a comprehensive view of global liquidity by tracking approximately 80% of the world's monetary supply through these major economies.
版本注释
This Pine Script indicator calculates the total global liquidity by combining M2/M3 money supply data from major economies, converted to USD. The final value is displayed in billions of USD.
Countries and Monetary Measures Used:
United States (USM2) - M2 Money Supply
China (CNM2) - M2 Money Supply
Japan (JPM2) - M2 Money Supply
European Union (EUM2) - M2 Money Supply
South Korea (KRM2) - M2 Money Supply
Canada (CAM2) - M2 Money Supply
India (INM2) - M2 Money Supply
Taiwan (TWM2) - M2 Money Supply
Great Britain (GBM2) - M2 Money Supply
Australia (AUM3) - M3 Money Supply
Features:
Time Offset: Allows shifting the data forward or backward by a specified number of bars
Scale Range: Set to display between 97,000 and 100,000 billion USD
Overlay Option: Can be displayed as an overlay on the main chart
Left Scale: Uses the left price scale for values
Currency Conversion: Automatically converts all values to USD using real-time FX rates
Calculation Method:
Retrieves M2/M3 data for each country
Converts non-USD values to USD using current exchange rates
Sums all values
Divides by 1 billion for easier reading
Applies any time offset requested by the user
The indicator provides a comprehensive view of global liquidity by tracking approximately 80% of the world's monetary supply through these major economies.
Candlestick analysisMacroeconomic Analysis And Trading IdeasCyclesliquiditymacro

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明