Skip to content
All library documents

GBPUSD EA with RSI and MACD Entries and Staggered ATR Targets

Article MQL5 code base

Summary

This GBPUSD expert advisor description outlines a system that opens four positions with separate take-profit levels. Stop-loss and take-profit distances are scaled using ATR coefficients. Once a position reaches its target, the remaining positions are moved to breakeven, creating a sequence of exits intended to lock in progress as the trade develops.

The listed entry inputs include RSI ranges for buys and sells, MACD settings, and minimum changes in MACD magnitude between recent bars. Position volume and a unique identifier are also configurable. The document does not specify the complete entry logic, exact default parameter values, or how the four targets are distributed. It provides no backtest statistics or evidence of performance, so it describes EA mechanics and configurable components rather than a validated trading edge.

Key ideas

  • The EA opens four positions with different take-profit levels.
  • Stop and target distances are calculated using ATR-based coefficients.
  • After one position reaches its target, the remaining positions are moved to breakeven.
  • RSI ranges and changes in MACD magnitude are among the configurable entry inputs.
  • The description includes no performance results or complete default parameter set.

Tags

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