OPEN-SOURCE SCRIPT
Market Crash Barometer AB

Market Crash Barometer by AB
The Market Crash Barometer is a multi-factor risk indicator designed to measure overall market stress and identify conditions that commonly appear before sharp market selloffs or panic events.
Instead of relying on a single signal, this indicator combines six key market factors into one unified Crash Score (0–100):
The combined score creates a real-time stress gauge that helps traders quickly assess whether markets are calm, weakening, or entering panic conditions.
Crash Score Zones
Background colors automatically highlight extreme risk environments:
Notes
This indicator is not intended to predict exact market tops or crashes. Instead, it acts as a probabilistic warning system by combining volatility, momentum, trend, and participation metrics into a single easy-to-read framework.
Works best when combined with price action and broader market analysis.
The Market Crash Barometer is a multi-factor risk indicator designed to measure overall market stress and identify conditions that commonly appear before sharp market selloffs or panic events.
Instead of relying on a single signal, this indicator combines six key market factors into one unified Crash Score (0–100):
- VIX Fear Index – Measures volatility and market fear
- Trend Strength – Detects when price trades below the 200-period moving average
- RSI Weakness – Identifies deteriorating momentum
- MACD Momentum – Confirms bearish momentum shifts
- Volume Expansion – Highlights abnormal trading activity
- ATR Volatility – Tracks rising market instability
The combined score creates a real-time stress gauge that helps traders quickly assess whether markets are calm, weakening, or entering panic conditions.
Crash Score Zones
- 0–25 → Normal Conditions
- 25–45 → Caution
- 45–65 → Stress
- 65–80 → Panic
- 80+ → Elevated Crash Risk
Background colors automatically highlight extreme risk environments:
- Orange = Panic conditions
- Red = Severe crash risk
- Best Uses
- Risk management
- Market regime detection
- Confirming bearish setups
- Identifying high-volatility environments
- Timing defensive positioning
Pine Script® Pine Script® Pine Script®
Notes
This indicator is not intended to predict exact market tops or crashes. Instead, it acts as a probabilistic warning system by combining volatility, momentum, trend, and participation metrics into a single easy-to-read framework.
Works best when combined with price action and broader market analysis.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.