DuoFX Smart Structure user guide: SMC indicator for MT5 and MT4

DuoFX Smart Structure user guide: SMC indicator for MT5 and MT4

27 November 2026, 07:56
Dragos Mihai Ofrim
0
4

DuoFX Smart Structure is free, with every feature. This is the user guide for DuoFX Smart Structure for MT5 and MT4, a smart money concepts indicator with the rules written down. It draws swings, breaks of structure (BOS), changes of character (CHoCH), order blocks, fair value gaps, liquidity sweeps, equal highs and lows, and premium and discount, all on closed bars, so once a bar has closed what you see on it stays put. A dashboard shows the bias on up to five timeframes and the nearest zones above and below price.

How-tos and articles: Break of structure and change of character explained, with live examples and Order blocks, fair value gaps and liquidity on one chart.

What it is

  • An indicator: it draws and alerts, it never trades.
  • Market structure: confirmed swing highs and lows labelled HH, HL, LH and LL, with BOS and CHoCH lines when a candle closes beyond a swing.
  • Zones with states: order blocks (fresh, tested, invalidated) and fair value gaps (fresh, partially filled, filled).
  • Liquidity: sweeps of prior swings, equal highs and equal lows, and the premium and discount of the dealing range.
  • Higher timeframe zones: the live order blocks and fair value gaps of a higher timeframe (H4 by default) as outlined boxes on your chart.
  • A dashboard with layer chips, the bias per timeframe, the nearest zones and what the open bar would do if it closed now.
  • Alerts for BOS, CHoCH, new order blocks and gaps, first touch of a zone and sweeps.
  • MT5 and MT4, same features. No DLLs, no internet connection.

Install and first run

  • 1. Install it from the Market: in the terminal press Ctrl+T, open the Market tab, then Purchased, and click Install.
  • 2. Open a chart, for example XAUUSD M5 or M15.
  • 3. In the Navigator, find DuoFX Smart Structure under Indicators, Market, and drag it onto the chart.
  • 4. Check the Inputs tab, at least the higher timeframe, the bias timeframes and the alerts. Then press OK.

The indicator calculates the last 1,500 bars of each timeframe by default, walking forward one closed bar at a time. The dashboard opens at the top left, so the newest bars stay clear. While a timeframe's history loads, its row waits and the others carry on.

DuoFX Smart Structure user guide: SMC indicator for MT5 and MT4

The dashboard

  • Layer chips: Swings, OB, FVG, Liquidity and the higher timeframe zones (for example "H4 zones"). Click a chip to switch that layer off or on at once. Your inputs set where the chips start, and the chart remembers your choice when you change symbol or timeframe.
  • Bias table: your chart's timeframe plus up to four more (M15, H1, H4 and D1 by default). Each row shows Bullish or Bearish, the last break (BOS up, CHoCH down and so on) and how many bars ago it closed, counted on that timeframe.
  • Above and Below: the nearest live order block or fair value gap above and below price, with its timeframe, state, prices and distance in price and percent.
  • Range: where price sits in the dealing range, for example "Premium 57%" or "Discount 46%", with the range's prices.
  • This bar: what the open bar would do if it closed now, for example "No break if it closes now".

Drag the header to move the panel, and the minus minimises it to a slim bar that still shows the bias. The theme follows your chart, dark or light, or you set it. On a small chart the panel slims down to the chips and the bias table by itself, and shows everything again when the chart grows.

DuoFX Smart Structure user guide: SMC indicator for MT5 and MT4

Swings and structure

A swing high is a bar whose high is not exceeded by any of the 5 bars before it and is strictly above the high of each of the 3 bars after it (both are inputs). It is known only when the third bar after it closes, so it appears 3 bars late: that delay is what keeps it from repainting. Swing lows mirror this. Each swing is labelled HH or LH against the previous swing high, HL or LL against the previous swing low.

A break is a close beyond the most recent unbroken swing: above a swing high is bullish, below a swing low is bearish. A wick is not a break. If the break goes with the current structure it is a BOS, if it goes against it it is a CHoCH. The line runs from the swing to the breaking bar, and a swing can be broken only once. The how-to Break of structure and change of character explained, with live examples walks through it on gold charts.

The open bar

If the open, unfinished bar is beyond an unbroken swing, a dotted line and a note such as "BOS up if this bar closes here" appear. They go away if price comes back, and become a real BOS or CHoCH only if the bar closes beyond the level. No alert is sent for them. Everything else on the chart uses closed bars only.

