Skip to content
All library documents

A Modular Supply and Demand Zone Strategy Validation Pipeline

Article MQL5 articles

Summary

This article describes an MQL5 architecture that turns automatically qualified supply and demand zones into candidate trade requests through a sequence of independent checks. The strategy layer considers zone qualification and interaction, how price approached the zone, higher-timeframe trend and RSI conditions, and price-action confirmation. Candidates that fail a stage are rejected; those passing all stages are delegated to a separate trade manager for execution and position handling.

The implementation exposes configurable settings for filters, spread limits, risk-reward targets, ATR-based buffers, position size, and trailing stops. Its central contribution is modular decision design: zone discovery and lifecycle management remain separate from signal evaluation and order operations. The article explicitly frames the code as an architectural research platform, not a complete production methodology. It focuses on how validation stages are composed and offers no performance results or evidence that the illustrated rules are profitable; automated decisions are limited to qualified automatic zones, while user-defined zones are excluded pending separate qualification.

Key ideas

  • A zone touch alone does not determine whether price will reject the area or break through it.
  • The strategy evaluates zone status, interaction, approach behavior, higher-timeframe context, and price action in sequence.
  • Separating analysis, trade decisions, and execution makes the components independently replaceable.
  • The article presents an extensible research architecture rather than a validated production strategy.

Tags

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