Institutional Zone Detector [Scalping-Algo]โ OVERVIEW
The Institutional Zone Detector identifies key supply and demand zones where large market participants (institutions, banks, hedge funds) have likely placed significant orders. These zones often act as powerful support and resistance levels, making them strategic areas for trade entries and exits.
This indicator is non-repainting, meaning once a signal appears on your chart, it will never disappear or change position. What you see in backtesting is exactly what you would have seen in real-time.
โ CORE CONCEPT
Markets move when large players execute substantial orders. These orders leave footprints in the form of specific candlestick patterns:
Demand Zones (Bullish)
When institutions accumulate positions, we often see a bearish candle followed by a strong bullish sequence. The last bearish candle before this move marks the demand zone - an area where buying pressure overwhelmed sellers.
Supply Zones (Bearish)
When institutions distribute positions, we typically see a bullish candle followed by a strong bearish sequence. The last bullish candle before this move marks the supply zone - an area where selling pressure overwhelmed buyers.
Price has a tendency to revisit these zones, offering potential trade opportunities.
โ HOW IT WORKS
The indicator scans for:
1. A potential zone candle (bearish for demand, bullish for supply)
2. A sequence of consecutive candles in the opposite direction
3. Optional: A minimum percentage move to filter weak signals
When all conditions are met, the zone is marked on your chart with:
โข Upper and lower boundaries (solid lines)
โข Equilibrium/midpoint level (cross marker)
โข Extended channel lines for easy visualization
โ SETTINGS
Consecutive Candles Required (Default: 5)
Number of same-direction candles needed after the zone candle to confirm the pattern. Higher values = fewer but stronger signals.
Minimum Move Threshold % (Default: 0.0)
Minimum percentage price movement required to validate a zone. Increase this to filter out weak moves and focus on significant institutional activity.
Display Full Candle Range (Default: Off)
โข Off: Shows Open-to-Low for demand zones, Open-to-High for supply zones
โข On: Shows complete High-to-Low range of the zone candle
Show Demand/Supply Zone Channel (Default: On)
Toggle extended horizontal lines that project the zone levels across your chart.
Visual Theme (Default: Dark)
Choose between Dark (white/blue) or Light (green/red) color schemes.
Show Statistics Panel (Default: Off)
Displays a floating panel with exact price levels of the most recent zones.
Display Info Tooltip (Default: Off)
Shows an information label with indicator documentation.
โ HOW TO USE
Entry Strategies
1. Zone Bounce (Mean Reversion)
โข Wait for price to return to a previously identified zone
โข Look for rejection candles (pin bars, engulfing patterns) at zone levels
โข Enter in the direction of the original zone (long at demand, short at supply)
โข Place stops beyond the zone boundary
2. Zone Break (Momentum)
โข When price breaks through a zone with strong momentum
โข The broken zone often becomes the opposite type (broken demand becomes supply)
โข Use for trend continuation trades
3. Equilibrium Trades
โข The midpoint (cross marker) often acts as a magnet for price
โข Can be used as a first target or as an entry point for scaled positions
Risk Management
โข Always place stop-loss orders beyond zone boundaries
โข Consider the zone width when calculating position size
โข Wider zones = wider stops = smaller position size
โข Use the equilibrium level for partial profit taking
Best Practices
โข Higher timeframes produce more reliable zones
โข Zones on multiple timeframes (confluence) are stronger
โข Fresh/untested zones are more powerful than zones that have been touched multiple times
โข Combine with other analysis methods (trend direction, volume, market structure)
โ ALERTS
Two alert conditions are available:
โข "Demand Zone Identified" - Triggers when a new demand zone is detected
โข "Supply Zone Identified" - Triggers when a new supply zone is detected
To set up alerts: Click on the indicator name โ Add Alert โ Select condition
โ IMPORTANT NOTES
โข This indicator is a tool for analysis, not a complete trading system
โข Signals are NOT automatic buy/sell recommendations
โข Always use proper risk management
โข Past performance does not guarantee future results
โข Works on all markets and timeframes
โข Non-repainting: Signals appear only after bar close confirmation
โ ACKNOWLEDGMENTS
Inspired by institutional order flow concepts and smart money trading methodologies. Built with a focus on reliability and practical application.
Pine Scriptยฎ indicator



