dharmatech

[dharmatech] U.S. Treasury Yield Curve

dharmatech Atualizado   
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.
Notas de Lançamento:
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 de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?