Skip to content
All library documents

Breakout Grid Trading with Profit Scaling and MACD-Based Hedge Recovery

Article MQL5 code base

Summary

This foreign-exchange expert advisor begins by looking for price breakouts, then adds orders progressively while seeking an overall profit target. It also takes small gains when positions become profitable and attempts to increase gains when the market trends. The listed parameters include the spacing for additional orders, a lot-size multiplier, a profit target, account risk percentage, position sizing, slippage, and MACD and EMA settings.

If losses exceed the configured balance-risk threshold, the system places hedge orders and uses indicators to seek an exit direction. The author says it may need manual intervention and parameter adjustments as market conditions change. No test results, pair-specific evidence, or risk analysis are supplied. Progressive orders and hedging can accumulate exposure or keep losing positions open, so the stated aim of limiting drawdown is not demonstrated by the document. The description is a high-level account of the trading logic rather than a fully specified, validated strategy.

Key ideas

  • The EA initiates orders around breakouts and adds positions progressively toward a combined profit target.
  • It takes partial gains and aims to add to profits when the market trends.
  • A balance-risk threshold triggers hedge orders, with MACD and EMA settings intended to help guide exits.
  • Position spacing, order-size scaling, lot sizing, and slippage are configurable parameters.
  • The author acknowledges possible manual intervention and tuning, while providing no performance evidence.

Tags

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