OPEN-SOURCE SCRIPT

Fed Net Liquidity Indicator

Updated
This indicator aims to present a "Net Liquidity" indicator comprised of the Fed Balance sheet , less the TGA account and Overnight Reverse REPO agreements.

Net Liquidity = Fed Balance Sheet - ( TGA + Reverse REPO)

This is an overlay that can be added to stock or other charts (like SPY ) to see how the market may appear correlated to Net Liquidity - injection of liquidity into the markets.

This was hypothesized by Max Anderson, this is just a script realizing that posting.

New updates include a resolution feature, and an option to offset backwards by 2 days per original intent.
Release Notes
I have updated the script to fix the units that got changed from the FRED website and imported into TV.

I have also updated the script to display the correct units when selecting trillions, billions, and millions.
Release Notes
I updated the liquidity indicator to show the Fed Net Liquidity as a line as opposed to a histogram, this fixes the issue with having to scale the background. Should work MUCH better now!!
balanceeducationalfedliquiditynetREPOreversesheetTGA

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?

Disclaimer