GM Grid MT5 Settings & Parameters Guide
GM Grid MT5 is an automated grid trading system designed with configurable money management, directional trading controls, Martingale-based loss recovery, grid recovery parameters, profit protection, and flexible trading-session management. Its Inputs provide detailed control over lot sizing, order frequency, Stop Loss, Take Profit, Breakeven, Trailing Stop, grid spacing, lot multipliers, maximum exposure, and chart-panel display. The supplied configuration is particularly notable for its Martingale on loss strategy mode and multiple grid-recovery controls.

Money Management Settings
🔹 Lot type — Constant lot: Selects Constant lot as the active position-sizing method, using a predefined trading volume rather than dynamically calculating the lot size from account balance.
🔹 Lot Value — 0.1: Sets the constant trading volume to 0.1 lots for the EA's initial or standard position sizing.
🔹 Lot Size Step (balance per 0.01) — 125: Sets the balance requirement to 125 for each 0.01 lot increment when the EA's lot-sizing calculation uses this parameter.
🔹 OnlyUp — true: Enables the OnlyUp option, allowing the EA to apply its configured upward-only behavior within the relevant position or lot-management logic.
Trading Settings
🔹 Trade direction — Both (Buy & Sell): Allows the EA to trade in both Buy and Sell directions, rather than restricting operations to only one market direction.
🔹 Entry mode — On bar close: Configures the EA to evaluate or execute its entry logic based on the bar close.
🔹 Strategy mode — Martingale on loss: Enables the Martingale on loss strategy mode, where the EA can increase position sizing after losing trades according to its configured multipliers and limits.
🔹 Close on opposite — false: Disables automatic closing of an existing position when an opposite-direction trading signal occurs.
🔹 Only one deal on one bar — true: Restricts the EA to one deal per bar, helping prevent multiple entries from being opened on the same candle.
🔹 Manage manual transactions — true: Allows the EA to manage manual transactions alongside its automated trading operations.
🔹 Only supports manual transactions — false: Keeps the EA from being restricted exclusively to manually opened transactions.
🔹 Pause on profit — false: Disables the automatic trading pause that would otherwise be triggered when the configured profit condition is reached.
🔹 Profit type — Daily: Defines the profit measurement period as Daily, so the profit-management condition is evaluated on a daily basis.
🔹 Profit value (account ccy) — 100.0: Sets the configured profit threshold to 100.0 account currency units.
🔹 Stop Loss (pips) — 50: Sets the Stop Loss distance to 50 pips for applicable trades.
🔹 Take Profit (pips) — 50: Sets the Take Profit distance to 50 pips for applicable trades.
🔹 Breakeven (pips / for 1st order only in grid mode) — 0: Sets the Breakeven trigger to 0 pips, effectively disabling a positive-distance Breakeven trigger in the supplied configuration.
🔹 Breakeven Profit — 10: Sets the Breakeven Profit value to 10, defining the configured profit amount used when the Breakeven mechanism is activated.
🔹 Trailing Stop (pips) — 0: Sets the Trailing Stop distance to 0 pips, which means the trailing-stop function is not actively configured with a positive trailing distance.
🔹 Trailing Step (pips) — 5: Sets the Trailing Step to 5 pips, defining the minimum configured step for trailing-stop adjustments when trailing functionality is active.
🔹 Working timeframe — current: Configures the EA to operate using the current chart timeframe.
Martingale on Loss Properties
🔹 Max trades in one direction (0 to disable) — 1: Limits the maximum number of trades in one direction to 1 within this Martingale-on-loss configuration.
🔹 Coefficient — 2.0: Sets the Martingale position-size coefficient to 2.0, determining the multiplication factor used when the recovery logic increases the position size.
🔹 Number of the losing trade — 1: Sets the losing-trade sequence reference to 1, indicating that the Martingale calculation starts from the first losing trade.
🔹 Max. number of multiplications — 3: Limits the Martingale multiplication process to a maximum of 3 multiplications.
Grid Recovery Properties
🔹 Max trades in one direction (0 - disable martingale) — 15: Allows up to 15 trades in one direction for the grid-recovery system. A value of 0 would disable the Martingale function according to the parameter description.
🔹 Distance (pips) — 5: Sets the grid distance between applicable recovery orders to 5 pips.
🔹 2nd Trade Multiplier — 1.0: Sets the lot multiplier for the 2nd trade to 1.0.
🔹 3rd-5th Trade Multiplier — 2.0: Sets the lot multiplier for the 3rd through 5th trades to 2.0.
🔹 6th-....Trade Multiplier — 1.5: Sets the lot multiplier for the 6th and subsequent trades to 1.5, according to the EA's grid-recovery logic.
🔹 Time between orders (in minutes) — 0.0: Sets the minimum configured time between successive orders to 0.0 minutes, allowing orders to be placed without a time-delay requirement when other conditions are satisfied.
🔹 Use New signal — false: Disables the New Signal option for opening or managing additional grid-recovery positions.
🔹 Maximum lot size — 50.0: Limits the maximum individual or calculated lot size to 50.0 lots.
🔹 Maximum lot to reset multiplier — 5.0: Sets 5.0 lots as the maximum lot level associated with resetting the multiplier according to the EA's recovery logic.
🔹 Orders for second distance (pips - 0 to disable) — 0: Sets this secondary-distance order function to 0, which disables the second-distance mechanism according to the parameter description.
🔹 Second distance start — 10.0: Sets the starting distance for the secondary grid-distance mechanism to 10.0 pips when that function is enabled.
🔹 Second distance multiplier — 1.2: Sets the multiplier for the secondary distance to 1.2.
🔹 Use virtual StopLoss — false: Disables the virtual Stop Loss mechanism.
🔹 Use virtual TakeProfit — false: Disables the virtual Take Profit mechanism.
🔹 Grid TP/SL extra settings — Average price: Configures the grid's additional TP/SL calculation mode to Average price, meaning the grid's overall exit levels are based on the average position price.
Time Properties
🔹 Trade during session — false: Disables the specific trading-session restriction, so the Start Hour and End Hour settings are not actively limiting trading through this switch.
🔹 Start hour — 02:00: Defines the configured trading-session start time as 02:00.
🔹 End hour — 17:00: Defines the configured trading-session end time as 17:00.
GUI Properties
🔹 Display panel — true: Enables the EA's on-chart information panel for displaying trading and system information.
🔹 Text color — White: Sets the GUI panel text color to White.
🔹 X — 10: Sets the horizontal GUI position to 10.
🔹 Y — 35: Sets the vertical GUI position to 35.
Additional Features
🔹 Print log — true: Enables logging of EA activity and relevant trading information in the platform's log.
🔹 Magic number — 25012022: Assigns the unique Magic Number 25012022 to trades generated or managed by this EA, helping distinguish them from other positions.
Conclusion
The supplied GM Grid MT5 configuration is built around a Constant lot model with Lot Value = 0.1, while its trading direction is set to Both (Buy & Sell) and its entry mode is On bar close. The selected strategy mode is Martingale on loss, with a 2.0 coefficient and a maximum of 3 multiplications in the dedicated Martingale settings.
The grid-recovery configuration allows up to 15 trades in one direction, uses a 5-pip distance, and applies different multipliers across trade sequences: 1.0 for the 2nd trade, 2.0 for the 3rd–5th trades, and 1.5 for the 6th and subsequent trades. The maximum lot size is configured at 50.0 lots, while the maximum lot for resetting the multiplier is 5.0.
For trade management, the supplied settings use Stop Loss = 50 pips and Take Profit = 50 pips. Breakeven is set to 0 pips, Breakeven Profit is 10, and Trailing Stop is set to 0 pips with a 5-pip Trailing Step. Both virtual Stop Loss and virtual Take Profit are disabled, while grid TP/SL management is based on Average price.
The configuration also enables the on-chart GUI panel, uses White text, positions the panel at X = 10 and Y = 35, enables logging, and identifies the EA with Magic Number 25012022.
FAQs
❓ What trading strategy does GM Grid MT5 use in the supplied configuration?
The selected Strategy mode is Martingale on loss, supported by dedicated Martingale and grid-recovery parameters.
❓ What are the main Stop Loss and Take Profit settings?
The EA is configured with Stop Loss = 50 pips and Take Profit = 50 pips.
❓ How many grid trades can GM Grid MT5 open in one direction?
The Max trades in one direction parameter under Grid recovery properties is set to 15. The separate Martingale-on-loss setting is 1.
❓ What are the grid lot multipliers?
The configuration uses 1.0 for the 2nd trade, 2.0 for the 3rd–5th trades, and 1.5 for the 6th and subsequent trades.
❓ Is the Trailing Stop enabled?
The supplied Trailing Stop = 0 pips, so no positive trailing distance is configured. The Trailing Step remains set to 5 pips.









