Skip to content
← All posts

Grid and Martingale EAs

Fixed Lot vs Martingale Lot Sizing in an EA: Risk Compared

EABuild Team · · 10 min read

Fixed Lot vs Martingale Lot Sizing in an EA: Risk Compared – EABuild

The choice of fixed lot vs martingale sizing decides how an expert advisor behaves when trades go wrong, more than almost any other input. A fixed lot keeps every trade the same size. A martingale lot (increasing the lot size after a losing trade) makes each new trade larger than the last one that lost. This post compares the two on drawdown shape and margin use, with a worked example, and claims no winner.

What fixed lot and martingale sizing mean in an EA's inputs

A lot is the unit of trade size in MetaTrader. On a standard forex symbol one lot is 100,000 units of the base currency, and 0.10 lots is a tenth of that. An EA exposes lot size through its inputs, the settings window you open when you attach it to a chart. The sizing method is whatever those inputs tell the EA to do each time it opens a position.

Fixed lot

With a fixed lot the EA opens every position at the same volume, for example 0.10 lots, whatever happened on the previous trade. A loss costs about the same as the loss before it, so the account curve moves down in steps of similar size. The size of a step depends on the stop distance and the symbol, not on the trade history.

Martingale lot

With martingale sizing the next lot is a multiple of the last one after a loss, often written as a lot multiplier input. A multiplier of 2.0 doubles the volume after each loss. Most implementations return to the starting lot after a win or when the sequence closes. The idea is that one winning trade at the larger size covers the earlier losses.

The criteria used in this comparison

Three questions are used below. How large can the next loss be compared with the first one? How much margin (the funds your broker holds while positions are open) can the sizing method tie up? And how does the account curve look while a losing run develops? None of these asks which method earns more, because that depends on market conditions nobody can state in advance.

A six-loss worked example: fixed 0.32 lots against a 1.5 multiplier from 0.32

The figures below are hypothetical and ignore spread, commission and swap. Take EURUSD, where a move of one pip on 1.00 lot is worth about $10. Each trade risks 25 pips, so a 0.32 lot trade that hits its stop loses about $80. Assume six losing trades in a row, then one winner. The martingale column uses a lot multiplier of 1.5 from the same starting lot.

TradeFixed lotLoss on tradeRunning lossLot at 1.5xLoss on tradeRunning loss
10.32$80$800.32$80$80
20.32$80$1600.48$120$200
30.32$80$2400.72$180$380
40.32$80$3201.08$270$650
50.32$80$4001.62$405$1,055
60.32$80$4802.43$607.50$1,662.50

After six losses the fixed lot sequence is down about $480, and the 1.5x sequence is down about $1,662, roughly three and a half times as much, although both started from the same 0.32 lots. The seventh trade in the 1.5x sequence would be about 3.65 lots. If it wins with a 25-pip target it earns about $911, which leaves the sequence still about $751 down. Here the larger size does not recover the run in one trade, so recovery depends on the sequence continuing.

This also shows where martingale sizing depends on its inputs. The sequence only continues if the account, the broker and the symbol allow the sixth and seventh lot sizes at all. A broker maximum lot, or a margin call (the broker closing positions when funds run too low), can end the sequence before a winning trade arrives.

Drawdown shape and margin use: how the two sizing methods differ

Drawdown is the drop from an account's peak balance. The table summarises how it tends to look under each method. These are descriptions of how the arithmetic behaves, not results from any product.

CriterionFixed lotMartingale lot
Size of each new lossAbout the same as the last oneLarger than the last one, by the multiplier
Drawdown shape in a losing runSteady, in steps of similar sizeSlow at first, then steep as lots compound
Margin tied upStays near the margin of one trade, plus any other open tradesRises with every step while positions remain open
Effect of one extra lossAdds one more standard stepAdds more than all earlier steps combined, at a multiplier of 2.0
What limits the damageStop loss and the lot you pickMaximum steps, lot cap, and the account's free margin
Predictability for planningHigh: the worst step is known in advanceLower: the worst step depends on how long the run lasts

With a multiplier of 2.0, each new lot is larger than all the earlier lots added together. That is why one extra loss in a martingale sequence weighs more than the whole run so far. A multiplier below 2.0 grows more slowly, and the same shape appears later in the run. A fixed lot is easy to size against a loss limit. A martingale lot needs you to decide in advance how many steps you can bear, and to check that the input for the maximum number of steps exists.

Grid baskets change the picture for both methods

Many grid EAs add a lot-sizing layer. A grid strategy opens extra orders at set price steps, and those positions can stay open together as a basket. Margin is then the sum of every open position, so margin use rises with the basket even when the lot is fixed. With a fixed lot the exposure grows linearly as orders are added: ten orders at 0.10 lots is 1.0 lot open. With a martingale multiplier on top, the open volume grows much faster than the number of orders.

