Pips & GoldTrade smarter. Forex & gold.
Learn

Grid and Basket EAs Explained: How They Win, Why They Blow Up, and How to Size One Safely

Updated October 26, 2026 · By the Pips & Gold team

Grid and basket EAs are some of the most popular robots for sale, because their equity curves often look smooth for months. They are also the type of EA most likely to wipe out an account in a single bad week. Both facts come from the same maths. This guide shows that maths with real gold numbers, so you can see exactly what a basket EA is doing with your money, how big it can get, and which safety limits actually protect you.

By Pips & Gold teamLast updated October 22, 202610 min readLevel: Intermediate

Key takeaways

  • A basket EA adds trades when price moves against it, then closes them all together at one target.
  • It wins often because the average entry follows price, so a small bounce is enough to close in profit.
  • Its losses are rare but large: risk grows with every trade added, and fast with a lot multiplier.
  • A basket with 6 trades starting at 0.02 lot and growing ×1.4 is 0.33 lot when full: over 16 times the first trade.
  • The protection that matters is a hard money stop per basket, a daily loss limit and an account drawdown stop, all set before you start.
  • Size the EA from its worst basket, not its average month. Use the calculator below with your own settings.

Grid, basket, averaging, martingale: what the words mean

These words get mixed up in EA adverts, so here is what each one means on this site:

WordWhat it meansRisk level
GridOrders placed at fixed distances (for example every $30 on gold), in one or both directions.Medium to very high, depends on lot growth
BasketA group of trades in one direction that are managed and closed together, at one combined target or stop.Depends on how many trades and how big
Averaging (cost averaging)Adding to a losing position so the average entry price gets closer to the current price.High if there is no hard stop
MartingaleDoubling (or more) the lot size after each loss or each new step, hoping one win recovers everything.Very high: the classic account killer

Most real products mix these. A “basket EA” usually means: open one trade on a signal, add more trades at a grid distance if price goes against it, make each new trade a bit bigger (a lot multiplier), and close the lot together at one money target. Many gold EAs sold today are basket EAs of this kind. That's why we wrote this guide: we want traders to understand the risk before they buy one, not after.

Read the inputs, not the advertIf an EA's inputs include words like Multiplier, Lot exponent, Step, Grid distance, Max orders or Recovery, it is a grid or basket EA, whatever the sales page calls it.

How a basket wins so often

How a buy basket works: add as price falls, close all at one targetTrade 1: 0.02Trade 2: 0.03Trade 3: 0.04Trade 4: 0.05Average entryBasket targetBasket stopAll 4 close togetherEach trade is bigger. The average entry follows price down, so a small bounce closes the basket.
A buy basket. Each new trade lowers the average entry price, so the basket target (green) gets closer to the current price.
Life of one basket1SignalFirst small tradeopens2Price goes against itAdd a bigger tradeevery step3Average entry movesA smaller bouncenow closes it4Target or stopWhole basket closestogether

The trick is the average entry price. Say the EA buys gold at $4,100. Price falls to $4,070 and it buys again, a little bigger. The average entry is now somewhere between the two, closer to the bigger trade. Each new trade pulls the average further down. So when gold finally bounces, it doesn't need to climb back to $4,100. It only needs to reach the average entry plus a small target.

That's why basket EAs often show win rates of 70% to 90%. Most baskets close in profit after a small bounce. The catch is what happens when there is no bounce.

Worked example

Average entry after four buys

Gold buy basket, start lot 0.02, a new trade every $30, lots grow ×1.4 (rounded to 0.01).

Trade 1: 0.02 lot at $4,100 Trade 2: 0.03 lot at $4,070 Trade 3: 0.04 lot at $4,040 Trade 4: 0.05 lot at $4,010 Total lots = 0.14 Average entry = (0.02×4,100 + 0.03×4,070 + 0.04×4,040 + 0.05×4,010) ÷ 0.14 = $4,044.29 Break-even bounce from $4,010 = $34.29, not the $90 back to the first entry

Gold only has to win back about $34 of the $90 fall for the whole basket to break even. Add a small target on top and the basket closes in profit.

The maths of a growing basket

Now the other side. Every trade the basket adds makes the next $1 move against you more expensive. Here is the same basket filling up, step by step, with a new trade every $30 against the first one:

TradeOpened at (from first)LotTotal lotsAverage entry (from first)Bounce needed to break evenFloating loss at that point
1$00.020.02$0.00$0.00$0
2$300.030.05$18.00$12.00$60
3$600.040.09$36.67$23.33$210
4$900.050.14$55.71$34.29$480
5$1200.080.22$79.09$40.91$900
6$1500.110.33$102.73$47.27$1,560

