Guide · Risk

Martingale and grid EAs: why a robot that always wins blows the account

Months of small gains, an almost perfect curve, not a single closed loss. Then one move wipes it all out. This is how these robots work, why they break, how to spot them even when the seller keeps quiet.

How they work

A martingale increases the lot size after every loss to win it back on the next trade. A grid opens orders at fixed distances as price moves away, waiting for it to come back. Both win almost every time, as long as price eventually returns.

Why they break

A long trend against them piles up ever larger open positions. The margin runs out before price turns around. That single loss can erase years of small gains.

The closed history is misleading: the losses sit in the open positions, outside the balance. That's why the curve looks like a straight line until the day of the disaster.

How to spot them

  • An almost perfect balance with equity that sinks from time to time.
  • Lot sizes that grow after every loss.
  • Several positions on the same symbol open at once, with no stop loss.
  • Inputs with names like multiplier, recovery, step or grid.

If you still want to use one

Give it a loss cap that closes everything, limit the number of orders, leave plenty of spare margin. At a prop firm, check its policy first: some ban these EAs or keep a close eye on them.

An example with numbers

An EA starts at 0.10 lots and doubles after every loss. By the seventh entry in a row against it, it's already trading 6.40.

The total position is around 12.70 lots. On a $10,000 account, each pip on EURUSD is then worth about $127.

A few dozen more pips against it are enough to empty the account.

Why the backtest doesn't give it away

  • Many price histories don't include the extreme move that breaks it.
  • A short simulation ends before that streak arrives.
  • The report highlights the balance, where open losses don't show up.

Always ask for the equity curve, not just the balance curve. Also look at the maximum floating drawdown.

Not every averaging strategy is a martingale

Some strategies add positions within a clear limit: few entries, a constant size, a shared stop for the whole set.

The difference lies in the maximum risk. If you can say how much you lose in the worst case before opening, it's capped. When that figure doesn't exist, it's a martingale.

In funded accounts

With the daily limit measured on equity, a grid that builds up floating losses usually hits the floor long before it recovers. Several firms also ban these techniques in their terms.

Frequently asked questions

What is a martingale EA?

A martingale EA is a robot that increases the lot size after every loss to win it back on the next trade. It wins almost every time, until a long losing streak drains the margin.

What's the difference between martingale and grid trading?

A martingale multiplies the position size after a loss. A grid opens orders at fixed distances while price moves away. Many EAs combine both.

How can I tell if an EA uses martingale?

Check whether lot sizes grow after a loss, and whether the EA holds several positions with no stop loss. A perfect balance curve with equity sinking from time to time confirms it.

Put your robots in orbit.

Try it free

Sign up in a minute, no card required.