PROTECTED SOURCE SCRIPT
Market State Data Box Multi TF Trend Reversion Breakouts

The Market State Data Box (v6) is a visual dashboard overlay that provides a real-time snapshot of market structure across multiple timeframes. It helps traders quickly assess trend direction, mean reversion conditions, and breakout volatility all without cluttering the chart.
For each selected timeframe (Monthly to 2-minute), the box displays:
Trend Alignment
Detects whether EMAs are in bullish, bearish, or neutral alignment:
Green = Bullish trend (stacked EMAs)
Red = Bearish trend (inverted EMAs)
Black = Neutral/mixed
Mean Reversion Zone
Highlights if the price is currently between EMA1 and EMA3, suggesting a potential mean-reversion environment (sideways, balanced).
BB Breakout Detection
Triggers if price breaks outside a 2 standard deviation range around the EMA (like a Bollinger Band breakout), useful for spotting explosive moves or fakeouts.
Customizable Inputs
Enable or disable any timeframe (Monthly, Weekly, Daily, etc.)
Set custom EMA values per timeframe (default: 20, 50, 200)
Use 2-EMA logic by setting the 3rd EMA to 0
Adjust box transparency and position
Use Case Examples
Use higher TFs (D, W, M) for trend bias
Use lower TFs (2m, 5m, 15m) for execution
Confirm breakouts or range setups using BB Break & MR zones
For each selected timeframe (Monthly to 2-minute), the box displays:
Trend Alignment
Detects whether EMAs are in bullish, bearish, or neutral alignment:
Green = Bullish trend (stacked EMAs)
Red = Bearish trend (inverted EMAs)
Black = Neutral/mixed
Mean Reversion Zone
Highlights if the price is currently between EMA1 and EMA3, suggesting a potential mean-reversion environment (sideways, balanced).
BB Breakout Detection
Triggers if price breaks outside a 2 standard deviation range around the EMA (like a Bollinger Band breakout), useful for spotting explosive moves or fakeouts.
Customizable Inputs
Enable or disable any timeframe (Monthly, Weekly, Daily, etc.)
Set custom EMA values per timeframe (default: 20, 50, 200)
Use 2-EMA logic by setting the 3rd EMA to 0
Adjust box transparency and position
Use Case Examples
Use higher TFs (D, W, M) for trend bias
Use lower TFs (2m, 5m, 15m) for execution
Confirm breakouts or range setups using BB Break & MR zones
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.