Skip to content
All library documents

Automating Order Blocks, Fair Value Gaps, and Breaks of Structure

Article MQL5 articles

Summary

The document describes a MetaTrader expert advisor that combines three Smart Money Concepts: Order Blocks (OB), Fair Value Gaps (FVG), and Breaks of Structure (BOS). OB zones are defined from the last candle before a significant move and filtered with a Fibonacci retracement condition. FVGs are treated as price imbalances that may be revisited, with an optional entry at the gap’s midpoint. BOS signals follow the break of a prior swing high or low, with entries aligned to the break direction. The advisor can trade one selected concept or use all three in automatic mode, and includes configurable swing detection, stop and target distances, gap thresholds, and chart drawings.

The article says it backtested the default BOS strategy on an hourly chart over a roughly two-month period in 2025, but the provided excerpt gives no performance figures or comparison. The concepts are presented as trading rules rather than validated evidence of institutional order flow or durable edge. Outcomes will depend on implementation details, asset, and market conditions; the short test description does not establish robustness.

Key ideas

  • The expert advisor can trade OB, FVG, or BOS signals separately or combine them in automatic mode.
  • Order Blocks are filtered using a Fibonacci retracement condition.
  • Fair Value Gap entries can target the midpoint of the identified gap.
  • Breaks of swing highs and lows are traded in the direction of the break.
  • The excerpt reports a short hourly BOS backtest but provides no performance results or robustness analysis.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.