Discussing the article: "Price Action Analysis Toolkit Development (Part 72): Building a Gap Fill Indicator in MQL5"

 

Check out the new article: Price Action Analysis Toolkit Development (Part 72): Building a Gap Fill Indicator in MQL5.

An EA-ready weekend gap-fill tool for MetaTrader 5 that detects gaps, confirms complete fills, and posts deterministic buy/sell values to indicator buffers. It reconstructs historical events, monitors live markets without repainting, and visualizes gap structure directly on the chart. Configurable alerts and clear object graphics support both manual review and automated execution.

The previous part of this series introduced the weekend gap strategy by mapping the weekly gap zones for future trading reference. Since gap zones are an important part of price action analysis, this provided a useful foundation for understanding how the market behaves around the weekly transition.

This part builds on that foundation by introducing the gap fill signal indicator, which alerts when bullish or bearish gap fills occur and plots arrows on the chart for easy visual reference.

What Is a Gap Fill?

A gap fill occurs when price returns to the unfilled area between Friday’s close and Monday’s open. In simple terms, it represents the market returning to trade through the unbalanced area created at the start of the new trading week.

For this system, gap fills are important because they provide measurable price action events that can be tracked and used for signal generation.


Author: Christian Benjamin