PROTECTED SOURCE SCRIPT
Cập nhật Market Compression & Entropy Vector

Overview
This indicator measures market energy states and directional bias using concepts from information theory. It detects when markets are "coiling" (compression) versus "expanding" (decompression), and predicts early pivot points before they fully form.
Core Concepts
Compression-Decompression (0-1 scale)
Compression (blue): Low volatility, narrow ranges. Energy building for breakout.
Decompression (orange): High volatility, trending. Energy releasing.
Entropy Vector (-1 to +1)
Derived from buy/sell pressure using Shannon entropy:
Positive: Bullish bias (buyers dominating)
Negative: Bearish bias (sellers dominating)
Near zero: Indecision
Early Pivot Detection
Predicts reversals using 5 confluence factors:
Entropy vector crossing zero
Momentum exhaustion (rate of change reversal)
Compression exit (breakout from consolidation)
Price-entropy divergence
Extreme entropy readings
Signals
Signal Meaning
BUY Exiting compression with bullish entropy
SELL Exiting compression with bearish entropy
TOP (diamond) High probability of downward reversal
BTM (diamond) High probability of upward reversal
Key Settings
Pivot Sensitivity (1-10): Higher = more pivot signals
Pivot Score Threshold (30-90): Minimum score to trigger pivot marker
Compression/Decompression Thresholds: Define phase boundaries
Info Table
Displays real-time metrics including compression score, entropy vector, directional bias, and pivot prediction scores for tops/bottoms.
Best Use
Wait for compression phase (blue background)
Watch entropy vector for directional bias
Enter when pivot signal aligns with entropy direction
Use decompression phase for trend-following
Tags: entropy, compression, pivot detection, reversal, momentum, volatility
This indicator measures market energy states and directional bias using concepts from information theory. It detects when markets are "coiling" (compression) versus "expanding" (decompression), and predicts early pivot points before they fully form.
Core Concepts
Compression-Decompression (0-1 scale)
Compression (blue): Low volatility, narrow ranges. Energy building for breakout.
Decompression (orange): High volatility, trending. Energy releasing.
Entropy Vector (-1 to +1)
Derived from buy/sell pressure using Shannon entropy:
Positive: Bullish bias (buyers dominating)
Negative: Bearish bias (sellers dominating)
Near zero: Indecision
Early Pivot Detection
Predicts reversals using 5 confluence factors:
Entropy vector crossing zero
Momentum exhaustion (rate of change reversal)
Compression exit (breakout from consolidation)
Price-entropy divergence
Extreme entropy readings
Signals
Signal Meaning
BUY Exiting compression with bullish entropy
SELL Exiting compression with bearish entropy
TOP (diamond) High probability of downward reversal
BTM (diamond) High probability of upward reversal
Key Settings
Pivot Sensitivity (1-10): Higher = more pivot signals
Pivot Score Threshold (30-90): Minimum score to trigger pivot marker
Compression/Decompression Thresholds: Define phase boundaries
Info Table
Displays real-time metrics including compression score, entropy vector, directional bias, and pivot prediction scores for tops/bottoms.
Best Use
Wait for compression phase (blue background)
Watch entropy vector for directional bias
Enter when pivot signal aligns with entropy direction
Use decompression phase for trend-following
Tags: entropy, compression, pivot detection, reversal, momentum, volatility
Phát hành các Ghi chú
OverviewThis indicator measures market energy states and directional bias using concepts from information theory. It detects when markets are "coiling" (compression) versus "expanding" (decompression), and predicts early pivot points before they fully form.
Core Concepts
Compression-Decompression (0-1 scale)
Compression (blue): Low volatility, narrow ranges. Energy building for breakout.
Decompression (orange): High volatility, trending. Energy releasing.
Entropy Vector (-1 to +1)
Derived from buy/sell pressure using Shannon entropy:
Positive: Bullish bias (buyers dominating)
Negative: Bearish bias (sellers dominating)
Near zero: Indecision
Early Pivot Detection
Predicts reversals using 5 confluence factors:
Entropy vector crossing zero
Momentum exhaustion (rate of change reversal)
Compression exit (breakout from consolidation)
Price-entropy divergence
Extreme entropy readings
Signals
Signal Meaning
BUY Exiting compression with bullish entropy
SELL Exiting compression with bearish entropy
TOP (diamond) High probability of downward reversal
BTM (diamond) High probability of upward reversal
Key Settings
Pivot Sensitivity (1-10): Higher = more pivot signals
Pivot Score Threshold (30-90): Minimum score to trigger pivot marker
Compression/Decompression Thresholds: Define phase boundaries
Info Table
Displays real-time metrics including compression score, entropy vector, directional bias, and pivot prediction scores for tops/bottoms.
Best Use
Wait for compression phase (blue background)
Watch entropy vector for directional bias
Enter when pivot signal aligns with entropy direction
Use decompression phase for trend-following
Tags: entropy, compression, pivot detection, reversal, momentum, volatility
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.