OPEN-SOURCE SCRIPT

US Treasuries Yield Curve

By QuantNomad
News about the yield curve became pretty crucial for all the trades in the last year.
So in the team, we decided to implement a nice widget that will allow you to track the current yield curve in your chart directly.

It's possible to compare the current yield curve with past yield curves. You can choose to display the number of curves weeks, months, and years ago. So you can see the dynamics of the yield curve change.

When the Y2 > Y10 curve is considered invested, so you'll see an "Inverted" notification on the chart.

Thanks to MUQWISHI for helping code it.

Disclaimer
Please remember that past performance may not indicate future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
educationalFundamental Analysisyieldyieldcurveyieldcurvecontrolyieldcurveinversionyieldinversioncurveyields
QuantNomad
🎓 Cohort courses: qntly.com/101
💻 Online Courses: qntly.com/courses
📝 Trials: qntly.com/trial
📖 Docs: qntly.com/docs

📰 Newsletter: qntly.com/news
𝕏: qntly.com/x
📩Telegram: qntly.com/tel

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer