SMC Structure Map Order Blocks FVG
- Indicatori
-
Yang Yu Qun
Risk control and trade management tools for MetaTrader 4 & 5.
I build one kind of thing, and I build it properly: utilities that protect
accounts. Risk panels, drawdown guards, prop-firm rule enforcement, and
trade-event notifications — for manual traders, funded-challenge traders, - Versione: 1.0
SMC Structure Map draws market structure, order blocks, fair value gaps and liquidity sweeps the same way every time: only from closed candles, with fixed rules you can read. What you see on history is exactly what you would have seen live — nothing is redrawn later.
Market structure
- Confirmed swing highs and lows labelled HH / HL / LH / LL (equal highs / lows as EQH / EQL).
- BOS (continuation) and CHoCH (change of character) when a candle closes beyond the active swing level.
- Optional internal structure with its own swing length.
Order blocks and fair value gaps
- Order block: the last opposite candle before a structure break.
- FVG: three-candle gap, with its 50% line and fill percentage.
- States update as price returns: OB tested / invalidated, FVG touched / 50% / filled / gapped. Invalidated zones can be shown in grey.
- By default the zones nearest to price are drawn; the panel tells you how many are not shown.
Liquidity sweeps
- A candle runs beyond a confirmed swing high / low, or the previous day's high / low, and closes back inside.
Multi-timeframe summary on the panel
- Direction of up to 4 higher timeframes (for example H1 · H4 · D1 · W1 on an M15 chart).
- One higher timeframe can also be drawn on the chart (its structure, OB and FVG), using closed higher-timeframe candles only.
- Confluence score 0–100%: six confirmed conditions with fixed, published weights (main structure 25, higher timeframes 20, internal structure 15, discount / premium or OTE 15, inside an OB / FVG 15, recent sweep 10). Hover it to see every point. It is not a win rate and not a trade signal.
- Plain-language notes: structure, where price sits in the range, the nearest zones and a recent sweep — facts only.
Premium, discount and OTE (optional)
- Range from the latest swing high and low, 50% line, and the 61.8–78.6% OTE retracement.
Alerts on candle close
- BOS / CHoCH, first touch of an OB / FVG, and optionally invalidation / fill, sweeps and higher-timeframe breaks.
- Pop-up, sound and MT5 push notifications. No replay of old events after a reload; several charts with the same event alert once; push messages are rate-limited.
For EA developers
- 14 calculation buffers, readable with iCustom + CopyBuffer: 0 direction (−1 / 0 / 1), 1 event (±1 BOS, ±2 CHoCH, ±3 first break), 2 break level, 3 internal event, 4–7 new bullish / bearish OB (low, high), 8–11 new bullish / bearish FVG (low, high), 12–13 sweep levels.
- The first input "Draw on the chart" = false gives a data-only copy that draws nothing: iCustom(_Symbol, _Period, "Market\SMC Structure Map Order Blocks FVG", false) (the Market installs it in Indicators\Market).
- Values are written on the confirming bar and never change afterwards; the current (open) bar is always empty.
Easy to use
- Panel with three presets (Structure / Zones / Full) and one-click toggles; it can be dragged anywhere and remembers its place per chart.
- English and Chinese; follows the terminal language by default.
- Auto colors for dark and light charts; sharp on high-DPI screens.
Good to know
- Confirmation has a delay by design: a swing point needs the set number of candles on its right (5 by default), and a break needs the candle to close. Nothing is shown earlier and nothing is redrawn.
- This is an analysis tool. It does not trade and does not tell you when to buy or sell.
- Works on any symbol and timeframe (forex, gold, indices, crypto CFDs).
Main inputs
- Structure: swing length, internal swing length, bars to analyse, ATR period, equal high / low tolerance.
- Zones: order block lookback, minimum FVG size, zones shown per side, nearest / newest.
- Higher timeframe: on / off and which timeframe.
- Display (first load; then use the panel): preset, inactive zones, language, colors, panel summary, premium / discount range.
- Alerts: master switch, event types, pop-up / sound / push.
Questions or ideas? Leave a comment on this page — feedback is welcome.
