OPEN-SOURCE SCRIPT

WU Sahm Recession Indicator

已更新
The Sahm Recession Indicator devised by Economist Claudia Sahm is a rather insightful tool that captures the onset of recessions by utilizing unemployment data, which can provide more real-time insights compared to quarterly GDP reports. If the three-month simple moving average (SMA) of the unemployment rate exceeds the minimum unemployment rate of the previous 12 months by 0.5 percentage points, it indicates a high likelihood of a recession.

This script allows you to visualize this indicator and set up alerts for when this criterion indicates that a recession could be coming.
發布通知
Will not display on any other time frame than Monthly. I added also a yellow line when the signal is exactly on the threshold value.
發布通知
Due to the use of the function ta.lowest(unrate3M, 12), which looked back only 11 months since it included the current one, the previous version was not fully accurate. I have fixed this issue.
發布通知
Can be switch to a Threshold of 0.61% instead of the 0.5% used by Claudia Sahm.
forecasting

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明