Treasury Yields Heatmap [By MUQWISHI]▋ 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:
______________________
▋ 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
#Section Two: Technical Setting
(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.
Treasuries
EFFR Range VisualizerThis script takes the upper and lower target Effective Fed Funds Rate subtracted from 100 to allow the user to quickly visualize how these relate to STIR and Treasury markets.
US Treasury Constant Maturity SpreadsPlots and tabulates constant maturity treasury yield spreads
// colours per curve type for the plots and table headers
C_30Y_20Y=color.orange
C_10Y_5Y=color.purple
C_10Y_2Y=color.blue
C_7Y_5Y=color.gray
C_5Y_2Y=color.red
C_3Y_2Y=color.yellow
C_10Y_1Y=color.olive
US Treasury All Yield Curve IORB WeightedI've updated my US Treasury All Yield Curve indicator to use the new FRED:IORB (interest on reserve balances), instead of the FRED:FEDFUNDS which is only updated monthly.
The new IORB doesn't provide very long lookback for data, so I'm publishing this as a new version and not an update, making it possible for users to choose which version best suits their needs.
US Treasury All Yield CurveRather than using one pair of treasuries, this indicator weighs them all in an overlapping fashion, to produce a composite yield curve that indicates the level of stress in the bond market.
Commitment of Traders ~ TREASURIESMy intention was to create 1 script for the Commitment of Traders report but I wasn't not aware there is a limit on how many instrument calls can be made in PineScript so I had no choice but to divide the script into instrument categories. So far I have created 4 of them: Forex, Indexes & Metals/ Commodities & Treasuries which is the one presented here. If you are interested in the other ones, feel free to do a search.
Available Instruments: Ultra(25-35yrs), Bonds(15-25yrs), 10yrs, 5yrs, 2yrs & 3 Month EuroDollar
The script calculates the ZScore of both Net Long (Money Managers / Asset Managers) and Net Long (Dealers / Swap) In some instrument categories you will also see Open Interest. It depends on whether I was maxed out or not on making security calls.
If you are not familiar with ZScore, it basically calculates the distance of price from a mean average in units of Standard Deviation. In theory when price reaches +2 it signifies overbought while if it reaches -2 is oversold. However just because it's hitting an extreme in one particular average doesn't necessarily mean it will reverse as the position of price in relation with the next longer average might not be so out of range.
Must be attached to weekly chart.
If you have any questions/suggestions, feel free to add them in the comments below
US Treasury All Yield Curve FEDFUNDS WeightedRather than picking a benchmark pair of treasuries to express a yield curve, this indicator weighs all (excluding the new 20 Year) durations, each against the next, and weights that against the FEDFUNDS rate.
US10Y - 10-Year Treasury Constant Maturity Rate10-Year Treasury Constant Maturity Rate
Percent Not Seasonally Adjusted, For further information regarding treasury constant maturity data.
Simple script that graphically represents the Bitcoin Cost Per Transaction.
Blockchain data made available at QUANDL.
Its logic is simple, search the data in the QUANDL database and plot it on the chart.
Yield CurveThis script tracks the U.S. 2Yr/10Yr Spread and uses inversions of the curve to predict recessions. Whenever a red arrow appear on the yield curve, expect a recession to begin within the next 2 years. Use this signal to either exit the market, or hedge current positions. Whenever a green arrow appears on the yield curve, expect a recession to have nearly ended. Use this signal to enter the market, or cut current hedges against a recession. (I may update this script in the future to better incorporate the effective federal funds rate into exit points, but for now I am satisfied with the results).
Turkey Yield Curve SpreadYield spreads are used to see investors' perception of future risk and predict a recession. The spread is the value obtained by subtracting the near term bond from the distant one. This indicator plots this value historically. I used 3-year and 10-year Turkey treasury bond yields instead of 2-year and 10-year Turkey treasury bond yields due to lack of historical data on Tradingview.
US Fed Balance SheetThe United States Fed assets by USD value on their publicly available balance sheet.
From: fred.stlouisfed.org
There is an option to show change from the previous period. Not every category from the website is listed in the indicator.
Listed categories:
Total
Treasury Bills
Treasury Notes and Bonds, Nominal
Mortgage-Backed Securities
Repurchase Agreements
Fed Agency Debt Securities (Primary/Secondary/Seasonal Credit + TALF)
Commercial Paper Funding Facility
Commercial Paper Funding Facility II (Post 2020-04-14)
Central Bank Liquidity Swaps
Related reading:
Funding, Credit, Liquidity, and Loan Facilities - www.federalreserve.gov
CPFF - www.federalreserve.gov
TALF - www.federalreserve.gov
Central Bank Liquidity Swaps - www.federalreserve.gov
US Treasury YieldsA simple utility tool to have all available US Treasury yield rates together on a one chart
US Treasury Yield CurveThis indicator plots the US treasury yield curve as maturity (x-axis/time) vs yield (y-axis/price)