OPEN-SOURCE SCRIPT

Inverted Yield Curve Indicator

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.

Simple Moving Average (SMA)

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer