OPEN-SOURCE SCRIPT
Compression Dashboard & EMA Tracker by Herman Sangivera (Papua)

Compression & EMA Probability Tracker By Herman Sangivera ( Papua )
Overview
The Compression & EMA Probability Tracker is a specialized price action tool designed to identify "Compression" (CP) zones—areas where price volatility narrows, and liquidity is systematically cleared. These zones often precede explosive breakouts or sharp reversals.
By integrating EMA 9 (Fast) and EMA 21 (Slow), this indicator analyzes the current trend momentum within the compression box and provides a real-time probability assessment of whether the market is likely to continue its trend or undergo a reversal.
How It Works
Compression Detection: Using a lookback period and an ATR-based threshold, the script automatically highlights periods of low volatility with a gray background box. This represents the "coiling" effect of the market.
Trend Alignment (EMA 9/21): * If EMA 9 > EMA 21 and price remains above them, the trend is considered bullish.
If EMA 9 < EMA 21 and price remains below them, the trend is considered bearish.
Real-Time Dashboard: A sleek on-chart panel displays:
Current Status: Identifies Rally, Drop, or Reversal warnings.
Continuation Probability (%): Likelihood of the current trend resuming after the breakout.
Reversal Probability (%): Likelihood of a trend change based on EMA crossovers inside the box.
Key Features
Automatic Box Plotting: Visually defines the range of the compression.
Dynamic Dashboard: High-visibility panel showing trend strength and probabilities.
Highly Customizable: Adjust EMA lengths, ATR sensitivity, and dashboard position to fit your trading style.
How to Trade with this Indicator
Trend Continuation: Look for a breakout in the direction of the EMA alignment (e.g., price breaks above the box while EMA 9 is above EMA 21). This is high-probability when the dashboard shows >70% Trend Probability.
Reversal: Watch for the price to cross back into the box and for the EMA 9 to cross the EMA 21. This shift in momentum often signals a trap or a trend exhaustion.
Disclaimer: This indicator is for educational and analytical purposes only. Trading involves significant risk, and past performance (probabilities) does not guarantee future results. Always use proper stop-loss management.
Overview
The Compression & EMA Probability Tracker is a specialized price action tool designed to identify "Compression" (CP) zones—areas where price volatility narrows, and liquidity is systematically cleared. These zones often precede explosive breakouts or sharp reversals.
By integrating EMA 9 (Fast) and EMA 21 (Slow), this indicator analyzes the current trend momentum within the compression box and provides a real-time probability assessment of whether the market is likely to continue its trend or undergo a reversal.
How It Works
Compression Detection: Using a lookback period and an ATR-based threshold, the script automatically highlights periods of low volatility with a gray background box. This represents the "coiling" effect of the market.
Trend Alignment (EMA 9/21): * If EMA 9 > EMA 21 and price remains above them, the trend is considered bullish.
If EMA 9 < EMA 21 and price remains below them, the trend is considered bearish.
Real-Time Dashboard: A sleek on-chart panel displays:
Current Status: Identifies Rally, Drop, or Reversal warnings.
Continuation Probability (%): Likelihood of the current trend resuming after the breakout.
Reversal Probability (%): Likelihood of a trend change based on EMA crossovers inside the box.
Key Features
Automatic Box Plotting: Visually defines the range of the compression.
Dynamic Dashboard: High-visibility panel showing trend strength and probabilities.
Highly Customizable: Adjust EMA lengths, ATR sensitivity, and dashboard position to fit your trading style.
How to Trade with this Indicator
Trend Continuation: Look for a breakout in the direction of the EMA alignment (e.g., price breaks above the box while EMA 9 is above EMA 21). This is high-probability when the dashboard shows >70% Trend Probability.
Reversal: Watch for the price to cross back into the box and for the EMA 9 to cross the EMA 21. This shift in momentum often signals a trap or a trend exhaustion.
Disclaimer: This indicator is for educational and analytical purposes only. Trading involves significant risk, and past performance (probabilities) does not guarantee future results. Always use proper stop-loss management.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.