Skip to content
All library documents

Building a Daily Range Breakout Strategy with Indicator Analysis

Article MQL5 articles

Summary

The article presents a method for developing a trading strategy by comparing virtual trade outcomes with indicator readings. At the start of each candle, the experiment opens hypothetical long and short positions with stop loss and take profit levels tied to ATR and a chosen reward to risk ratio. A custom deal class tracks point-based profit and closure, while indicator classes collect values from several indicators and timeframes. The aim is to identify indicator conditions associated with stronger trade outcomes and refine a strategy from those observations.

The document describes an MQL5 expert advisor and lists generated analysis reports, but the supplied text omits much of the implementation and the findings from those reports. It therefore offers a research workflow and software design example, not enough evidence to assess profitability or out-of-sample robustness. Virtual trades also abstract away position size and monetary returns, limiting conclusions about deployable trading results.

Key ideas

  • The approach studies indicator values by comparing them with outcomes from hypothetical long and short trades.
  • Virtual deals track entry, stop loss, take profit, and profit in price points rather than account currency.
  • The example gathers readings from multiple technical indicators and timeframes.
  • ATR-based stops and targets define the simulated trade risk and reward.
  • The provided text does not include enough report results to establish strategy performance.

Tags

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