Skip to content
All library documents

Managing Manual Forex Trades with a Grid Expert Advisor

Article MQL5 code base

Summary

This product description explains an MT4 expert advisor for managing manually opened forex trades on the current currency pair. After an initial order is placed, the advisor can add positions when price moves a configured distance, up to a chosen maximum. The first positions can have separate take-profit targets; from the fourth position onward, the open grid is closed together at a shared profit level. Closed initial trades may be renewed under a configured offset condition.

The advisor also allows a maximum loss expressed as a percentage of account balance, which triggers closure of all open positions. Other settings include order size, slippage, grid spacing, and profit targets, with cycle profit and loss displayed on the chart. The description explains operating parameters but supplies no performance or risk-adjusted results. Grid averaging can accumulate exposure as price moves against the initial trade, and the stated loss limit does not establish protection against gaps, execution slippage, or losses beyond the configured threshold.

Key ideas

  • The advisor adds trades at configured price intervals to a grid around a manually opened forex position.
  • Early positions may use separate profit targets, while larger grids use a shared exit level.
  • A balance-percentage loss limit can close all positions in the cycle.
  • The description provides configuration details but no evidence of profitability or resilience to adverse execution.

Tags

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