Skip to content
All library documents

Midnight Range Breakouts Confirmed by Break of Structure in MQL5

Article MQL5 articles

Summary

The article describes an MQL5 Expert Advisor for a session range breakout strategy. It defines the range using the high and low from midnight to 6 AM, then looks for a breakout during a later time window. A Break of Structure confirmation, based on price moving beyond a swing high or low, is intended to filter false signals. The EA also draws the range levels and uses stop-loss and take-profit settings derived from the range, with a limit of one trade per day.

The article outlines implementation elements such as daily resets, bar detection, timeframe selection for structure analysis, and trade execution. It says that backtesting was performed, but provides no graph, report, performance figures, or detailed evaluation in the supplied text. The approach depends on correct server time and timezone alignment, and the author cautions about high-impact news and whipsaws. The described setup is an implementation example, not evidence of profitability across instruments or market regimes.

Key ideas

  • The strategy defines a range from prices recorded between midnight and 6 AM.
  • A breakout is considered only within a later time window.
  • Break of Structure confirmation uses a move beyond a swing high or swing low.
  • The EA visualizes range levels and derives trade risk levels from the range.
  • The article provides no usable backtest 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.