OPEN-SOURCE SCRIPT

SPX and Federal Net Liquidity difference

Updated
Script for applying Federal Net Liquidity to the SPX post-2020 monetary policy. Original indicator from jlb05013 with adjustments to make it more readable and usable. When the indicator is above 250 the SPX is overbought and when it's below -250 the SPX is oversold.

It's not perfect, I'm just publishing because I didn't see it already out there.
Release Notes
TradingView was bringing in the variables with different units. Fixed that and removed unnecessary code.
Release Notes
Reconnected FRED dataset for Federal Balance Sheet. The quandl dataset was not working anymore.

Indicator now clearly shows either a) a strong over-valuation in the market or b) the indicator no longer applies
Release Notes
Updated to plot SPX within the chart so it is a complete chart regardless of which symbol you have on the main pane.
Release Notes
Changed chart in published version
educationalPivot points and levelsTrend 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?

Disclaimer