Two things stand out. The first trade is 0.02 lot, but the full basket is 0.33 lot, over 16 times bigger. And when the 6th trade opens, $150 below the first, the basket is already $1,560 down on paper. If gold keeps falling from there, every extra $1 costs another $33 (0.33 lot × 100 oz).

Floating loss when gold falls $150 (all 6 trades open)Fixed lots (×1.0)$900Gentle growth (×1.4)$1,560Doubling (×2.0)$3,420Start lot 0.02, a new trade every $30, 100 oz per lot. No basket stop. Same price move, very different damage.
The multiplier decides how fast the loss grows. Doubling is the martingale.
Same baskets after gold keeps going: $250 against the first tradeFixed lots (×1.0)$2,100Gentle growth (×1.4)$4,860Doubling (×2.0)$16,020Once the basket is full, every extra $1 costs total lots × 100 oz: $12, $33 or $126 per $1.
After the last trade opens, there is nothing left to average with. The loss just grows.
Why doubling (martingale) is so dangerousWith ×2.0 the 6th trade alone is 0.64 lot, 32 times the first. A $250 move costs over $16,000, more than most retail accounts hold. One trending week is enough.

Why basket EAs blow up

A basket EA is betting that price will come back. Usually it does, which is why the equity curve looks smooth. But gold sometimes moves $100 to $300 in one direction in a day or two: around a central bank decision, a jobs report, a war headline, or a big change in interest-rate expectations. In those moves there is no bounce, and the basket keeps adding size into the move.

DangerWhat happensWhat protects you
One-way trendThe basket fills up and the loss grows by total lots × 100 oz per $1A hard money stop per basket
News spike or gapPrice jumps past the next steps and past the stop, filled at a worse priceSmaller lots, news filter, wider account buffer
Several baskets at onceTwo or three baskets open in different sessions all lose togetherMax baskets or one basket at a time
Bigger spreadEvery trade in the basket pays the spread, so costs multiplyA RAW or ECN account with low spreads
Hiding the lossThe EA holds losing baskets for weeks, so the balance looks fine while the equity sinksWatch equity drawdown, not balance

Here is the pattern to recognise: months of small, steady gains, then one loss that wipes out several months or the whole account. That isn't bad luck. It's the payoff shape of the strategy:

The basket payoff shape: many small wins, a few big losses39 winning trades39 × $44.54 = $1,737.0615 losing trades15 × $92.49 = −$1,387.35Report net result: $349.67 over 54 trades. The edge only survives while the losses stay capped.Source: a gold basket EA we tested, Conservative settings, MT5 Strategy Tester, real ticks, Sep 1 to Oct 17 2026, $10,000 start.
Real numbers from a gold basket EA we tested: the average loss is about twice the average win.

That test shows the shape honestly: 72% of trades won, but the average loss ($92.49) was about twice the average win ($44.54). The strategy still made money in that window because the losses were capped at the basket stop. Remove the cap and the same EA becomes a time bomb.

The safety limits that actually matter

Every basket EA should have these limits, set to real numbers before it ever runs on real money. If an EA doesn't have them, don't run it.

LimitWhat it doesGood signRed flag
Max trades per basketStops the basket adding foreverA small number (for example 5 to 8)20, 50 or 'unlimited'
Lot multiplierHow fast each new trade grows1.0 to 1.52.0 or more (martingale)
Max lotCaps the size of any single tradeSet, and small for the accountNot offered
Hard money stop per basketCloses the whole basket at a set $ lossA fixed $ amount you can afford'No stop loss, it always recovers'
Daily loss limitStops all trading for the dayA few % of the accountNot offered
Account drawdown stopShuts the EA off at a set % from the highSet below your pain pointNot offered

For reference, the basket EA in the test above used all six: a ×1.4 multiplier, at most 6 trades, a 0.20 max lot, a $100 hard basket stop, a 4% daily loss limit and a 20% account drawdown stop. Those caps are what made its losses survivable in testing, and they are the reason it isn't a martingale.

A tight basket stop changes everythingWith a $100 hard stop, the example basket above would close after gold moved about $38 against it, long before the 6th trade. The basket then can't become the $1,560 monster in the table. You trade a few more small losses for never having a giant one.

How to size a basket EA for your account

