Detecting and Trading Consolidation Breakout Order Blocks in MQL5
Summary
This article describes an MQL5 expert advisor that detects consolidation ranges, identifies breakouts, and marks potential bullish or bearish order blocks. Its proposed process checks a group of recent candles for closely aligned highs and lows, records the range boundaries, and watches for a breakout. It then assesses the preceding candles for impulsive movement before validating a zone. The strategy looks to trade in the breakout direction when price later returns to a valid zone, and removes zones deemed stale after price extends beyond a significant point.
The implementation is presented as a new-bar workflow with configurable range and deviation parameters, chart drawings, arrays for tracking zones, and trade execution. The article says it backtests the system and refers to charts and a report, but the supplied text includes no results or performance figures to assess. The order-block definitions and thresholds are rule-based choices, and the document provides no evidence that these zones represent institutional activity or will predict future price movement. Results would require independent testing across instruments and conditions.
Key ideas
- The proposed detector defines consolidation by comparing nearby candle highs and lows within a deviation limit.
- A breakout can qualify as an order block when preceding candles show the specified impulsive movement.
- The strategy enters in the breakout direction if price retraces to a validated zone.
- The system removes zones considered stale after price moves beyond a significant level.
- The document mentions backtesting but provides no readable performance results in the supplied text.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.