
Pinescriptlabs Store indicators: Pinescriptlabs Store cBots : (cBot) Gold & BTC BreakoutSession Pivots(new)
Prediction Based on Linreg & ATR
SmartTrend Support &
Resistance
Lines
Dynamic
Market Structure
Analysis
of
Turning
Points
Fibonacci
Linear
Regression
Multi-timeframe
Auto
Support and
Resistance
Trend
Lines
All
Support and
Resistance
Levels
MarketImbalanceDetector identifies market imbalances and visually marks key areas based on price patterns and volatility (ATR). Here’s a simple breakdown of how it works:
🔍 Signal Detection
It compares prices of previous bars to detect bullish or bearish patterns. Using specific conditions (like comparing lows and highs of previous bars) and filtering signals with current volatility, it ensures the movement is significant.
📊 Visualizing Imbalances
When a signal is identified, the indicator draws on the chart:
- An Imbalance Area (a rectangle) marking the zone where the pattern occurred.
- An Average Level Line (calculated from relevant highs and lows) to help visualize support or resistance.
- An Icon (an arrow) indicating the signal direction (⬆️ for bullish, ⬇️ for bearish).
OP/PE Zones
Additionally, it creates zones called OP () and PE (Escape Point). These zones are calculated by adding or subtracting a multiple of the ATR to the average level, helping define areas for taking profit or cutting losses.