This is why grid and martingale are often written together in a listing yet describe two different things. The grid sets where the orders go, and the lot rule sets how big each one is. A grid with a fixed lot and a grid with a lot multiplier can have the same entry logic and very different drawdown. The post on how grid and martingale differ sets the two apart, the guide to grid and martingale EAs covers the basket structure, and the post on limiting grid EA risk covers the inputs that cap it.

Three grid and martingale listings and what they state about sizing

The listings below state grid or martingale logic. Their fact sheets do not say which lot mode is the default or how large any multiplier is, so read the inputs window and any included documents before trading. Nothing here is a statement about how they perform.

  • EuroStable EA for MT4 is designed for EURUSD on M15 and lists grid, martingale and scalping logic, with a recommended minimum deposit of $100. The package has the EA file, two helper files and one set file (a saved list of input settings you load in MetaTrader).
  • Quantum King EA for MT5 is designed for AUDCAD on M5 and lists grid, martingale and hedging logic, with a recommended minimum deposit of $200. The package has the EA file and six set files, so you can compare how each starting configuration is set up before you choose one.
  • Market Master EA for MT5 trades three symbols on H1 and is marked grid/martingale. The package has the EA file and a PDF guide. It has no set files listed, so its lot values come from the inputs window.

The minimum deposit in a listing is a starting reference, not a statement that the deposit can absorb a long losing run. If a listing marks martingale, work through the six-loss arithmetic above with the lot values from its own set file or inputs. The Market Master listing states a $200 minimum deposit; the table above shows why that figure alone says little about a long run.

Checking the lot inputs of a grid or martingale EA before going live

Before you attach any such EA to a live account, read the lot inputs in order.

  1. Find the lot mode. Many EAs offer a fixed lot, a lot based on a percentage of balance, or a multiplier mode. Note which one a set file selects.
  2. Write down the starting lot and, if there is one, the multiplier.
  3. Find the cap: a maximum number of steps, a maximum lot, or a maximum number of open orders. Without one, nothing in the inputs stops the sequence from growing.
  4. Calculate the lot at the last allowed step and the total open volume if every step is filled.
  5. Compare that volume with your broker's maximum lot and with the free margin on the account you plan to use.
  6. Look for an equity stop or a loss limit input that closes the basket at a level you accept in advance.

If the set file keeps the multiplier at 1.0, the sequence behaves like a fixed lot. If you are weighing lot size for a single instrument, the post on lot size for gold trading shows the margin and deposit arithmetic for XAUUSD.

FAQ

How much larger is a martingale loss than a fixed-lot loss after six losing trades?

In a hypothetical EURUSD example with 25-pip stops, six losses at a fixed 0.32 lots total about $480, while a 1.5 multiplier starting from 0.32 lots totals about $1,662. That is roughly three and a half times as much. The figures ignore spread, commission and swap and are not results from any product.

Does a martingale multiplier of 2.0 double the lot after every loss?

Yes, a lot multiplier of 2.0 doubles the volume after each losing trade, so each new lot is larger than all the earlier lots added together. One extra loss then weighs more than the whole run so far. A multiplier below 2.0 grows more slowly, but the same steep shape appears later in the run.

What does a lot multiplier of 1.0 do in a grid or martingale EA?

A lot multiplier of 1.0 makes a grid or martingale sequence behave like a fixed lot, with every added order the same size. Exposure still grows with the basket, because margin is the sum of every open position. Ten orders at 0.10 lots is 1.0 lot open, and a multiplier above 1.0 makes the open volume grow faster.

Which limits should I look for in a martingale EA's inputs?

Look for a maximum number of steps, a maximum lot and a maximum number of open orders, because without a cap nothing in the inputs stops the sequence from growing. Calculate the lot at the last allowed step, compare the total open volume with your broker's maximum lot and free margin, and look for an equity stop that closes the basket.

Testing both sizing modes on a demo account this week

Run the same EA twice on demo accounts, once with the multiplier at 1.0 and once with the multiplier from the set file, using the same symbol, timeframe and period. Watch the equity line, not only the balance, and note the largest open volume and the lowest free margin in each run. The gap between the two runs is the part of your risk that comes from the sizing method alone.

A demo account does not reproduce live spreads or execution, so treat it as a check of the settings and the exposure arithmetic. Repeat the exercise with a smaller starting lot and a lower step cap if the open volume looks too large for your account.

If you want to read more fact sheets before choosing, every product in the shop is included in the membership, and each listing opens as a digital download after payment.

Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.

Tags: Risk Management, Grid and Martingale EAs, Lot Sizing

← All posts

Get every EA with membership

882 products · from $10.75/month

See plans

More in Grid and Martingale EAs

Grid EA Risk: How to Limit Drawdown When Running One – EABuild

Grid and Martingale EAs

Grid EA Risk: How to Limit Drawdown When Running One

Grid EA risk cannot be removed, but you can put limits around it. Follow five steps: cap open orders, check the lot step, set an equity stop, size the account and test on demo.

· 11 min read

Offer ends inhm$249 lifetime →