SnR Double Breakout Level by RWBTradeLab
- Indicators
-
Md Hasibul Kabir
Founder & Developer at RWBTradeLab.
I develop high-quality trading indicators, expert advisors (EAs),
and utility tools for MetaTrader 5.
My work focuses on precise calculations, non-repainting logic,
and clear visual market structure. - Version: 1.20
- Updated: 2 September 2026
SnR Double Breakout Level by RWBTradeLab
A clean, non-repainting breakout-confirmation indicator for MetaTrader 5, built for price action traders who want high-confidence Support/Resistance breakouts based on DOUBLE structure logic — two levels must form first, then price must break correctly. All from CLOSED candles only.
What This Indicator Does
The indicator detects Double Breakout key levels using a strict state machine:
Internal Structure Levels
- A Level: Green -> Red (Level = 1st Green candle Close) — resistance structure
- V Level: Red -> Green (Level = 1st Red candle Close) — support structure
Double A Breakout (DBO A)
1. A first A Level forms (A1)
2. A second A Level forms BELOW the first one (A2 < A1)
3. While waiting for the breakout, a new A Level does not simply kill the setup:
- forms BELOW A2 -> the pair SLIDES down (old A2 becomes A1, the new one becomes A2) — the descending staircase is still intact
- forms AT or ABOVE A2 -> the structure is broken, the search RESTARTS with that level as the new A1
4. A candle CLOSES above A1
=> Double A Breakout confirmed — the level is drawn at the A2 price (the latest, lowest level of the pair)
Double V Breakout (DBO V) — exact mirror
1. V1 forms, then V2 forms ABOVE V1
2. While waiting, a new V above V2 slides the pair up; a new V at or below V2 restarts it
3. A candle CLOSES below V1
=> Double V Breakout confirmed — the level is drawn at the V2 price
Rolling structure logic: the indicator always tracks the two most recent levels of the staircase, so a long run of descending A Levels (or ascending V Levels) stays valid instead of being discarded — only a genuine break of the inner level restarts the search. Setups still expire automatically after Candle Length bars, so only structure-validated, recent breakouts remain on your chart.
Key Features
Professional Chart Display
- Every confirmed DBO level is drawn as a horizontal ray extended to the right
- All labels are placed to the RIGHT of the last candle — your candles always stay clean
- Smart pixel-based label layout: nearby labels are staggered automatically, they NEVER overlap
- Labels re-arrange instantly when you zoom, scroll or resize the chart
- Color-coded by side: DBO A and DBO to DBO A in green with the label above the level, DBO V and DBO to DBO V in red with the label below — or switch to classic single-color mode
- A DBO to DBO level is drawn one step thicker than a plain one and carries its own name on the chart, so an upgraded level is never mistaken for an ordinary one
- Old levels are pruned automatically — only the recent market stays on your chart
Non-Repainting Engine
- All structures, breakouts and levels are calculated on CLOSED candles only
- Levels are updated once per new bar, not on every tick (zero terminal lag)
- History is replayed silently on attach, so existing DBO levels appear instantly and correctly
- Automatic object cleanup — remove the indicator and the chart is spotless
Event Alerts (off by default)
- Each Double Breakout fires its alert EXACTLY ONCE — at the moment of confirmation
- No repeated alerts, no alert storm when you attach the indicator
- Separate On/Off switches for all four types: Double A Breakout, Double V Breakout, DBO to DBO A and DBO to DBO V
- 3 delivery channels: Popup, Push Notification, Email
- Every alert message includes breakout type, price, symbol, timeframe and time
DBO to DBO Levels
A completed Double Breakout can itself be taken out - by a completed Double Breakout running the
other way.
a Double A Breakout confirms, marking A2
a Double V Breakout then confirms, marking V2
a candle CLOSES below that old A2
-> V2 becomes a DBO to DBO V level
The bullish case is the mirror: a Double V, then a Double A, then a close above the old V2, and A2
becomes a DBO to DBO A level. The cross break may land on the very same candle that confirmed the
second Double Breakout, or on any candle after it.
The level is UPGRADED, not duplicated. A DBO to DBO A sits at exactly the price its Double A
Breakout already marked - it is the same level with more behind it - so the line already on the
chart changes its name rather than a second line being drawn on top of the first.
Summary Table
A two column panel in the chart corner - the level type and how many of them are currently held:
Level Count
Double A 3
DBO to DBO A 1
Double V 4
DBO to DBO V 2
Every cell is drawn as its own filled box with a thin grid line, so the panel reads exactly the
same on a white chart and on a black one. It counts a type even when that type is switched off,
so the numbers describe the market rather than the screen.
Inputs
Scan
- Scan Length (closed candles) - how far back the search reaches, and how long a setup and a
confirmed level live
Level Types
- Double A Breakout, Double V Breakout, DBO to DBO A, DBO to DBO V
Style
- Color Lines by Breakout Type, plus Double A / Double V / single-mode colours and line width
Labels
- Show Text Labels, label font, font size and offset in ticks
Summary Table
- Show Summary Table, position (any of the four chart corners), font size, text colour, header
background, cell background and grid colour
Alerts
- Master switch, Popup / Push / Email channels, and a separate switch for each of the four types
How to Use
Attach the indicator to any symbol and any timeframe — forex, gold, indices, crypto. A confirmed DBO A marks a zone where sellers made two lower attempts and buyers broke the structure anyway — watch the A2 level as a potential support on retest. A confirmed DBO V is the mirror resistance zone. For best results combine with higher-timeframe structure and your own trade plan.
Important Notes
- Because the labels sit to the right of the last candle, the indicator switches the chart's "Shift end of the chart" option on so that space exists. This is a chart setting, so it stays on after the indicator is removed - turn it off in the chart toolbar if you prefer the old view
- Push notifications require your MetaQuotes ID in MT5 (Tools -> Options -> Notifications); email alerts require SMTP settings
- Alerts work while the terminal is running
- This indicator is a level-detection tool, not financial advice. Trading involves risk — always use proper risk management
Creator: RWBTradeLab
If you find this indicator useful, please leave a review and share your feedback.
