Skip to content
All library documents

Hedge-Account Grid Strategy with Doubling Positions

Article MQL5 code base

Summary

The strategy starts from a flat account by opening equal-sized long and short positions. When price moves by a preset step, it adds a position in the direction opposite that move, using twice the initial lot size. If price moves another step, the system closes all positions, realizing a gain or loss based on the path taken.

Its premise is that prices are more likely to reverse than continue trending, so the position additions are designed to benefit from a retracement. The document gives no performance data, rules for choosing the step size, or account-level risk limits. It specifies that the expert advisor operates on every tick and requires a hedging account; the doubling exposure and possibility of closing the cycle at a loss are important limitations.

Key ideas

  • The system begins each cycle with simultaneous long and short positions.
  • After a one-step move, it adds a position against the direction of that move at twice the initial size.
  • A further one-step move triggers closure of all open positions.
  • The approach assumes reversals are more likely than continued trends.
  • The advisor requires a hedging account and provides no performance evidence or risk limits.

Tags

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