OPEN-SOURCE SCRIPT

Market State

108
Identifies market regime (Expansion, Crawl, Compression, Reversion, Chop) using VWAP-based auction theory and volatility analysis.
Full Description:
This indicator combines Auction Market Theory with Volatility Regime Detection to classify the current market state and highlight key auction events.
🎯 Market States (Background Colors)
EXPANSION (lime) — Strong directional move, price outside value zone
CRAWL (green) — Trending move with price acceptance
REVERSION (orange) — Mean reversion back to value after deviation
COMPRESSION (blue) — Tight range, accumulation/distribution phase
CHOP (red) — Choppy, directionless price action
📍 Event Markers
ACC↑ / ACC↓ — Price acceptance above/below VWAP (A of B bars closed on one side)
REJ — Rejection at extreme (breakout + long wick)
RCLM — Value reclaim (price returns to value zone)
LOSS — Value loss (price breaks out of value zone)
📊 Key Components
VWAP — Dynamic fair value reference
Value Zone — VWAP ± k×ATR band (configurable)
Range/ATR Ratio — Volatility regime detection
EMA Slope — Trend direction proxy
💡 Trading Logic
COMPRESSION → Wait for breakout
EXPANSION → Follow the trend
REVERSION/REJ → Look for mean reversion trades
CHOP → Avoid or scalp range boundaries
⚙️ Settings
All parameters are fully customizable: ATR length, acceptance window, rejection thresholds, compression/expansion levels, and visual toggles.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.