OPEN-SOURCE SCRIPT

Market State

76
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.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。