EA-61319 · Grid

Pending_tread

This EA places a grid of pending orders (buy stops and sell stops) at fixed intervals from the current price, creating a symmetric grid around the market. When price hits a pending order, it enters a position and the grid captures directional moves through cascading entries while using take-profit and stop-loss levels for each order.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryGrid
RiskHigh risk
Blow-up riskHigh
Rating★☆☆☆☆
TypeTrading EA
TimeframesM15, H1, H4, D1
IndicatorsNone
AuthorMir Mostofa Kamal

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Not convertible yet
GBPUSD0.00%0.00%0.00%0—————Not convertible yet
USDJPY0.00%0.00%0.00%0—————Not convertible yet
XAUUSD0.00%0.00%0.00%0—————Not convertible yet

Why this EA never traded: no entry rule survived the conversion.

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

  • 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 strategy employs a grid trading approach by symmetrically placing buy stop and sell stop pending orders above and below the current price. Entry conditions are purely mechanical - price movement triggers pending orders at each grid level, with no technical indicator used for directional bias. Exit conditions rely on individual take-profit and stop-loss levels set for each order in the grid. Position sizing is controlled through an initial lot parameter and the number of grid levels, with each level using the same fixed lot size. Money management includes parameters for maximum slippage and magic number for order identification, but lacks dynamic lot sizing based on account equity or balance. The strategy profits from trending markets where multiple orders in one direction get triggered consecutively, but suffers in ranging markets where frequent stop-loss hits erode capital.

Strengths

  • Simple and clear strategy logic with few parameters, easy to understand and configure
  • Grid structure can capture significant profits in trending markets through cascading order triggers
  • Each order has an independent stop-loss, capping per-trade risk

Weaknesses

  • Symmetric grid lacks directional bias, leading to frequent stop-loss triggers and sustained losses in ranging markets
  • No dynamic position sizing - cannot adapt lot size based on account equity or market volatility
  • Multiple grid levels held simultaneously create large total risk exposure that may exceed account capacity
  • No new bar check mechanism, potentially placing duplicate orders on the same bar

Possible improvements

  • Add a trend filter indicator (e.g., moving average or ATR) to give the grid a directional bias and reduce counter-trend pending orders
  • Implement a dynamic money management module that adjusts lot size and grid spacing based on account balance and ATR volatility

Risk assessment

Overall risk: High risk

  • Multiple simultaneous grid positions create uncontrolled total risk exposure; extreme market moves could trigger all stop-losses
  • No account-level overall stop-loss or maximum drawdown protection; prolonged ranging markets can slowly deplete account funds
  • No check on existing position count, potentially leading to duplicate orders and position stacking

Evaluation scores

Code quality2.0
Strategy logic2.0
Risk management1.0
Robustness2.0
Innovation1.0
Documentation1.0
Overall1.5

Parameters

ParameterDefaultDescription
Lots0.1Lot size per pending order
GridSteps5Grid levels (pending orders placed above and below)
GridDistance50Grid spacing in points
TakeProfit100Overall grid profit target in currency
StopLoss50Stop loss in pips per order
MaxSlippage3Maximum allowed slippage
MagicNumber123456Order magic number to identify this EA's orders

Similar Grid EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.