SnR Double Breakout Level by RWBTradeLab
- Indicatori
-
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. - Versione: 1.0
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, no new A Level may form (a new A resets the setup)
4. A candle CLOSES above A1
=> Double A Breakout confirmed — the level is drawn at the A2 price
Double V Breakout (DBO V) — exact mirror
1. V1 forms, then V2 forms ABOVE V1
2. No new V while waiting
3. A candle CLOSES below V1
=> Double V Breakout confirmed — the level is drawn at the V2 price
Strict setup discipline: setups expire automatically after Candle Length bars, and any new structure in the middle restarts the sequence. This filters weak breakouts and keeps only structure-validated ones.
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: DBO A in green (label above the level), DBO V in red (label below) — or switch to classic single-color mode
- 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 Double A Breakout and Double V Breakout
- 3 delivery channels: Popup, Push Notification, Email
- Every alert message includes breakout type, price, symbol, timeframe and time
Inputs
- Candle Length (closed candles) — setup expiry and level lifetime (default 50)
- Show/Hide toggles: Double A Breakout, Double V Breakout, Text Labels
- Color Lines by Breakout Type + DBO A / DBO V / single-mode colors
- Label font, font size and offset
- Full Alerts group: master switch, Popup / Push / Email, per-type switches
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
- 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.
