OPEN-SOURCE SCRIPT
Updated

Sahm Rule Recession Indicator (by Alex L.)

4157
Real-time Sahm Rule Recession Indicator (idea by Claudia Sahm) based on US national unemployment rate.

I added an enhanced feature (optional) that uses slight variation in Sahm's idea and is usable to detect oversold stocks/crypto.

Enjoy!
Release Notes
Fixed the indicator's ability to view US recessions when under ANY security/ticker.
So now you can have the recessions displayed when viewing anything (when "Use for Stocks/Crypto" option is unchecked of course).

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.