SMC Zones FVG and Order Blocks
- Indicators
-
Dennis Hoinkis
MT5Bots – Expert Advisors for MetaTrader 5 with published backtests - Version: 1.0
SMC Zones marks Fair Value Gaps (FVG) and Order Blocks (OB) on the chart from closed bars only and shows by default only the unfilled zones nearest to the current price.
Main features
- FVG detection from three closed candles, with a minimum size filter in multiples of ATR and in points.
- Order blocks: the last opposite candle before the move that created an FVG.
- No repainting: a zone that has appeared does not move or disappear, except when price fills it.
- Optional zones from a higher timeframe, drawn with a dashed border.
- Transparent fills blended with the chart background, thin borders, optional 50% line and short labels.
- Three fill rules (Full, Half, Touch); filled zones can be deleted, faded or kept.
- Alerts for new zones and for price entering a visible zone, as popup, push notification or sound.
- Four buffers with the nearest unfilled bullish and bearish FVG for use in Expert Advisors via iCustom.
How to read it
Green zones are bullish FVGs, red zones bearish FVGs, teal zones bullish order blocks and orange zones bearish order blocks. A solid border means the chart timeframe, a dashed border a higher timeframe. Hovering over a zone shows the symbol, direction, type, timeframe and price range. The selection of visible zones is updated on every new bar. For example, adding H4 zones to an M15 chart shows the larger areas, while the chart timeframe zones show the detail.
Main inputs
- Show zones of the chart timeframe (on) and of a higher timeframe (off; default H4, up to 4 zones per type).
- Lookback bars per timeframe: 300.
- Minimum gap size: 0.5 x ATR(14); minimum in points: 0 (off).
- Max visible FVGs: 12; max visible order blocks: 6; order block search: 10 bars.
- Fill rule: Full; filled zones: Delete.
- Fill opacity: 25%; active zones extend 3 bars past the current bar.
- Alerts on new FVG, new order block and zone entry (all off by default).
- Object name prefix, for running several instances on one chart.
Notes and limits
- Zones found in history when the indicator loads do not trigger alerts.
- The higher timeframe must be above the chart timeframe.
- On volatile symbols such as gold, keep the ATR filter on; otherwise lower timeframes produce many small gaps.
- Borders are always 1 pixel wide, because the terminal draws dashed lines only at width 1.
- No DLLs and no external files are used. All objects are removed with the indicator.
- FVGs and order blocks describe price structure. They are not a trading signal on their own; use them with your own analysis and risk management.
This tool does not trade.

User didn't leave any comment to the rating