Grid EAs add trades at fixed distances as price moves against them. Martingale EAs increase lot size after a loss. Both can show many winning days in a row. This article explains why that is misleading, what the real risk is, and how to limit it if you still want one.
How they work
A grid EA opens a trade, then opens another in the same direction each time price moves a set distance against it. When price returns, the whole basket closes at a small profit. A martingale EA raises the lot size after each losing trade, so the next win recovers the earlier losses plus a small gain. Many EAs combine both ideas.
Why they look good
The structure produces many small wins. As long as price eventually comes back, nearly every basket closes in profit. The equity curve climbs smoothly, and a short backtest or a few weeks of live results can look excellent. The losses are rare but large, so they may not show up in a short sample.
The hidden risk
Both rely on price coming back. In a strong one-way move, open trades and lot sizes grow until the margin runs out. One bad week can wipe out months of gains.
The pattern is easy to see in numbers. If each new level doubles the lot size, ten levels need a position about a thousand times the first lot. Even a slower increase builds a large exposure fast. The loss does not grow in line with the move, it grows faster, because every added trade is also losing.
- Margin calls can close all trades at the worst moment.
- Spreads and slippage widen during news, making the exit worse.
- Swaps add cost to baskets held for many days.
- Brokers have maximum lot and position limits that can block the next level.
If you still want one
- Set a hard maximum number of trades and a maximum total lot size.
- Use an equity stop that closes everything at a set loss.
- Avoid trading before high-impact news.
- Test on many years of data, including strong trend periods.
More protections worth adding
- Use a small lot multiplier, or none at all, instead of doubling.
- Widen the grid step when volatility rises, for example with ATR.
- Stop opening new baskets after a daily loss limit.
- Check free margin before each new level.
- Run on demo first and start live with a small account size you can afford to lose.
How to test honestly
Use the longest data you can get, with real spreads and swaps, and look at the worst drawdown and the largest number of open trades, not only the profit. Check what happens in known trend periods. If one test period would have closed the account, the system has a flaw regardless of its other results. Our VPS setup checklist also helps keep a running EA stable, but stability does not change the math of the strategy.
What we do
We build grid and basket logic on request, always with these protections. Tell us your rules on the contact page and we will advise on the risk limits. Pricing is on the pricing page, and you can see the scope on the EA development page. We show a working demo before final payment.
Questions to ask before buying one
If you are looking at an EA you did not build, a few questions reveal a lot. These apply to any seller, and they are worth asking even if the answers are uncomfortable.
- What is the maximum number of open trades and the largest lot size it can reach?
- Is there a hard stop on total loss, and what is it as a share of the account?
- What does the test show during the strongest trends in the data?
- Were spreads, commissions and swaps included in the test?
- Do the live results come from a verifiable account over a long period?
Be careful with any seller who talks about guaranteed or steady returns. No honest developer can promise that, and these systems in particular hide their risk until a large move arrives.
Position sizing matters most
The size of the first lot in relation to the account decides how many levels the account can survive. A small starting lot on a large balance can handle many levels, while the same EA on a small balance may reach the margin limit after only a few. Do the arithmetic: work out the worst case if price moves a long way in one direction, and check that the account survives with room to spare. If it does not, reduce the lot size or the number of levels.
Frequently asked questions
Is a grid EA always dangerous?
It carries a tail risk that normal fixed-stop strategies do not. With strict limits on trades, lot size and total loss, the risk is smaller, but it is never zero.
Why do sellers show such smooth results?
Smooth curves are typical of these systems until a large adverse move happens. Ask for long tests that include trend periods and the worst drawdown.
Can you add an equity stop to my existing EA?
Yes, in most cases. See our changes and upgrades service.