1. Home
  2. ThinkorSwim Indicators
  3. Fed Net Liquidity Indicator for ThinkorSwim

Fed Net Liquidity Indicator for ThinkorSwim

The Fed Net Liquidity indicator is a concept discovered by Max Anderson to calculate the fair value of SPX (S&P 500 Index).

The formula he shared on Twitter consists of the Fed Balance Sheet, TGA (Treasury General Account), and Reverse Repo.

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

The data for each component above is accessible on the FRED website.

Alternatively, you can use the script below (written by a thinkScript OneNote contributor) to show the Net Liquidity indicator in ThinkorSwim.

This indicator can be used to go long and short the market, precisely the S&P 500 index.

Fed Net Liquidity Indicator for ThinkorSwim

# amalia
# 10/03/2022
# thinkScript OneNote
declare lower;
def a = If(IsNaN(Close("WALCL:FRED")), a[1], Close("WALCL:FRED"));
def b = If(IsNaN(Close("WTREGEN:FRED")), b[1], Close("WTREGEN:FRED"));
def c = If(IsNaN(Close("RRPONTSYD:FRED")), c[1], Close("RRPONTSYD:FRED"));
def SPX = If(IsNaN(Close("SPX")), SPX[1], Close("SPX"));
def SPXFairValueNetLiq = (A - (b + c)*1000)/1000/1.1-1625;
def SPXFairValue = If(!IsNaN(Close), SPXFairValueNetLiq, Double.NaN);
# Melvin C.
# added on 10/19/2022
plot difference = close - SPXFairValue;
plot overbought = 350;
plot oversold = -150;

How To Use the Fed Net Liquidity Indicator

This year so far, the Net Liquidity indicator has presented three perfect short entries on the SPX.

  • Jan 3
  • Apr 20
  • Aug 15

According to Max Anderson, the Fed Net Liquidity indicator has just two trading rules.

  • Short when the reading is above 350
  • Long when the reading is below -150

Take a look at the video below to learn more about the indicator.

Sources: @maxjanderson on Twitter

Unlock the Power of ThinkorSwim

Get the latest news and updates on TD Ameritrade, ThinkorSwim indicators, thinkScript tutorials, and trading strategies delivered straight to your inbox every week.

We don’t spam! Unsubscribe at anytime.

5 thoughts on “Fed Net Liquidity Indicator for ThinkorSwim

  1. The three data sources are in different frequence, say weekly or daily. I do not see, in the thinkscript, this is hadled properly.

    1. Some data is only released monthly so monthly, but the Daily and Weekly just shows minor offsets. Took me while to figure out this only works on SPX and the chart has to be on SPX and on the DAILY WEEKLY or MONTHLY

Leave a Reply

Your email address will not be published. Required fields are marked *