OPEN-SOURCE SCRIPT

RatioSPX/Inverted Fed Funds Rate

123
Here is the Pine Script that compares the S&P 500 (SPX) to the inverse Fed Funds Rate, both normalized to a 0–1 scale for easy visual comparison:

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.