Institutional Order Block Engine [algo_aakash]Institutional Order Block Engine identifies bullish and bearish order blocks using confirmed market structure breaks, displacement strength, relative volume analysis, and a proprietary quality scoring model.
The indicator is designed to help traders visualize potential reaction zones while filtering out lower-quality formations through objective scoring criteria.
Features
Confirmed Break of Structure (BOS) detection
Bullish and bearish order block identification
Relative volume filtering
ATR-based displacement validation
Quality score ranking system
Fresh and tested zone tracking
Consequent Encroachment (50%) midline display
Automatic zone expiration
Zone mitigation detection
Real-time alerts
Inputs
Structure & Detection
Swing Length
ATR Length
Displacement Strength
Institutional Quality Filter
Relative Volume Filter
Volume Multiplier
Volume Average Length
Minimum Quality Score
Zone Behavior
Maximum Active Zones
Zone Expiration Period
Zone Extension Mode
Mitigation Detection Method
Visual Controls
Bullish Zone Colors
Bearish Zone Colors
Tested Zone Colors
Midline Display
Label Size
Alerts
New Order Block Formation
Zone Mitigation
Zone Retest
How It Works
The indicator first identifies confirmed swing highs and swing lows.
When price closes beyond a previously confirmed swing level, a Break of Structure is recorded.
The script then searches for the opposite-direction candle that preceded the displacement move and uses that candle to construct the order block zone.
Each zone receives a quality score based on:
Displacement strength
Candle body efficiency
Relative volume participation
Zone size efficiency
Only zones meeting the minimum quality threshold are displayed.
Limitations
Order blocks are algorithmic interpretations of price behavior.
Not all identified zones will produce reactions.
Performance may vary across assets and timeframes.
Low-liquidity markets can reduce signal reliability.
Notes
Uses confirmed structure logic.
Does not rely on future-looking data.
Designed for discretionary analysis and workflow enhancement.
Indicateur Pine Script®






















