Skip to content
All library documents

Opening Range Breakout Trading with Confirmed Breakouts and Retests

Article MQL5 code base

Summary

The indicator records the highest and lowest prices during a chosen opening window, then extends those levels across the session. It derives profit targets as multiples of the opening range and can mark breakouts, retests, and failed retests. Its confirmation rule requires a close beyond the range followed by continued movement that remains outside the level, aiming to filter brief price spikes. Traders can use the levels for breakout entries, wait for retests, or consider mean reversion while price stays inside the range.

The description covers configurable session times, alerts, chart display, and multiple timeframes, with examples aimed at liquid instruments that have defined trading sessions. It suggests stop placement around the opposite range boundary and partial profit-taking at target levels. These are presented as indicator use cases, not validated results: the document supplies no backtest, quantified win rate, or evidence that the suggested settings work across markets. Session definitions, broker time handling, and market conditions can affect signals.

Key ideas

  • The indicator defines an opening range from the high and low during a user-selected session window.
  • Profit targets are calculated as multiples of the opening range size.
  • A confirmed breakout requires a close beyond the range followed by continuation outside it.
  • Retest signals identify pullbacks to a broken boundary, while failed retests mark moves back through it.
  • The document describes breakout and range-bound uses but gives no quantified performance evidence.

Tags

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