Inside Bar Breakout
Inside Bar Breakout: 0 of 195 signals changed in our repaint test.

- Repainted
- 0 / 195
- Signals / week
- ≈ 14.8
- Tested on
- EURUSD M15
- Tested
- 2026-10-02
Overview
Inside Bar Breakout draws bullish breakout arrows, bearish breakout arrows, a line (Trend EMA), pending mother bar box zones and a panel (On-chart panel) on the main price chart in MetaTrader 5, free to download. When a Bullish breakout arrow prints, it can send pop-up, push and sound alerts. We logged 195 of its signals at bar close on EURUSD M15 and re-read them after the test: none had changed. Start with MinMotherRangeATR, default 0.5 — minimum mother bar range = this x ATR (0.1-3.0).
Specifications
- Platform
- MetaTrader 5
- Version
- 1.00
- Type
- Indicator
- Window
- Main chart
- Draws
- 2 arrows, 1 line, 1 zone, 1 panel
- Alerts
- popup, push, sound
- Repaints
- No (0 of 195 signals changed)
- Inputs
- 14
- Tested on
- MT5 build 6230 · 2026-10-02
Repaint test
No repaint detected. In a 2 Jul 2026 – 1 Oct 2026 test on EURUSD M15 (real ticks (Raw Trading Ltd)), 195 signals were logged at bar close and re-read at the end of the test: 0 changed. Arrows print on the bar that closes the signal, with no delay.
IndicatorFree — tested 2026-10-02 · MT5 build 6230 · real ticks (Raw Trading Ltd). Results come from historical data, not live trading, and do not guarantee future results.
Signal statistics
Over 2 Jul 2026 – 1 Oct 2026 on EURUSD M15, the indicator printed 195 arrows. After 43.6% of them, price moved 1×ATR(14) in the arrow's direction before moving 1×ATR against it (median null bars). 0.5% reached neither level within 20 bars.
This measures price movement after the arrow, not a trading result. It includes no spread, commission, stop loss or position sizing.
What it draws
- Arrows (Bullish breakout) from buffer 0, drawn on the closed bar.
- Arrows (Bearish breakout) from buffer 1, drawn on the closed bar.
- A line (Trend EMA) from buffer 2.
- Rectangles (Pending mother bar box) drawn as chart objects, not buffers — they are not readable by iCustom() in an EA.
- An on-chart panel (On-chart panel); values shown in the panel are not exposed as buffers.
Inputs
| Input | Default | What it does |
|---|---|---|
| UseEmaFilter | true | Only signal breakouts in the EMA direction (Close vs EMA) |
| EmaPeriod | 50 | EMA period on Close for the trend filter (10-200) |
| MinMotherRangeATR | 0.5 | Minimum mother bar range = this x ATR (0.1-3.0) |
| AtrPeriod | 14 | ATR period for the mother bar range filter (5-50) |
| MaxLookbackBreakoutBars | 30 | Cancel the setup after this many bars from the mother bar (0 = no limit) |
| ShowMotherBarBox | true | Draw a dotted box around the pending mother bar range |
| ArrowOffsetPoints | 20 | Distance in points between the arrow and the bar high/low (0-200) |
| EnablePopupAlert | true | Popup alert on a new breakout arrow |
| EnablePushAlert | false | Push notification on a new breakout arrow |
| EnableSoundAlert | false | Play a sound on a new breakout arrow |
| SoundFile | alert.wav | Sound file (terminal Sounds folder) |
| Theme | IBB_THEME_DARK | Chart theme |
| RestoreTheme | true | Restore the original chart colors on removal |
| DashScale | 1.5 | Panel scale (multiplied by screen DPI) |
How to read it
A Bullish breakout arrow (buffer 0) prints when a closed bar closes above the high of the pending mother bar (a bar with range >= MinMotherRangeATR x ATR followed by one or more inside bars), and above the EMA when UseEmaFilter is on. With the default MinMotherRangeATR=0.5, expect roughly 14.8 arrows per week on EURUSD M15.
A Bearish breakout arrow (buffer 1) prints when a closed bar closes below the low of the pending mother bar (a bar with range >= MinMotherRangeATR x ATR followed by one or more inside bars), and below the EMA when UseEmaFilter is on. With the default MinMotherRangeATR=0.5, expect roughly 14.8 arrows per week on EURUSD M15.
Price above Trend EMA only bullish breakouts are signalled (when UseEmaFilter is on); price below it only bearish breakouts are signalled (when UseEmaFilter is on).
Pending mother bar box zones are removed when a closed bar closes beyond the mother bar high or low, a bar that is not an inside bar ends the setup, or the setup is older than MaxLookbackBreakoutBars bars (input MaxLookbackBreakoutBars, default 30).
The On-chart panel panel shows last breakout signal (direction, close, breakout level, strength, bars ago), pending mother bar status with bars elapsed, mother high and low with distance in pips, inside bar count and last inside bar range, signals today (buy / sell), EMA filter state and price side of the EMA.
Installation
- 1Download InsideBarBreakoutArrows.ex5 from the button above (Google Drive).
- 2In MetaTrader 5: File → Open Data Folder → MQL5 → Indicators. Copy InsideBarBreakoutArrows.ex5 there.
- 3Restart MT5 or right-click Indicators in Navigator → Refresh.
- 4Drag Inside Bar Breakout onto a chart. For push alerts, enable "Allow push notifications" under Tools → Options → Notifications.
- Tested on MT5 build 6230.
FAQ
›Does Inside Bar Breakout repaint?
No repaint detected. In a 2 Jul 2026 – 1 Oct 2026 test on EURUSD M15 (real ticks (Raw Trading Ltd)), 195 signals were logged at bar close and re-read at the end of the test: 0 changed. Arrows print on the bar that closes the signal, with no delay.
›Can I use Inside Bar Breakout in an EA?
Yes. Read buffer 0 (Bullish breakout) with iCustom() on bar 1 — the last closed bar.
›Why can’t my EA read the zones?
Zones and the panel are chart objects, not indicator buffers, so iCustom() does not return them.
›How do I get alerts on my phone?
Enter your MetaQuotes ID under Tools → Options → Notifications, tick "Enable push notifications", and keep the push alert input on.
›Does it work on other pairs?
Tested on EURUSD only; other symbols not tested.
Changelog
- 1.00Initial release: inside-bar detection with strict high/low containment, ATR-based minimum mother-bar range filter, optional EMA trend filter, multi-bar coiling chains that keep the original mother-bar breakout level, setup-expiry limit (MaxLookbackBreakoutBars), dotted mother-bar box on the chart, IFKit on-chart dashboard (last signal with strength bar, pending mother bar, signals today, EMA fi... · 2026-10-02
Final verdict
Inside Bar Breakout suits traders who need bullish breakout arrows, bearish breakout arrows, a line (Trend EMA), pending mother bar box zones and a panel (On-chart panel) that do not move after the bar closes. Its arrows reached 1xATR in their own direction first 43.6% of the time on EURUSD M15 — price movement, not a trading result. Inside Bar Breakout was tested on EURUSD only; other symbols were not tested.

