You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Check out the new article: Building an Object-Oriented FVG Scanner in MQL5.
The transition from retail indicator-based trading to institutional algorithmic modeling requires a fundamental shift in how a developer interprets historical data. Traditional oscillators and moving averages use smoothing formulas. This introduces mathematical lag. Institutional algorithms operate on raw market microstructure. They analyze liquidity voids and structural imbalances created by high-frequency trading.
One of the most critical footprints of institutional order flow is the Fair Value Gap, commonly referred to as an FVG or a liquidity void. Automating the detection of these imbalances provides algorithmic systems with highly precise, unlagged zones of interest for entry and exit routing. This article describes how to build an object-oriented Fair Value Gap scanner in MQL5. We define the three-candle geometry, load data with CopyRates, manage chart objects safely, and add mitigation checks to detect when gaps are filled.
Author: Amanda Vitoria De Paula Pereira