dharmatech

[dharmatech] U.S. Treasury Yield Curve

dharmatech Aggiornato   
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.
Note di rilascio:
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.

Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?