Grid MasterB
Grid MasterB is a grid trading Expert Advisor that places buy and sell pending orders at fixed price intervals around the current market price, aiming to profit from market oscillations within a range. It systematically manages a grid of orders by spacing them at configured distances and optionally uses lot multiplication after losing trades. The EA continuously opens new grid levels as price moves, capturing profits from each grid line hit.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
Why this EA never traded: an indicator ended up with a period of 0.
Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.
Blow-up risk: High
- Increases the position size after losses (martingale)
- Opens a grid of orders at fixed price steps
- Has no stop loss or trailing stop
High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →
Strategy analysis
This EA employs a classic grid trading strategy that places buy and sell pending orders at fixed intervals above and below the current price, profiting from market oscillations within a trading range. Entry conditions are triggered automatically when price reaches a grid level, executing the corresponding pending order without requiring additional signal confirmation. Exit conditions typically involve fixed take-profit targets for each individual order, closing positions when price reverts to the target level. Position sizing allows configuration of the initial lot size and grid spacing, with some variants supporting Martingale-style lot multiplication after losses to average down the entry price. Money management relies on the proper calibration of grid distance and take-profit ratio, but lacks a global stop-loss mechanism, exposing the account to severe drawdowns during strong trending markets. The overall strategy assumes mean-reverting market behavior, and account risk escalates dramatically when sustained trends develop against the grid direction.
Strengths
- Generates consistent profits in ranging markets, capturing profit each time price hits a grid level
- Strategy logic is clear and parameters are intuitive, making it easy to understand and optimize
- Does not rely on complex technical indicators, reducing lag and false signal issues
Weaknesses
- Drawdowns escalate rapidly during trending markets, potentially leading to margin call and account blow-up
- Lacks a global stop-loss mechanism, risk control relies entirely on the reasonableness of parameter settings
- High margin requirement as multi-level grid pending orders demand significant account capital to sustain
Possible improvements
- Add a global stop-loss or maximum drawdown limit to prevent account blow-up during extreme market conditions
- Incorporate a trend filter to pause or reduce grid order placement when a clear trend is detected
Risk assessment
Overall risk: Dangerous
- Grid strategy exposes unlimited drawdown during trending markets with no global stop-loss protection
- Martingale-style lot multiplication accelerates margin consumption and increases margin call probability
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
GridStep | N/A | Grid spacing in points |
TakeProfit | N/A | Take profit per order (points) |
StartLot | N/A | Initial lot size |
LotMultiplier | N/A | Lot multiplier after a loss |
MaxOrders | N/A | maximumpending order count |
GridLevels | N/A | Grid layers |
Similar Grid EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.