The last seven recessions were preceded by an inverted yield curve. This is preset to the 2 year and 10 year US bond, weekly, but you can set it to whatever you like.
Published with source code for anyone to modify. This is the first in a series of indicators I intend to publish as a package of economic recoverty/recession symptom indicators.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้