OPEN-SOURCE SCRIPT

Treasury Yields Heatmap [By MUQWISHI]

Aggiornato
▋ INTRODUCTION :
The “Treasury Yields Heatmap” generates a dynamic heat map table, showing treasury yield bond values corresponding with dates. In the last column, it presents the status of the yield curve, discerning whether it’s in a normal, flat, or inverted configuration, which determined by using Pearson's linear regression coefficient. This tool is built to offer traders essential insights for effectively tracking bond values and monitoring yield curve status, featuring the flexibility to input a starting period, timeframe, and select from a range of major countries' bond data.

_______________________
▋ OVERVIEW:
istantanea

______________________
▋ YIELD CURVE:
It is determined through Pearson's linear regression coefficient and considered…
  • R ≥ 0.7 → Normal
  • 0.7 > R ≥ 0.35 → Slight Normal
  • 0.35 > R > -0.35 → Flat
  • -0.35 ≥ R > -0.7 → Slight Inverted
  • -0.7 ≥ R → Inverted


_______________________
▋ INDICATOR SETTINGS:
#Section One: Table Setting
istantanea

#Section Two: Technical Setting
istantanea
(1) Country: Select country’s treasury yields data
(2) Timeframe: Time interval.
(3) Fetch By:
 (3A) Date: Retrieve data by beginning of date.
 (3B) Period: Retrieve data by specifying the number of time series back.


Enjoy. Please let me know if you have any questions.
Thank you.


Note di rilascio
Amended the number of decimal places.
bondseconomyeducationalFundamental Analysisheatmapinflationrecessionstatisticstreasuriesyieldyieldcurveyieldcurvecontrol

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?



Trusted Pine Programmer, I Provide Coding Services. For Inquiries
► Website muqwishi.com/home/quotation/
► Telegram t.me/MUQWISHI


⛾ Support My Work on “Buy Me a Coffee” buymeacoffee.com/muqwishi
Anche su:

Declinazione di responsabilità