Martingale

also: martingale sizing, doubling strategy, recovery multiplier

A position-sizing rule that multiplies the lot after each loss, usually by two, so that one win repays the whole losing run plus the original target. In an MT5 EA it shows up as a lot-multiplier input and as volume that rises after losing deals.

Martingale — MT5 glossary overview

At a glance

Term type
Strategy
Difficulty
Intermediate
Used in
EA evaluation · Backtesting · Risk management

In plain English

Lose, then trade twice as big; lose again, twice as big again. The next win pays for everything before it. It works every time until the losing run is longer than the account can fund, and then it takes the account.

Why it matters

Martingale is sold on the numbers it flatters: long stretches of small, regular gains and one loss the size of everything. That shape looks best in a short record and worst in a long one.

  • It turns a rare event into a certain one. At even odds a trade starts ten straight losses about once in 1,024 tries, and a long record holds thousands of tries.
  • It flatters the rows a buyer reads first: win rate, curve smoothness and profit factor all look best just before the failure.
  • It is easy to hide in a description and hard to hide in a tester report.

How the strategy works

  1. 1Open at a base lot. After a losing close, open the next position at a multiple of that lot, conventionally two.
  2. 2After k losses in a row the next entry is 2^k times the base lot, and the run has already cost 2^k − 1 base losses.
  3. 3A win that pays what a loss costs repays the run plus the target and resets the size. This only holds with unlimited capital.

Market conditions that suit it

  • Ranges where price keeps returning to the same levels, so runs end quickly and the method looks sound.
  • No condition can be relied on in advance.

Main advantages

  • A very high share of winning cycles and a smooth curve until a run outlasts the account.
  • It needs no forecasting skill, only an exit and a multiplier.

Main risks

  • Required size grows geometrically: ten losses in a row make the next entry 1,024 times the base lot.
  • The broker ends the run, not the strategy: margin stop-out or the symbol's maximal volume stops the ladder before the win arrives.

Typical EA behaviour

  • Lot size rises after losing deals and resets after a win.
  • Where losing legs stay open while the ladder adds to them, equity drawdown runs far ahead of balance drawdown.
  • The largest loss is many times the average loss, because the last leg of a deep run is the biggest position the EA opens.

How to spot it in an EA

  • An input named multiplier, lot multiplier, martingale factor or recovery factor with a default above 1.0.
  • A maximum trades or maximum levels input, which exists because the ladder would otherwise have no end.
  • No stop-loss input, or a stop-loss that defaults to zero.

Example

A $5,000 account, 0.01 lot on EUR/USD doubled after every loss, with a 20-pip stop worth $2 at the base lot.

Losses 1–5
0.01 → 0.16 lots
$62 lost in total.
Loss 8
1.28 lots
$510 lost in total.
Loss 11
10.24 lots
This loss alone is $2,048.
Trade 12
20.48 lots
Its stop would cost $4,096.

At even odds, any trade has a 1 in 2,048 chance of opening eleven straight losses: rare per trade, routine across a long record.

Calculation 0.01 × 2^11 = 20.48 lots · (2^11 − 1) × $2 = $4,094 lost before trade 12

Result Eleven ordinary losses leave $906, and the recovery trade's stop costs $4,096

How it is used

Use the term as a filter: read the inputs and the sizing rows of the tester report before the win rate.

Range What it means
One lot size, equity drawdown within about 1.3× balance drawdown Fixed-lot sizing; all 18 current listings here sit inside this band.
Multiplier above 1.0 with a level cap Base lot × multiplier^cap is the position to fund.
Volume rising after losing deals Martingale, whatever the description says.
Multiplier with no stop and no cap The loss is bounded only by the account.
  • Treat the longest losing run as the headline figure: base lot × 2^run is the size a doubling ladder must reach.
  • Discount short records; whether the fatal run appears depends on how many trades were sampled.

All 18 EAs in the current catalogue declare a fixed lot and no recovery method, and each publishes its trade ledger.

Common mistakes

Reading the win rate as the risk

A martingale cycle is defined to end on a win, so nearly every cycle wins. The win rate hides what the failed cycle costs: the account.

Believing a level cap makes it safe

A cap turns an unbounded loss into a large, known one. With doubling and a ten-level cap, the capped run loses 1,023 base losses; size the account for that.

Taking a soft multiplier as a different strategy

A 1.3 multiplier survives longer runs, but after ten losses its win repays the run only when it earns about three times what a same-size loss costs.

In depth

How martingale shows up in an MT5 report

Martingale is a sizing rule, so the evidence sits in the rows about size and open risk, not in the win rate. Every EA currently listed here trades one fixed lot, so their ledgers show those rows when size never changes.

MT5 report row18 current fixed-lot ledgersWhat a doubling ladder does
Volume column of the Deals tableOne lot size per ledger over 5,966 closesRises after every loss, resets after a win
Equity Drawdown Maximal ÷ Balance Drawdown Maximal1.03–1.30 across all 18Held legs sink equity while balance counts closes only
Largest loss trade ÷ Average loss trade1.28–6.65, median 1.94The ninth loss in a row is 256 times the first
Maximum consecutive losses2 to 13, median 5.5; 10 or more on 3 of 18After 10 losses the next entry is 1,024 times base

Two ledgers top their bands without any ladder. Matins reaches 6.65 from one GBP/JPY buy on 2020-03-19 that lost 151.9 pips at 0.1 lot. Halyard reaches 1.30 because it has no stop and can hold a buy and a sell at once. The Deals table settles any outlier.

Where to check it in MT5 before funding

  1. In the Strategy Tester’s Inputs tab, look for a multiplier above 1.0, a maximum-levels cap and a stop-loss that defaults to zero.
  2. Run the test and compare the drawdown and loss rows with the bands above.
  3. In the Deals table, read the Volume column on the deal after each loss.
  4. In the symbol’s Specification, check Maximal volume: a doubling ladder from 0.01 lots needs 10.24 lots after ten losses.

Martingale shares its add-to-a-loser mechanics with grid trading; the difference is whether the added position is larger. The consecutive-loss row is the worst losing streak, and a ladder that runs out of margin ends in a margin call. The martingale strategy page replays a doubling ladder over published trades to show where it breaks.

Frequently asked questions

Does martingale actually work?
Only with unlimited capital. The size it needs grows geometrically while the balance does not, so it works until a losing run outlasts the balance.
How do I tell whether an EA is a martingale EA?
Check the Inputs tab for a lot multiplier above 1.0, usually beside a maximum-levels cap and a zero stop-loss. Then run the Strategy Tester: in the Deals table, volume that rises after a losing deal and resets after a win settles it.
Is a soft martingale with a 1.3 multiplier safer?
It fails later, not differently. After ten losses a 1.3 ladder has lost about 42.6 base losses and its next entry is about 13.8 times base, against 1,023 and 1,024 for doubling. But that entry repays the run only if a win earns about 3.1 times what a same-size loss costs, where doubling needs about 1.0.
Do any EAs on AIStrategyMiner use martingale?
No. All 18 current listings declare fixed-lot sizing and no recovery method. Across the 5,966 closes in their published ledgers, no EA uses more than one lot size.