INVITE-ONLY SCRIPT

Repaint- Consolidation Box

33
Indicator Description
The Pro Consolidation Box indicator automatically identifies and visualizes price consolidation zones on your chart. A consolidation zone is defined as a period where price action remains within a specific range for a minimum amount of time.
How It Works

Range Detection: The indicator tracks the highest and lowest prices in real-time.
Consolidation Criteria: A consolidation is identified when:

Price stays within a user-defined range (default: 150 points)
For a minimum time period (default: 15 minutes, automatically adjusted to your chart timeframe)


Visual Representation: When consolidation criteria are met, a colored box appears on your chart highlighting the consolidation zone.
Dynamic Updates: The box automatically:

Expands if price makes new highs/lows while still within the allowed range
Disappears if price breaks out of the range
Resets and begins tracking a new potential consolidation zone after a breakout


Real-time Statistics: A small information panel in the top-right corner displays:

Current price range size
Number of bars price has remained within the range



Customization Options

Range Size: Set the maximum price range for consolidation (larger values identify wider consolidations)
Time Threshold: Minimum time required to confirm a consolidation (in minutes)
Box Color: Customize the fill color and transparency of consolidation zones
Edge Display: Toggle visibility of box borders
Edge Color: Customize the color of box borders

Trading Applications
This indicator helps you:

Identify periods of decreasing volatility that often precede breakouts
Spot potential support/resistance zones within ranging markets
Find potential breakout entry points as price approaches consolidation boundaries

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.