Skip to content
All library documents

Opening Range Breakouts with Retest Confirmation and ATR Risk Levels

Article MQL5 articles

Summary

This article explains an intraday Opening Range Breakout approach and an MQL5 Expert Advisor designed to identify and display its signals. It describes two ways to define the range: using the previous session’s final candle and the current session’s opening candle, or tracking the high and low over a configurable opening window. The range is then drawn on the chart as a visual reference.

The strategy waits for a candle to close outside the range, return to its boundary, and close beyond it again before signaling. An ATR filter and ATR-based stop and target levels adapt the setup to volatility; chart annotations and alerts communicate its state. The article also refers to backtesting, but the supplied text provides no detailed performance figures or comparative evidence. Its description of the Flash Crash illustrates the risk of acting on an unconfirmed breach, not proof that this method avoids false breakouts. Outcomes will depend on instrument, session settings, and parameter choices.

Key ideas

  • The opening range can be measured from two session-adjacent candles or from a configurable period of early trading.
  • The strategy requires a close beyond the range, a retest of its boundary, and a second close in the breakout direction.
  • ATR is used to filter signals and set volatility-adjusted stops and targets.
  • The article describes chart drawings, alerts, and state management as parts of the automated implementation.
  • Backtesting across instruments and sessions is recommended, but the supplied text gives no quantified results.

Tags

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