PROTECTED SOURCE SCRIPT
10Y - 2Y Spread (Farbig)

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.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.