dharmatech

[dharmatech] U.S. Treasury Yield Curve

dharmatech 已更新   
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 curve
Options for prior yield curves

The thick red line shows the latest yield curve.

The yellow line shows the yield curve 1 bar ago.

So, if your timeframe is set to 1 day, the yellow line will show yesterday's yield curve.
發布通知:
Hardcoded timeframe of securities to 1D.
Without this, RRP doesn't load at lower timeframes.
Also, without this, at lower timeframes, the yield curve difference is sometimes hardly noticeable.

開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?