Free MT5 indicator

FVG & order block indicator for MetaTrader 5

Fair value gaps with their CE line and order blocks with their state, drawn on your MT5 charts by the same rules as the ICC Charts layers. Free with an ICC Charts account.

EURUSD 15-minute chart in MetaTrader 5 with fair value gap boxes, CE lines and order blocks
EURUSD, M15, default settings.
GBPUSD 1-hour chart in MetaTrader 5 with fair value gap and order block zones
GBPUSD, H1, default settings.

What it draws

Same rules as ICC Charts. The indicator follows the rules of the FVG and Order Blocks layers, written out on the ICT indicators page. An automatic test runs the indicator's code and the ICC Charts engine on the same 2,500 candles: both must find the same gaps and blocks, and the same fills, mitigations and failures.

Install in 2 minutes

  1. Download ICC_FVG_OB.ex5 above (free ICC Charts account).
  2. In MetaTrader 5 open File → Open Data Folder, then the folder MQL5 → Indicators.
  3. Copy ICC_FVG_OB.ex5 into that folder.
  4. Back in MetaTrader, right-click Indicators in the Navigator (Ctrl+N) and press Refresh.
  5. Drag ICC_FVG_OB onto a chart, choose your settings on the Inputs tab and press OK.

Settings

Timeframe of the gaps and blocksCurrent chart, or a fixed one (for example H1 boxes on an M5 chart).
Bars of history to scan3000. Only new closed bars are computed after the first load.
Only boxes made in the last N bars300, so old zones do not cover the chart (ICC Charts uses 500).
Show fair value gaps / A gap's box endsOn. The box runs until the gap is filled, or until its CE (50%) is touched.
Show the CE lineOn: a dashed line at the middle of each gap.
Show order blocks / Only blocks with displacementOn / off. With the option on, only blocks whose leg had a displacement candle (body at least 1.5 x ATR and 60% of the candle) are drawn.
Also show ended boxesOff. On: filled gaps and failed blocks stay as dotted outlines.
Most gaps / Most order blocks20 / 12, the newest ones.
Swing size0 = automatic, like ICC Charts: 1 candle on each side up to M5, 2 above.
ColoursBullish / bearish gap, bullish / bearish block, CE line.

More timeframes, more layers

In the ICC Charts web terminal the same gaps and blocks sit next to 12 more ICT layers (liquidity, structure, killzones, OTE and more), on up to 8 synced charts and every timeframe, with alerts on your phone. Free to start in the browser, on Android and on Windows.

Open ICC Charts free See all 14 ICT layers

Education only. The indicator draws zones by fixed rules; it is not a signal and does not predict price. Trading with leverage carries a high risk of losing money: test on a demo account first.

FAQ

Good to know

More in the Help Center.

Is it really free?

Yes. You only need a free ICC Charts account, so we can tell you about updates. There is no payment, no trial end and no licence key.

Does it give signals or trade?

No. It only draws zones by fixed rules. It places no orders, sends no alerts and does not predict price. Many setups at these zones lose: test on a demo account first.

Is it the same as the ICC Charts layers?

Yes, it follows the same rules as the FVG and Order Blocks layers of ICC Charts. We check it automatically: the indicator's code and the ICC Charts engine must find the same gaps and blocks on the same candles.

Why do I not see the source code?

The file is compiled (.ex5), like most MetaTrader indicators. The rules are written out in full on the ICT indicators page.

Does it work on MT4?

No, MetaTrader 5 only (Windows, or Mac / Linux through MetaTrader's own wrapper).