Order blocks

An order block is created when a candle closes for a BOS or CHoCH. For a bullish break, the indicator finds the lowest low between the broken swing high and the breaking bar, the origin of the move, and takes the last bearish candle at or before that low, up to 5 bars back. Bearish order blocks mirror this. The zone is the candle's high to low, or its body (an input), and it becomes known at the close of the breaking bar.

States: fresh until a later bar trades into it, then tested, then invalidated when a bar closes beyond its far edge. An optional filter keeps only order blocks whose leg left a fair value gap behind it.

Fair value gaps

A fair value gap is three candles where the low of the third is above the high of the first (bullish), or the high of the third is below the low of the first (bearish). It must be at least 0.25 x ATR(14) by default, and it appears when the third candle closes. States: fresh, then partially filled when a later bar trades into it, then filled when a bar reaches its far edge.

Liquidity

  • Sweep: a bar trades beyond a confirmed swing that no bar has traded beyond yet, and closes back inside it. If one bar takes several swings, the farthest is marked.
  • Equal highs and lows (EQH, EQL): a new swing within 0.10 x ATR of an earlier untouched swing. The line stays until price trades beyond either.
  • Premium and discount: the dealing range runs from the highest high since the latest swing high to the lowest low since the latest swing low. The midpoint is equilibrium (EQ), above it is premium, below it is discount.

The how-to Order blocks, fair value gaps and liquidity on one chart shows how the zones and liquidity fit together.

Higher timeframe zones

The same rules run on the higher timeframe's own bars, and only its live zones are drawn, as outlined boxes labelled with the timeframe, for example "H4 FVG". A higher timeframe bar counts only after it has closed. An optional setting sends alerts only when they agree with the higher timeframe bias; while the higher timeframe has no break yet it has no bias, so it filters nothing.

Alerts

BOS, CHoCH, new order block, new fair value gap, first touch of a zone and liquidity sweep can each be on or off. Alerts go out as a popup, push notification, email or sound. Each event alerts once, when its bar closes, and nothing from history is sent when you load the indicator. For Telegram and Discord, switch on "Send to DuoFX Alert Relay" and run the free DuoFX Alert Relay in the same terminal.

A clean chart

Labels that land on the same spot stack instead of overlapping, and re-stack as you zoom and scroll. Each element has its own maximum on screen and there is a hard cap on chart objects. With "Hide filled gaps" and "Hide invalidated order blocks" on (the defaults), finished zones are removed; switch them off to see every zone end at the bar where it was filled or invalidated. The indicator runs on a timer and recalculates only when a bar closes.

Settings

  • Structure: swing bars before and after, bars calculated, swing labels and their maximum, BOS and CHoCH, max breaks, premium and discount, open bar marks.
  • Fair value gaps: on or off, minimum size in ATR, ATR period, hide filled, max shown.
  • Order blocks: on or off, zone (full candle or body), max bars back, only when the leg left a gap, hide invalidated, max shown.
  • Liquidity: sweeps, equal highs and lows, tolerance in ATR, max shown.
  • Higher timeframe: zones on or off, timeframe, max zones, alerts only in its bias.
  • Alerts: each event, popup, push, email, sound and file, DuoFX Alert Relay.
  • Dashboard: on or off, bias timeframes, corner, offsets, theme, font, font size, start minimised.
  • Colours for every element (None picks automatic colours for dark or light charts), max objects, zone extension, label font and size.

FAQ

  • Does it repaint? Closed bars never repaint. Swings appear 3 bars after the swing bar, by design, and the open bar's marks are labelled as not confirmed.
  • Why did an old swing label change after I reloaded? Calculation starts a set number of bars back, so the first few swings after that point are a warm-up and can be labelled differently on a fresh load.
  • Why is there no order block for a break? If no opposite candle sits at or before the origin of the move within the bars searched, there is none for that break.
  • Can I use it on forex, indices and crypto? Yes, any symbol your broker offers. Sizes are in ATR, so the settings carry across symbols and timeframes.
  • Does it trade? No. It is an indicator.

Risk note: trading forex, gold and CFDs carries a high risk of loss. DuoFX Smart Structure is an analysis tool: it marks structure and zones by fixed rules, and the trading decisions stay yours. It is not financial advice and does not promise any result.