Size a basket EA from its worst case, not from its average month. A simple method:

  1. Find the worst basket. From the seller's test report or your own backtest, find the largest single basket loss and the maximum equity drawdown. Use the bigger of the two, and check that the test used real ticks.
  2. Add a safety margin. Live trading has bigger spreads, slippage and gaps. Assume the next worst loss is 1.5 to 2 times the worst one in testing.
  3. Compare with what you can afford to lose. If that number is more than about 10% to 20% of your account, use a smaller preset, a smaller start lot, or a bigger account.
  4. Check the full basket against margin. Use the total lots of a full basket in the margin calculator. If a full basket would use more than about a third of your free margin, it's too big.
Worked example

Sizing check on a $5,000 account

A seller's report on a $10,000 test account shows a 12% maximum equity drawdown ($1,200). You want to run it on $5,000 with half the lots.

Worst case in testing at half size = $1,200 × 0.5 = $600 Safety margin ×2 = $1,200 As % of a $5,000 account = 24%

24% is more than most people can sit through calmly. Halve the lots again, or start on a cent account until you've seen how it behaves live.

Basket exposure calculator

Put in your EA's settings to see how big a full basket gets, how far price must bounce to break even, and where your basket stop would close it.

Basket (grid) exposure calculator

For learning only. Brokers differ in contract sizes and rounding, so always check your broker's contract specification.

How to test a basket EA before you trust it

  • Backtest with real ticks over at least 12 months that include strong trends, not just ranges.
  • Look at the equity line, not the balance line. A basket EA's balance can rise while equity dips sharply under it. The dips are the real risk.
  • Find the worst week. Check the tester results for the largest losing trade and the maximum consecutive loss, then look at what gold did that week.
  • Test a higher spread. Run the same test with a wider spread. If the result turns negative, the EA needs a low-cost account to work.
  • Forward-test on demo or cent for at least a month before using real money.

Our guide to reading an MT5 Strategy Tester report explains every number you'll see in those tests.

Common mistakes

  1. Judging the EA by its win rate. A 90% win rate means little if the 10% of losses are four times bigger than the wins.
  2. Turning off the basket stop to 'let it recover'. That's how a capped loss becomes an account loss.
  3. Raising the multiplier to make it profit faster. Profit grows a little; worst-case loss grows a lot.
  4. Running two basket EAs on the same symbol. Their baskets can fill up together in the same move.
  5. Sizing from the average month. Size from the worst basket and the maximum equity drawdown, with a safety margin.
  6. Trusting a backtest without real ticks. Grid distances and stops depend on exact prices; low-quality data hides the worst fills.

Printable checklist

  • I know the EA's multiplier, max trades, max lot and basket stop.
  • The multiplier is 1.5 or less, and the basket has a hard money stop.
  • There is a daily loss limit and an account drawdown stop, and both are switched on.
  • I know the total lots of a full basket and what $1 against it costs me.
  • I've sized from the worst basket in testing, times 1.5 to 2.
  • That worst case is a loss I can afford.
  • I've checked the equity line, not only the balance line.
  • I've tested with real ticks, and with a higher spread.
  • I've forward-tested on demo or cent before using real money.

Frequently asked questions

Is a basket EA the same as a martingale?

Not always. A martingale doubles (or more) the lot size each step. A basket EA may use fixed lots or a gentle multiplier like 1.4. The lower the multiplier and the tighter the basket stop, the less it behaves like a martingale.

Why do basket EAs have such high win rates?

Because the average entry follows price, so most baskets close after a small bounce. The win rate tells you how often it wins, not how much it loses when it doesn't.

Can a basket EA lose my whole account?

Yes, if it has no hard stop or the stops are set too wide for the account. With a hard money stop per basket, a daily loss limit and an account drawdown stop, the loss is capped, but gaps and fast moves can still go past a stop.

Why does the balance look fine while the account is losing?

Losing baskets stay open, so their loss shows in equity, not balance. Always watch equity and the maximum equity drawdown.

What multiplier is safe?

No multiplier is safe on its own. Lower is safer: 1.0 means fixed lots, 1.2 to 1.5 is gentle, 2.0 or more is martingale. The basket stop and max trades matter as much as the multiplier.

Risk warning: most EAs lose money in the long runTrading forex and gold with leverage is high risk and you can lose all of your deposit. Most Expert Advisors do not make money over the long term. Every result shown here is a backtest on past prices, not live trading, and past results do not promise future results. Live results will be different because of spreads, commission, slippage and changing markets. This is not financial advice. Test on a demo account first and only trade money you can afford to lose. Full risk disclaimer.

Sources and further reading

This guide is general education, not financial advice. Broker terms differ; always check your own broker's contract specifications.