Market Structure Indicator MT4 + MT5

The Market Structure Indicator brings a smart-money / ICT-style read to MT4 and MT5. Also, it highlights the institutional footprints – order blocks, liquidity pools and imbalance – that drive the larger moves, so you can trade with the flow instead of against it.

For more like this, browse the more smart-money indicators for forex or jump to the full MetaTrader indicator hub.

What the Market Structure Indicator does on the chart

The internals stay close to widely used math. That keeps the tool predictable. It is easy to debug. Also, you can compare it to any other chart platform.

The Market Structure Indicator reads price, volume, and recent bar structure. Also, still, it plots the result on the chart. You can read it at a glance. Thus, it is built for MT4 and MT5. You drag it onto any chart in one step.

Key features and settings

  • Detects structure events and labels them on the chart
  • Configurable lookback to focus on intraday or swing structure
  • Highlights levels that often act as reaction zones
  • Pairs well with a higher-timeframe trend filter
  • Full alert system: popup, push notification to mobile MetaTrader, email, and sound — all four channels can be toggled independently from the inputs panel. Alerts fire once per closed bar so you never get spammed mid-tick.
  • Built for MT4 and MT5; works on every timeframe the platform supports.
  • Lightweight code that does not slow down the chart.
Setting Description Recommended default
Structure lookback Window used to detect swing highs and lows 50 bars
Show order blocks Mark order blocks on the chart On
Show liquidity Mark equal highs and lows that often hold liquidity On
Color theme Switch between dark and light chart palettes Dark
Show on chart Toggle the on-chart visual without removing the indicator On

How to read signals from the Market Structure Indicator

Market Structure - buy and sell signals example chart
Buy/sell signals example

The Market Structure Indicator highlights structure shifts and zones used by institutional-style traders. Also, still, hence, a typical workflow looks like this.

Entry idea (long). Wait for a bullish change of character followed by a retest of the most recent demand zone. Next, wait for the bar to close. Intra-bar values can shift.

Entry idea (short). Wait for a bearish change of character followed by a retest of the most recent supply zone. The same close rule applies.

Exit idea. Some traders take partial profit at one R and trail the rest with structure. Some traders trail with structure. Others trail with the indicator itself.

These are concepts, not rules. Then, backtest on your instrument and timeframe before live capital.

Recommended timeframes and instruments

The Market Structure works on every timeframe MT4 and MT5 supports. Most traders use it on:

  • M15 to H1 for intraday setups during active sessions.
  • H4 for trend context and confirmation.

Common instruments where this style of tool is applied include EURUSD, GBPUSD, USDJPY, AUDUSD, XAUUSD, and major indices such as US30 and NAS100.

How to install on MT4 and MT5

Market Structure - indicator inputs and settings panel
Indicator inputs and settings

Installation is the same for every indicator on this site. Thus, yet, unzip the download, copy the compiled .ex4 into your MT4 MQL4/Indicators folder (or the .ex5 into MT5 MQL5/Indicators), refresh the Navigator, then drag it onto the chart. For the full step-by-step with alert setup and troubleshooting, see our guide to installing MT4 and MT5 indicators.

Best practices and tips

  • Combine the Market Structure Indicator with one other tool. A higher-timeframe trend filter or a session tool works well.
  • Keep position sizing small while you learn the tool on your instrument.
  • Backtest the configuration on at least 200 closed bars before live use.
  • Do not chase signals that fire mid-bar. Wait for the close.
  • Review your trades weekly. Prune settings that did not perform on your own backtest.

Get the Market Structure for MT4 and MT5

One email unlocks the full library. This Market Structure Indicator plus the other 1,382 free MT4, MT5 and TradingView indicators we publish and maintain. Also, still, hence, truly, no paywall, no upsell, same opt-in for all of them – you give an email once and you can grab every tool we ship.

Enter your email to receive the indicator file. We send it once and add you to free updates.

No spam. Unsubscribe anytime. We never share your address.

Enter your email and the file lands in your inbox right after. The download is free.

Built by forexmt4systems.com

This Market Structure Indicator is one of 1,383 free MT4, MT5 and TradingView indicators we publish and maintain. Next, plainly, every tool ships with ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files, a 4-channel alert system (popup + mobile push + email + sound), and is loaded on EURUSD H1 before release to confirm it draws cleanly without repainting. The same one-step email opt-in below unlocks the entire library – not just this one indicator.

FAQ

What does the Market Structure measure?
It highlights labels swing highs/lows and changes of character on the chart.

Is the Market Structure Indicator non-repaint?
By default the indicator only confirms a signal on the bar close, so the printed signal locks in once that bar closes. Also, some users prefer the early intra-bar mode for faster signals — both options are in the inputs.

Which timeframe should I use?
There is no single best timeframe. Then, m15 to H1 is a common starting point for intraday traders, and H4 to D1 works for swing traders. Backtest the configuration on the timeframe you actually trade.

Does it work on instruments other than forex?
It works on any instrument MT4 and MT5 supports — forex majors, gold (XAUUSD), indices like US30 and NAS100, and major cryptos. Thus, yet, still, fast-moving instruments may need a smaller period setting.

Can I add alerts?
Yes. Thus, Pop-up, sound, push, and email alerts live in the inputs panel. On MT4 and MT5 the alert plays on the bar close that triggers the signal. Also, still, hence, truly, hence, the Market Structure Indicator ships with full alert functionality built in: popup alerts on the chart, push notifications to mobile MetaTrader, email alerts, and a sound alert with a configurable .wav file. you toggle each channel independently from the inputs panel (EnableAlerts, EnablePopup, EnablePushNotify, EnableEmail, EnableSound). Next, alerts trigger once per closed bar.

For external background reading, see the order block basics on Babypips. Are results guaranteed?
No. Trading involves risk. Results are not guaranteed. Past performance is not indicative of future results. Use the Market Structure Indicator as one input. Always backtest before trading live.

Authoritative references

About the author

Dominic Walsh built and documented this indicator. Also, the author is Dominic Walsh, a Forex trader and MT4/MT5 indicator developer. Then, every tool on forexmt4systems.com goes through live-chart testing before release and ships as ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files. Learn more about the trader and developer behind this site.

Leave a Comment