Fed Net Liquidity Indicator v2Updated 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.
Sheet
Divergence Cheat Sheet'Divergence Cheat Sheet' helps in understanding what to look for when identifying divergences between price and an indicator. The strength of a divergence can be strong, medium, or weak. Divergences are always most effective when references prior peaks and on higher time frames. The most common indicators to identify divergences with are the Relative Strength Index (RSI) and the Moving average convergence divergence (MACD).
 Regular Bull Divergence:  Indicates underlying strength. Bears are exhausted. Warning of a possible trend direction change from a downtrend to an uptrend.
 Hidden Bull Divergence:  Indicates underlying strength. Good entry or re-entry. This occurs during retracements in an uptrend. Nice to see during the price retest of previous lows. “Buy the dips."
 Regular Bear Divergence:  Indicates underlying weakness. The bulls are exhausted. Warning of a possible trend direction change from an uptrend to a downtrend. 
 Hidden Bear Divergence:  Indicates underlying weakness. Found during retracements in a downtrend. Nice to see during price retests of previous highs. “Sell the rallies.”
 Divergences can have different strengths. 
 Strong Bull Divergence 
 
 Price: Lower Low 
 Indicator: Higher Low 
 
 Medium Bull Divergence 
 
 Price: Equal Low 
 Indicator: Higher Low 
 
 Weak Bull Divergence 
 
 Price: Lower Low 
 Indicator: Equal Low 
 
 Hidden Bull Divergence 
 
 Price: Higher Low 
 Indicator: Higher Low 
 
 Strong Bear Divergence 
 
 Price: Higher High 
 Indicator: Lower High 
 
 Medium Bear Divergence 
 
 Price: Equal High 
 Indicator: Lower High 
 
 Weak Bear Divergence 
 
 Price: Higher High 
 Indicator: Equal High 
 
 Hidden Bull Divergence 
 
 Price: Lower High 
 Indicator: Higher High 
Fed Net Liquidity IndicatorThis 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.


