OPEN-SOURCE SCRIPT

US Market Crashes

Updated
This script allows you to manually highlight specific periods on a chart, making it easy to visualize significant market events such as recessions, market crashes, or other key timeframes. Unlike traditional indicators that are based on price movements, this script provides a flexible way to mark any custom date range directly on your Trading View charts.

Features:
Custom Date Ranges: Easily specify start and end dates for periods you want to highlight on the chart.

Custom Colors: Choose different colors for each highlighted period for clear visual distinction.

Predefined Market Crashes: By default, the script highlights 18 historical market crashes where the market declined by over 20%.

Use Cases:
Historical Analysis: Highlight and study the impact of past recessions or market crashes.
Event Marking: Mark specific economic events, earnings seasons, or other relevant periods.
Presentation: Use the highlighted periods to enhance presentations or reports on market behavior.

How to Use:
Input the start and end dates for the periods you want to highlight.
Adjust the colors and transparency as needed.
Apply the script to your chart to see the highlighted periods.
This tool is perfect for traders, analysts, and investors who want a clean and straightforward way to visualize important historical periods on their charts.
The default setup includes 18 significant market crashes with declines of over 20%.
Release Notes
This script allows you to manually highlight specific periods on a chart, making it easy to visualize significant market events such as recessions, market crashes, or other key timeframes. Unlike traditional indicators that are based on price movements, this script provides a flexible way to mark any custom date range directly on your Trading View charts.

Features:
Custom Date Ranges: Easily specify start and end dates for periods you want to highlight on the chart.

Custom Colors: Choose different colors for each highlighted period for clear visual distinction.

Predefined Market Crashes: By default, the script highlights 18 historical market crashes where the market declined by over 20%.

Use Cases:
Historical Analysis: Highlight and study the impact of past recessions or market crashes.
Event Marking: Mark specific economic events, earnings seasons, or other relevant periods.
Presentation: Use the highlighted periods to enhance presentations or reports on market behavior.

How to Use:
Input the start and end dates for the periods you want to highlight.
Adjust the colors and transparency as needed.
Apply the script to your chart to see the highlighted periods.
This tool is perfect for traders, analysts, and investors who want a clean and straightforward way to visualize important historical periods on their charts.
The default setup includes 18 significant market crashes with declines of over 20%.
Cyclesmarketcrashoverlays

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