OPEN-SOURCE SCRIPT

Net USD Liquidity w/ overlays [tedtalksmacro]

This script aggregates and analyses total USD market liquidity in trillions of dollars - albeit with lagged, weekly data (live data is not available in TradingView!)

There's a positive correlation with the total liquidity available in the world's largest economy and risk assets like BITSTAMP:BTCUSD

The formula for net liquidity is as follows and uses account balances at the Fed and of the Treasury's General Account:

Fed Balance Sheet ECONOMICS:USCBBS — Accepted Reverse Repo Bids FRED:RRPONTTLD — Treasury General Account Balance FRED:WTREGEN

This script shows positive prints when liquidity is above it's 7 day EMA and negative when below... don't use this on timeframes lower than the 1D chart!
Fundamental Analysis

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