Designing a Multi-Level Grid Trading System with Trade Baskets
Summary
This article outlines an MQL5 Expert Advisor for a multi-level grid strategy. It organizes trades into independent baskets, each tracking direction, initial and current lot size, grid spacing, take-profit level and signal time. A moving average is used to filter entry signals, while management logic is intended to add positions at predefined price intervals, recalculate basket break-even levels and close positions according to either profit or points-based exit rules. The design also includes a limit on simultaneous baskets and a configurable progression in trade size.
The article describes the system architecture and implementation components, then says it was backtested for 2023 using default settings. The supplied text contains no report values or interpretable performance results, so it does not establish profitability or quantify risk. Grid additions and increasing lot sizes can produce growing exposure when prices keep moving against a basket; the article emphasizes risk management but the provided excerpt does not show the detailed controls or their effectiveness. Its practical contribution is primarily the basket-based EA structure and its configurable trade management.
Key ideas
- The Expert Advisor groups related grid positions into baskets with separate identifiers and trade parameters.
- Grid orders are added at predefined price intervals as the market moves.
- A moving average filters signals, and basket exits can use currency profit or distance from break-even.
- The configuration includes position-size progression and a cap on the number of active baskets.
- The article states that it backtested the system for 2023 but supplies no performance figures in the excerpt.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.