OPEN-SOURCE SCRIPT

Fed Net Liquidity Indicator v2

Updated script for jlb05013's original Fed Net Liquidity Indicator. TradingView was bringing in the FRED data in different units than they used to. This code fixes it.

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.
balanceCycleseducationalfedliquiditynetREPOreversesheetTGA

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