AI Breakout Range Box Indicator
- 지표
- 버전: 2.0
- 업데이트됨: 22 9월 2026
- 활성화: 5
AI Breakout Range Box Indicator automatically draws the opening range of the market as a clean, easy-to-read box and highlights the moment price breaks out of it. Instead of manually marking consolidation ranges bar by bar, let the indicator do the measuring and alert you the instant a breakout is confirmed.
The indicator continuously scans a rolling window of recent bars, plots the resulting high/low box on the chart, and automatically changes the box color once price closes outside its boundaries - so active and triggered ranges are always visually distinct at a glance.
Key features:
- Automatic range-box detection over a configurable number of bars
- Adjustable breakout buffer (in points) to filter out noise and false breaks
- Separate colors for active boxes and already-triggered boxes
- Continuously updating box as new bars form, until a breakout occurs
- Works on any symbol and timeframe - Forex, metals, indices, crypto
- Lightweight, chart-only visual tool with no repainting of confirmed boxes
- No DLLs, no external dependencies - installs in seconds
Input parameters:
- Range Bars - number of recent bars used to build the range box (default 20)
- Breakout Buffer Points - extra distance in points required to confirm a genuine breakout (default 30)
- Active Box Color - color of the box while price is still inside the range (default Dodger Blue)
- Triggered Box Color - color the box changes to once breakout out occurs (default Gray)
Perfect for breakout traders, session-opening-range strategies, and anyone who wants an objective, automatically-updating visual reference for recent consolidation zones instead of drawing boxes by hand.
How to Read the Box:
- Blue box (active) - price is still inside the range. The box keeps extending with each new bar; no breakout yet, so there is nothing to act on.
- Gray box (triggered) - a bar has closed beyond the box high or low by more than the Breakout Buffer. A close above the high is an upside break, a close below the low is a downside break.
- Wicks do not count - only a candle close outside the box plus the buffer confirms a break, which filters many intrabar spikes.
- A break is information, not a signal on its own - combine it with your own trend filter, session, or retest rule before entering.
Tuning tips: Use a smaller Range Bars value (10-15) on M5-M15 for tight intraday ranges and a larger one (30-50) on H1+. Raise the Breakout Buffer on volatile symbols such as XAUUSD or indices to cut false breaks, and lower it on quiet pairs. Review the boxes in the Strategy Tester visual mode on your symbol before using it live.
Frequently Asked Questions
- Does it repaint? - While a box is active (blue) it extends with each new bar by design. Once a bar closes beyond the box plus the buffer, the box turns gray and is not redrawn afterwards.
- Does it send alerts? - This free version is visual only: the box changes color on a confirmed break. Popup/push/email alerts are available in a custom version (see below).
- Can I use it with my Expert Advisor? - It is built as a visual chart tool, not as a signal source for EAs. If you want an Expert Advisor that trades these breakouts with your own risk settings, ask for a custom version.
- Which symbols and timeframes? - Any symbol and timeframe. Start with the tuning tips above and adjust Range Bars and the buffer to your symbol's volatility.
- I don't see any box on the chart. - Make sure enough history is loaded (at least Range Bars + a few bars) and that the box colors are visible against your chart background.
- Is there an MT4 version? - Not published yet; an MT4 port can be made on request.
Need a custom version? I can adapt this indicator to your own rules - session-based opening ranges (e.g. London/New York open), push/email alerts, a retest confirmation, an MT4 version, or a full Expert Advisor that trades the breakouts with your risk settings. Send me a private message here on MQL5 (or offer me a personal order via MQL5 Freelance) with your requirements, and I'll reply within 24 hours with whether it's doable and the estimated scope. If you find this free version useful, please leave a review - it helps a lot.
More free tools from the same developer
- AI Break and Retest Zones Indicator - marks levels that break and then hold on the retest (useful as a confirmation step after a range breakout).
- AI Supply and Demand Zones Indicator - draws supply and demand zones from base-and-departure price action, so you can see where a breakout may run into opposing zones.
- AI Swing High Low Labels Indicator - labels HH/LH/HL/LL swings to show whether the market is trending or ranging before you trade a box breakout.
