거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Breaker Block Retest Zones - MetaTrader 5용 지표

Cristhian Alexander Gaibor Cuasquer
Cristhian Alexander Gaibor Cuasquer
4.7 (40)
2017년부터 트레이더이자 MQL5 회원입니다.
9년 동안, 대부분 XAUUSD 차트 앞에서 보낸 뒤, 제가 실제 매매에서 쓰는 도구들을 공개하기로 했습니다. 팔기 위해 만든 것은 하나도 없습니다. 모두 제게 필요해서 만들었습니다. 더 명확한 차트 해석, 모든 거래를 위한 계획, 정직한 통계, 통제된 리스크, 그리고 휴대폰으로 오는 알림입니다.
조회수:
168
평가:
(1)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

On Gold (XAUUSD) an order block that fails does not disappear, it changes sides. This indicator finds order blocks on closed bars, keeps them hidden, and draws a zone only when a candle closes through one. A bullish block that price closes below becomes a bearish breaker above price. A bearish block that price closes above becomes a bullish breaker below price.

Each breaker has three states, shown by colour: waiting for the retest, retested when a later closed candle comes back and touches the zone, and failed when a candle closes back through the far side. Failed breakers leave the chart unless you choose to keep them. The forming candle is never used, so a zone does not appear and then vanish.

A breaker is a place to watch, not an entry by itself. Price can retest it and go straight through. The code uses the simple definition, a close through the block, and does not check for a liquidity sweep before the break.

Breaker Block Retest Zones on a XAUUSD M15 chart in MetaTrader 5: a bullish order block is closed below, becomes a bearish breaker block and gets its first retest

Settings

  • Swing length: bars on each side of a swing high or low, default 5. The order block is the last opposite candle of the leg that closes beyond a confirmed swing.
  • Impulse filter: the leg needs one candle with a body of at least this many ATR, default 1.0, 0 turns it off. ATR period: default 14.
  • Zone drawn from the candle: full candle (high to low) or body only.
  • Bars an order block can wait to be broken: default 300, 0 means no limit. Older blocks are dropped and never become breakers.
  • Bars to scan: default 1500, 0 scans all the history of the chart.
  • Show bullish and show bearish breakers, maximum live breakers per side (default 3, newest first), keep failed breakers (off) and the text label BB+ or BB- on the bar that made the breaker.
  • Colours for bullish, bearish, retested and failed zones and for the label.
  • Alerts: when a breaker forms and on its first retest, both off by default. Popup, push and sound. They fire once, on the candle that just closed.
  • Object prefix: change it to run two copies on the same chart.

What it needs

Any symbol and any timeframe. It reads the built-in ATR and draws standard rectangles and text objects, nothing else. It has no buffers, so an EA cannot read it with iCustom as it is, and it never trades. Everything is rebuilt once per new bar from closed candles only. Push notifications need your MetaQuotes ID in the terminal options.

Make it yours

Run it on XAUUSD, XAGUSD, EURUSD, GBPUSD, US30 or NAS100 and compare M5, M15 and H1: count how many breakers get a retest and how many fail on each one, then tune the swing length and the impulse filter. It fits next to Smart Money Concepts structure and classic support and resistance, because a breaker is a broken level that changed role. If you want it inside an EA, XP_UpdateZones holds the whole flip, retest and fail logic in one function and XP_CheckBreak finds the order block, so both are easy to copy. A session filter or a liquidity sweep check before the flip can be added inside XP_UpdateZones.

About this code

Open source. Use it as it is, adapt it, build your own version on top of it. Questions, suggestions and your own tests are welcome in the comments below. Provided as is, use at your own risk.

Changelog

v1.0 (2026-11-27): initial release.

RequestAudit: Check the Trade Requests of an Unchanged EA in the Tester RequestAudit: Check the Trade Requests of an Unchanged EA in the Tester

A library for MetaTrader 5 that checks every trade request of an existing Expert Advisor in the Strategy Tester, with one include line and no other change. Volume, stops level, freeze level, margin, trade mode and the order limit are checked; the request then goes out unchanged, and the Journal and a CSV list each violation with the file and line that sent it.

PantosAlgo Session Boxes (Asia / London / New York) PantosAlgo Session Boxes (Asia / London / New York)

Draws the Asia, London and New York session ranges (high/low boxes) on the chart, so you can instantly see each session's range, breakouts and retests.

Envelopes Channel with 3-Color Trend Candles Envelopes Channel with 3-Color Trend Candles

Конверты скользящих с раскраской свечей для mt5

Five Point Retest Five Point Retest

Five-point retest structures found on closed bars and turned into plans: a retest band, a target at point 3 and a fail level. Each plan runs until the target is touched or a close goes past the fail level, then fades, and a panel shows how many bullish and bearish structures reached the target on the chart you are looking at.