PROTECTED SOURCE SCRIPT

10Y - 2Y Spread (Farbig)

152
10Y – 2Y Yield Spread (Color-Coded)

Description:
This indicator plots the yield spread between the US 10-Year and 2-Year Treasury yields (US10Y – US02Y) as a color-coded line:

Green = normal yield curve (positive spread)

Red = inverted yield curve (negative spread), often seen as a leading recession signal

A horizontal zero line is added to highlight turning points.
This indicator is ideal for tracking macroeconomic yield curve behavior and can be used alongside equity, crypto, or commodity charts.

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.