Inside Bar Breakout Retest Radar
- Indicatori
- Versione: 1.0
- Attivazioni: 10
Inside Bar Breakout Retest Radar
Inside Bar Breakout Retest Radar is a price-action indicator for MetaTrader 5. It identifies completed inside candles, keeps the original mother bar boundaries fixed, and tracks a setup through a candle-close breakout and an optional first retest.
The indicator is designed for traders who study consolidation and the reaction of price around previously established levels. It shows chart events rather than placing orders.
Features
- Inside bar detection using strict or inclusive high/low containment.
- Consecutive candles inside the same mother bar range, with a configurable minimum count.
- Fixed mother bar high and low lines while a setup is active.
- Bullish and bearish breakouts that require a candle to close beyond the mother bar range.
- Configurable minimum breakout distance and minimum candle-body proportion.
- Optional first retest tracking for a limited number of subsequent candles.
- Setup expiration and close-based invalidation to reduce lingering signals.
- Separate markers for inside bars, breakouts, and retests.
- Optional popup and push notifications on newly closed bars.
- Seven buffers for charts and custom Expert Advisor integration.
How the Indicator Works
An inside bar is formed when a completed candle stays within the high-low range of the previous completed candle. That previous candle becomes the mother bar. Its high and low remain unchanged while the setup is active.
The indicator can count additional completed candles that remain inside the original mother range. The count does not require each new candle to be smaller than the immediately preceding candle.
A bullish breakout is marked when a later candle closes above the mother high and passes the selected breakout filters. A bearish breakout is marked when it closes below the mother low and passes the same filters.
After a valid breakout, the indicator can look for the first return to the broken level. With Require Retest Close enabled, a bullish retest needs the candle to reach the former mother high and close at or above it; a bearish retest needs a touch of the former mother low and a close at or below it. Retest detection stops after the selected window or a close-based invalidation.
Using the Indicator
1. Attach it to the required symbol and timeframe in MetaTrader 5.
2. Begin with Minimum Inside Bars = 1, Max Setup Bars = 20 and Retest Bars = 8.
3. Increase Minimum Inside Bars when you want several candles contained within one mother range.
4. Adjust Breakout Distance Points and Min Break Body Fraction to make breakout classification more or less selective.
5. Enable the desired notification types and configure mobile push notifications in the terminal if needed.
6. Compare observed patterns with your own market context and risk controls.
Buffer Map
0: Mother High
1: Mother Low
2: Breakout Up
3: Breakout Down
4: Retest Up
5: Retest Down
6: Inside Bar
EMPTY_VALUE means the indicator has no plotted event or level on that bar. Buffer indices remain fixed, but optional visualization settings can suppress plotted values for mother lines or inside dots.
Important Notes
- All events are determined from completed candles; the unfinished current candle is not classified.
- The indicator analyzes the current chart symbol and timeframe, not multiple symbols or timeframes.
- It tracks one active setup at a time. Overlapping inside bar candidates are not reported while another setup or retest is being tracked.
- The scan is limited to a user-defined number of historical candles. Results near the beginning of the loaded scan can depend on the available history.
- Broker price history revisions can cause historical recalculation.
- A retest is a chart classification, not evidence that a trading opportunity will succeed.
- This indicator does not open, modify or close trades and does not promise any trading outcome.
