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
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.