Skip to content
All library documents

Hedged Martingale Trading With Grid Entries and Basket Controls

Article MQL5 code base

Summary

This Expert Advisor concept opens buy and sell positions together, then adds trades at fixed pip intervals when price moves against an initial position. Added position sizes may grow by a configured multiplier, while the system seeks to close trades or the basket at a profit. The described controls include maximum trade counts, money- or percentage-based take profit and loss limits, trailing stops, equity stops, and alternative lot-sizing modes. Entries are limited to new candles, and the author identifies the daily chart as preferred.

The document lists configurable parameter ranges and recommends trying the system on a demo account and periodically optimizing its inputs. It provides no backtest results, drawdown data, or evidence that the approach is safe across currency pairs or timeframes. Martingale sizing can compound exposure as losses accumulate, and simultaneous long and short positions do not remove execution costs or the risk of a sustained adverse move. The listed basket limits and hedge protocol are configurable safeguards, not demonstrated guarantees of low drawdown.

Key ideas

  • The system starts with simultaneous long and short trades and adds positions after adverse moves reach a pip interval.
  • Position size can be increased at each step, subject to a maximum number of trades.
  • Basket exits, trailing stops, and equity controls are among the listed risk settings.
  • The document gives configuration ranges but no performance or drawdown evidence.
  • Growing exposure during adverse moves can make losses escalate despite hedging controls.

Tags

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