This script draws the US Yield Curve (one month to 30 years). It can be configured to show earlier values using the "Yield values from x bars before" parameter. A value of five and chart time zone "1 day" will show the Yield Curve as it was five days ago. In addition, style settings of the Yield Curve line and the labels can be configured. The drawing engine is also optimized to reduce local and server-side computations.
Release Notes
Added configuration options to include/exclude segments of the yield curve.
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.