EA-16760 · Grid

Exp_GTakeProfit

This EA implements a grid trading strategy with a global take-profit mechanism. It places pending orders at fixed price intervals and closes all positions once a combined profit target is reached. The strategy relies on price oscillation within a range to capture incremental profits across multiple orders.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryGrid
RiskHigh risk
Blow-up riskHigh
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsPrice Action
AuthorCopyright © 2016, Nikolay Kositsin

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

The strategy concept is based on grid trading, capturing market fluctuations by placing buy and sell pending orders at fixed intervals within a set price range. Entry conditions are met when price reaches a grid level and the corresponding pending order is triggered. Exit conditions use a global take-profit mechanism where all positions are closed when the combined floating profit reaches a preset target, along with a global stop-loss to cap maximum loss. Position sizing uses a fixed lot size per grid order without dynamic adjustment based on account balance. Money management relies on the take-profit and stop-loss ratio, but the grid strategy continuously adds positions in trending markets, creating significant risk. The strategy is suitable for ranging markets but may suffer severe losses in strong trending conditions.

Strengths

  • Grid strategy generates steady profits in ranging markets, diversifying risk across multiple orders
  • Global take-profit mechanism effectively locks in overall profit, preventing greed-driven drawdowns
  • Highly configurable parameters allow traders to adapt to different instruments and market conditions

Weaknesses

  • Grid continuously adds positions in trending markets, potentially causing severe floating losses or margin calls
  • Fixed lot sizing lacks dynamic position management, reducing capital efficiency for larger accounts
  • Does not account for spread and commission erosion effects on high-frequency grid trading

Possible improvements

  • Add dynamic position sizing that adjusts lot size based on account balance and risk ratio
  • Incorporate a trend filter to pause grid trading or adjust direction during strong trending markets
  • Factor in spread and commission costs to optimize minimum profitable grid step thresholds

Risk assessment

Overall risk: High risk

  • Grid strategy adds unlimited positions in trending markets without per-order stop-loss protection
  • Fixed lot size combined with numerous pending orders may lead to insufficient margin

Evaluation scores

Code quality3.0
Strategy logic2.0
Risk management1.0
Robustness2.0
Innovation2.0
Documentation2.0
Overall2.0

Parameters

ParameterDefaultDescription
GridStep50Grid spacing in points
TakeProfit100Global take profit amount (currency)
StopLoss500Global stop loss amount (currency)
Lots0.01Lot size per order
MaxOrders20maximumpending order count
PriceRange500Grid price range in points

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.