OPEN-SOURCE SCRIPT

US Recessions Overlay

Updated
The US Recessions Overlay indicator highlights the periods of US economic recessions directly on your TradingView chart. Using historical data from the Great Depression to the present, it provides a visual representation of recessions as transparent red backgrounds. This can help traders and analysts correlate market movements with historical economic downturns.

Features:
- Displays US recessions since the Great Depression (1929) as shaded areas.
- Automatically adjusts the background shading to match the date ranges of historical recessions.
- A simple and effective way to observe market behavior during recessionary periods.
- Fully customizable to include new recession periods or modify transparency levels.

How to Use:
Apply the indicator to any chart. Recession periods will appear as red-shaded backgrounds, providing a clear visual cue for market behavior during those times.

Use Case:
Ideal for traders, economists, and market historians who wish to study the impact of recessions on financial markets.
Release Notes
The US Recessions Overlay indicator highlights the periods of US economic recessions directly on your TradingView chart. Using historical data from the Great Depression to the present, it provides a visual representation of recessions as transparent red backgrounds. This can help traders and analysts correlate market movements with historical economic downturns.

Features:

Displays US recessions since the Great Depression (1929) as shaded areas.
Automatically adjusts the background shading to match the date ranges of historical recessions.
A simple and effective way to observe market behavior during recessionary periods.
Fully customizable to include new recession periods or modify transparency levels.
How to Use:
Apply the indicator to any chart. Recession periods will appear as red-shaded backgrounds, providing a clear visual cue for market behavior during those times.

Use Case:
Ideal for traders, economists, and market historians who wish to study the impact of recessions on financial markets.
Fundamental AnalysisPortfolio managementsentiment

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