Range Detector Sniper
- Indicatori
- Vishnu Bajpai
- Versione: 1.4
Range Detector Sniper — Smart Range Breakout Visualizer for MT5
Range Detector Sniper is a precision range breakout visualization indicator for MetaTrader 5 that automatically detects consolidation zones and highlights confirmed breakout moves in real time. It identifies valid price ranges using volatility and structure filters, draws dynamic range boxes on the chart, and prints directional breakout signals when price exits the range. It works on all major metals - XAUUSD, Forex pairs - EURUSD, Indices - NASDAQ and Crypto - BTCUSD
If you are looking for profitable and affordable EAs checkout my pulse series - https://www.mql5.com/en/market/product/163739?
This tool is designed to remove subjectivity from range identification and help traders react faster to real breakout opportunities.
Overview
Markets spend a large portion of time in consolidation before expansion. Manually drawing ranges is inconsistent and often delayed. Range Detector Sniper solves this by automatically detecting stable price ranges using a volatility-adjusted model and continuously updating them as price evolves.
When a true breakout occurs, the indicator marks the event clearly on the chart and can send instant push notifications.
How It Works
The indicator uses a structured volatility framework based on moving average and ATR:
• A moving average defines the structural center of price
• ATR defines the acceptable deviation band (range width)
• Price must remain within this band for a minimum number of bars
• Valid ranges are drawn as boxes on the chart
• Overlapping ranges are automatically merged and extended
• A midline equilibrium level is plotted inside each range
• A breakout is confirmed only when price closes outside the range boundary
• A directional arrow is printed at the breakout candle
• Only one signal is generated per completed range cycle
This logic helps filter noise and avoids premature breakout signals.
Chart Features
• Automatic range box plotting
• Dynamic box expansion during consolidation
• Midline reference level inside each range
• Color change after breakout direction is confirmed
• Upward breakout arrows
• Downward breakout arrows
• Clean object handling for chart performance
Alerts
The indicator supports built-in push notifications:
• Breakout alerts for bullish and bearish moves
• Symbol and timeframe included in alert message
• Duplicate alerts on the same bar are prevented
• Alerts can be enabled or disabled from inputs
Input Parameters
Minimum Range Length — Number of bars required to qualify as a valid range
Range Width Multiplier — Adjusts ATR-based range thickness
ATR Length — ATR period used for volatility calculation
Broken Upward Color — Color of range after bullish breakout
Broken Downward Color — Color of range after bearish breakout
Unbroken Color — Color of active consolidation range
Middle Line Color — Color of equilibrium line
Arrow Size — Breakout arrow size on chart
Push Notifications — Enable or disable alerts
Best Use Cases
• Range breakout trading
• London and New York session breakouts
• Gold, indices, and crypto volatility expansions
• Scalping and intraday trading
• Confirmation tool alongside trend systems
• Structure-based discretionary trading
Compatibility
Platform: MetaTrader 5
Works on: All symbols
Works on: All timeframes
No external libraries required
No repainting of past breakout signals after confirmation
