Impulse Range Compression & Expansion (IRCE)📌 Impulse Range Compression & Expansion (IRCE) – Visualizing Price Traps Before Breakouts
📖 Overview
The IRCE Indicator is a precision breakout detection tool designed to identify consolidation traps and price coil zones before expansion moves occur. Unlike traditional volatility indicators that rely solely on statistical thresholds (e.g., Bollinger Bands or ATR), IRCE focuses on behavioral price compression, detecting tight-range candle clusters and validating breakouts through body expansion and/or volume surges.
This makes it ideal for traders looking to:
• Catch breakouts from range traps
• Avoid choppy and premature signals
• Spot early-stage momentum moves based on clean price behavior
⸻
⚙️ How It Works
1. Impulse Range Compression Detection
• Measures the high-low range of each candle
• Compares it to a user-defined average range (default 7 bars)
• Flags candles where the range is significantly smaller (e.g., <60% of average)
• Groups these into tight clusters, indicating compression zones or potential “trap ranges”
2. Cluster Box Construction
• When a valid cluster (e.g., 3 or more tight candles) is detected, the indicator:
• Marks the high and low of the cluster
• Draws a shaded box over this “trap zone”
• This helps visually track where price has coiled before a breakout
3. Breakout Confirmation Logic
A breakout from the trap zone is only validated when:
• Price closes above the cluster high (bullish) or below the cluster low (bearish)
• One or both of the following confirm strength:
• Body Expansion: Current candle body is 120%+ of recent average
• Volume Expansion: Volume exceeds recent volume average
4. Optional Trend Filter
• An optional EMA filter (default: 50 EMA) ensures breakout signals align with trend direction
• Helps filter out countertrend noise in ranging markets
5. Signal Cooldown
• Prevents repeated signals by enforcing a cooldown period (e.g., 10 bars) between entries
⸻
🖥️ Visual Elements
• 📦 Yellow compression boxes represent tight price traps
• 🟢 Buy labels appear when price breaks above the trap with confirmation
• 🔴 Sell labels appear when price breaks below with confirmation
• All visuals are non-repainting and updated in real-time
🧠 How to Use
1. Wait for a yellow trap box to appear
2. Watch for a confirmed breakout from the trap zone
3. Take the trade in the direction of the breakout:
• Only if it satisfies body or volume confirmation
• And if trend alignment is enabled, it must match EMA direction
4. Place stops just outside the opposite end of the trap zone
5. Use risk/reward ratios or structure levels for exits
This logic works great on:
• Lower timeframes (scalping breakouts)
• Higher timeframes (detecting price coiling before major moves)
• Any market: Stocks, Crypto, FX, Commodities
⸻
🔒 Technical Notes
• ✅ No repainting
• ✅ No future-looking logic
• ✅ Suitable for both discretionary and systematic traders
• ✅ Built in Pine Script v6
Volumeconfirmation
Volume Status by BobRivera990This indicator is a tool that shows a relative view of the trading volume and classifies the volume into 5 different levels and makes it easy to compare it in different periods.
It is also specifically designed for detecting failed (fake) breakouts.
How it works?
This tool uses something similar to Bollinger Bands , but with more bands.
I used two standard deviations (positive and negative) on either side of a simple moving average ( SMA ) of the trading volume .
I also used twice the standard deviation (negative and positive) on either side of the SMA to create more bands.
The classification is made as follows:
Usage:
This indicator is a tool to compare the volume , relatively and in different periods. It is also a good tool for detecting failed (fake) breakouts.
Fake Breakouts Occurs when a support or resistance is broken but the market does not accept and support these price changes. This lack of support will cause trading volume to decrease during or after the breakout.
So, if the indicator shows Low-Volume or Minor-Volume status at the time of the breakout or right after that, it may be a fake breakout.
The truth is you cannot avoid false breakouts completely as long as you trade breakouts but you can minimize the risk and the loss.
Thank you all for forming this unique community.
Parameters:
" Volume SMA Length " => The length of the simple moving average of the Volume
Directional Volume IndexA new idea of mine that I am presently experimenting on for my trades.
The Directional Volume Index (DVI) is defined as follows:
DVI = VWMA(len1) - SMA(len2), where by default, len1==len2
The sign of the DVI provides volume confirmation of the direction of the price trend.
The magnitude of the DVI provides the volume confirmation of the strength of the price trend.
The novel aspects and principles of this indicator and this source code are the property of © cybernetwork.
This indicator and script is free for the TV community to use.