OPEN-SOURCE SCRIPT

Yield Curve

Zaktualizowano
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. 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).
Informacje o Wersji
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. Use this signal to enter the market, or cut current hedges against a recession.
Informacje o Wersji
There was a problem with time frames less than (All-Time) not showing specific exit/entry points. I have fixed the script to always specify an exit point at a yield curve inversion. This version is final and will likely not be further edited.
Informacje o Wersji
Updated script to better reflect entry and exit points
hedgerecessionS&P 500 (SPX500)SPDR S&P 500 ETF (SPY) treasuriestreasurybondstreasuryyieldTrend Analysisyieldcurveyieldcurveinversion

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności