This indicator displays the U.S. Treasury Securities Yield Curve.
This is a fork of the US Treasury Yield Curve indicator by @longflat. Thank you for sharing your work!
There are already so many yield curve indicators on TradingView.
What makes this one different?
Update to version 5 of Pine Script
Add RRP%
Add 4 month
Add 20 year
Show previous day's yield...
My intention was to create 1 script for the Commitment of Traders report but I wasn't not aware there is a limit on how many instrument calls can be made in PineScript so I had no choice but to divide the script into instrument categories. So far I have created 4 of them: Forex, Indexes & Metals/ Commodities & Treasuries which is the one presented here. If you are...