MetaTrader 5 · Market Structure Break and Order Block Indicator for MT5
MT5 Indicator

Market Structure Break and Order Block Indicator for MT5

The MSB-OB indicator for MetaTrader 5 analyzes price structure, highlights market structure breaks and marks order blocks for smart money setups.

  • MetaTrader 5
  • Works on VPS
  • Lifetime support
Details

About Market Structure Break and Order Block Indicator for MT5

In short: the MSB-OB (Market Structure Break & Order Block) indicator for MetaTrader 5 detects when price decisively breaks market structure, then draws the order block, breaker block and mitigation block left behind, so you can plan your entry on the retest instead of chasing the breakout.

What is a market structure break (MSB)?

Trending markets move in a sequence of swings: higher highs and higher lows in an uptrend, lower highs and lower lows in a downtrend. A market structure break is the moment that sequence fails. For example, in a downtrend, price rallies above the last lower high instead of making another lower low. It is often the first objective sign that control is shifting from sellers to buyers, or the other way round.

The problem is that markets produce many small, fake breaks. MSB-OB is built to separate decisive breaks from noise, and then show you where the move that caused the break started.

How MSB-OB confirms a break

  1. It maps the swings. A ZigZag with an adjustable ZigZag Length identifies the swing highs and lows that define structure. You can show or hide the ZigZag lines.
  2. It measures the break against the previous swing. A break only counts when price extends beyond the prior swing by a margin set by the Fib Factor, measured as a proportion of that swing’s size.
  3. It marks the MSB and its zones. Once a break is confirmed, the indicator labels the MSB and draws the related blocks on the chart.

Illustrative example of the Fib Factor: in a downtrend, say the last swing ran 100 pips from the lower high down to the low. With a Fib Factor of 0.3, the rally from that low must travel more than 130 pips, clearing the old high by 30% of the swing, before a bullish MSB is confirmed. A rally that only pokes just above the old high is ignored.

Order blocks, breaker blocks and mitigation blocks explained

  • Order block (OB): after a bearish MSB, the last bullish candle before the high; after a bullish MSB, the last bearish candle before the low. It marks where the move that broke structure began, and price often returns to it.
  • Breaker and mitigation blocks: zones formed on the opposite side of the structure (in the low area before the last high in a bearish case, or the high area before the last low in a bullish case). They show where earlier positions may be defended or closed when price comes back.

An example MSB-OB strategy

This is one common way traders use market structure breaks and order blocks. It is a framework to test, not a guaranteed system:

  1. Set the bias on a higher timeframe. Note the direction of the most recent MSB on H4 or Daily.
  2. Drop to an entry timeframe. On M15–H1, wait for an MSB in the same direction as your higher-timeframe bias.
  3. Wait for the retest. Do not enter on the break itself; wait for price to return to the order block drawn after the MSB.
  4. Look for a reaction. Enter when price rejects the block, for example with a reversal candle on a lower timeframe.
  5. Place the stop beyond the block and target the next opposing swing or zone.
  6. Test it first. Run the same rules in the Strategy Tester with the built-in tester panel, on your own symbols, before trading live.

Want the logic behind fake structure signals? Read why CHoCH signals fail and how to fix that, or compare with our Market Structure CHoCH/BOS indicator, which tracks both continuation and reversal breaks.

Tuning the settings

  • Too many small swings? Raise ZigZag Length to focus on larger structure.
  • Breaks coming too late? Lower ZigZag Length or the Fib Factor for faster, shorter-term structure, at the cost of more weak signals.
  • Too many false breaks? Raise the Fib Factor so only decisive moves count.
  • Chart too busy? Hide the ZigZag and adjust colors, line widths and label font size.

Built for automation

MSB-OB exposes Buy/Sell signal buffers and MSB buffers, so an Expert Advisor can read every break and signal through iCustom rather than relying on chart objects. A tester panel shows how signals performed under different settings in the Strategy Tester, which makes it easier to settle on parameters before you automate anything.

Frequently asked questions

What does MSB-OB stand for?

MSB-OB stands for Market Structure Break and Order Block. The indicator first detects a break in market structure, then marks the order block, breaker block and mitigation block zones linked to that break.

What is an MSB in trading?

An MSB (market structure break) is the point where price stops respecting the current sequence of highs and lows. In a downtrend, a bullish MSB happens when price rallies decisively above the last lower high; in an uptrend, a bearish MSB happens when price drops decisively below the last higher low.

What is the difference between MSB, BOS and CHoCH?

The terms overlap. A break of structure (BOS) usually means a break in the direction of the existing trend, while a change of character (CHoCH) or MSB signals a possible reversal. MSB-OB focuses on the reversal type and adds a Fib Factor filter so that only decisive breaks count.

What does the Fib Factor setting do?

It sets how far price must extend beyond the previous swing before a break is confirmed, measured as a proportion of that swing. A higher value ignores shallow breaks; a lower value reacts faster but flags more weak ones.

Can I use the MSB-OB indicator in an Expert Advisor?

Yes. Buy/Sell signal buffers and MSB buffers are exposed, so an EA can read them with iCustom and apply its own entry and risk rules.

Is there a free demo?

Yes. Download the free demo from the MQL5 Market and run it in the MetaTrader 5 Strategy Tester before buying.

Can it be customized?

Yes. We can add alerts, multi-timeframe logic, extra filters or build a full EA around it. Send your rules through the quote form for a free quote.

Inputs at a glance

  • ZigZag Length – how sensitive swing detection is.
  • Show ZigZag – show or hide the swing lines.
  • Fib Factor – how far beyond the previous swing price must go for a break to count.
  • Colors and styles – for order blocks, breaker blocks and MSB markings.
  • Font size and line width – for labels and lines.

All inputs and messages are in English. Like any indicator, MSB-OB is an analysis tool and does not guarantee trading results.

Ready to try Market Structure Break and Order Block Indicator for MT5?

Download it from the MQL5 Market and attach it to your MetaTrader 5 chart in minutes.

Want it customized or need something similar? Request a free quote

Trading involves risk. Our indicators are analysis tools for educational and informational purposes and do not constitute financial advice. Read our Disclaimer.

More indicators

ProductMetaTrader

Waddah Attar Explosion

Waddah Attar Explosion for MT5 highlights strong momentum and volatility while filtering out low-activity markets. Settings, signals and video demo.

View details →