Skip to content
All library documents

Forex Breakout EA with Martingale Recovery and Balance-Based Sizing

Article MQL5 code base

Summary

This document outlines a Forex Expert Advisor that combines breakout entries with a Martingale-style recovery process. Its settings include the share of account balance available for trading, profit and loss targets expressed relative to balance, a recovery activation control, and a take-profit points multiplier.

The central sizing function calculates trade volume from a desired profit, an entry price, and an exit price. The description explains the intended inputs and purpose of that calculation, but provides no entry or breakout detection rules, recovery sequence details, worked examples, backtest results, or risk analysis. As a result, it offers a high-level description of the EA's money-management controls rather than enough information to assess the strategy's behavior or performance.

Key ideas

  • The EA combines a Forex breakout approach with Martingale-style recovery management.
  • Several parameters set trade allocation and profit or loss targets as percentages of balance.
  • A sizing function computes trade volume from the target profit and entry and exit prices.
  • The description does not provide performance evidence or enough detail to assess recovery risk.

Tags

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