OPEN-SOURCE SCRIPT
Updated Global Net Liquidity w/offset

Shows the value of Global Net Liquidity.
Currently defined as:
Fed + Japan + China + HK + UK + ECB - RRP - TGA
where the first six components are central bank assets.
This script has been heavily inspired by dharmatech's Global Net Liquidity
Original script can be viewed here: https://www.tradingview.com/script/hky2sJKD-Global-Net-Liquidity/
Special for this script:
For Bitcoin, 90 days, is a fitting offset.
For SPX, around 60-70 days, is a fitting offset.
Currently defined as:
Fed + Japan + China + HK + UK + ECB - RRP - TGA
where the first six components are central bank assets.
This script has been heavily inspired by dharmatech's Global Net Liquidity
Original script can be viewed here: https://www.tradingview.com/script/hky2sJKD-Global-Net-Liquidity/
Special for this script:
- Hong Kong assets added
- Offset mode
- Smooth vs stepped line in lower than 1D time frame
- Switch between trillion USD or full number
- Defaults to overlay mode when added to chart
For Bitcoin, 90 days, is a fitting offset.
For SPX, around 60-70 days, is a fitting offset.
Release Notes
Shows the value of Global Net Liquidity.Currently defined as:
Fed + Japan + China + HK + UK + ECB - RRP - TGA
where the first six components are central bank assets.
This script has been heavily inspired by dharmatech's Global Net Liquidity
Original script can be viewed here: https://www.tradingview.com/script/hky2sJKD-Global-Net-Liquidity/
Special for this script:
- Hong Kong assets added
- Offset mode
- Smooth vs stepped line in lower than 1D time frame
- Switch between trillion USD or full number
- Defaults to overlay mode when added to chart
For Bitcoin, 90 days, is a fitting offset.
For SPX, around 60-70 days, is a fitting offset.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.