An inversion between the 2 year and 10 year US treasury yield generally means a recession within 2 years. But the yield curve has more to it than that. This script helps analysis of the current and past yield curve (not limited to US treasury) and is very configurable.
"A yield curve is a line that plots yields (interest rates) of bonds having equal credit...
There are a couple of other Pine Scripts on TradingView that others have kindly contributed but they are presently out-dated because they shade recessions based on manual entries of time. Thanks to the availability of pulling data from QUANDL, we can pull official data from FRED on data like US Recessions.
The FRED series data is taken from is here- ...
This 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....
Real-time Sahm Rule Recession Indicator (idea by Claudia Sahm) based on US national unemployment rate.
I added an enhanced feature (optional) that uses slight variation in Sahm's idea and is usable to detect oversold stocks/crypto.
This model uses the difference between 10-year and 3-month Treasury rates to calculate the probability of a recession in the United States twelve months ahead.
By a simple gimpse, it has been correct for the last two recessions of 2000 and 2008.
Simple VIX Monitor to track spikes.
Spikes in VIX are often followed by big moves up in stocks.
Useful when paired with "Correlation & Beta" Indicator.
For Bitcoin Traders: when Bitcoin is highly correlated to Stocks (such as now) it could be a good opportunity for a short-term long trade.
Identifies when the US Treasury Yield Curve inverts (2 and 10 year bond rates).
When they ‘invert’ long-term bonds have a lower interest rate than short-term bonds. In other words, the bond market is pricing in a significant drop in future interest rates (which might be caused by the US Fed fighting off a recession in the future).
In the last 50 years, every...
Conceptual indicator based on trying to find an inverse correlation between bitcoin and traditional markets due to bitcoin's usefulness as a hedge against economic downturns.
How to use this script: you look at it and see if there is a correlation or not between bitcoin/Ethereum price and either U.S. stock CVi, buy volume, sell volume, calls, puts, or the call/put ratio.
Preface: I'm just the bartender serving today's freshly blended concoction; I'd like to send a massive THANK YOU to all the coders and PineWizards for the locally-sourced ingredients. I am simply a code editor, not a code author. Many thanks to these original authors!
Source 1 (Aug 8, 2019):
Source 2 (Aug 11, 2019):
About the Indicator: The term yield curve...
The “Recession Watch” indicator tracks 7 key economic metrics which have historically preceded US recessions. It provides a real-time indication of incoming recession risk.
This indicator gives a picture of when risk is increasing, and therefore when you might want to start taking some money out of risky assets.
All of the last seven recessions were preceded by a...
Dynamically plots 3 no. forward EUROBOND curves. When the curves converge (or worse crossover) there is higher risk of financial uncertainty and potential market correction.
The Eurobond Curves work in a similar way to treasury "yield curve inversion"; except the EUROBOND curves can signal much earlier than Treasuries therefore providing a leading...