Martingale
The Martingale money manager changes the lot size after orders with a negative result: each loss moves one step further in the lot size sequence, up to a maximum number of steps. It needs a Pro subscription.
How it works
Section titled “How it works”- The first order gets the first part of the Lot size sequence.
- After a loss (as defined by Number of orders taken into consideration and Percentage lost), the next order takes the next step of the sequence.
- After Max steps after losses, the lot size no longer changes, or starts again from the first part with Reset martingale after max steps.


When does the next step come?
Section titled “When does the next step come?”Two settings decide when a loss moves the sequence one step:
- Number of orders taken into consideration: how many of the most recent orders are evaluated. With 1, only the last order.
- Percentage lost: the percentage of those orders that must have been a loss.
| Number of orders | Percentage lost | Next step when |
|---|---|---|
| 1 | 100% | The last order was a loss |
| 2 | 100% | Both of the last two orders were a loss |
| 2 | 50% | One or both of the last two orders were a loss |
Settings
Section titled “Settings”- Lot size sequence: the lot size after each loss. Start with a lot size (
0.01) or a percentage of your equity (1%), then add steps with +, −, × or ÷. Example:0.01, ×2gives 0.01, then 0.02, then 0.04 lot. See The lot size sequence. - Number of orders taken into consideration: see When does the next step come?.
- Percentage lost: see When does the next step come?.
- Max steps after losses: after this number of steps (losing orders), the sequence no longer changes the lot size: the next order may get the same lot size as the previous one.
- Reset martingale after max steps: start again from the first part of the sequence after the max steps.
- Include open orders: also count open orders, not only closed orders.
- Split sequence for buy and sell orders: buy and sell orders each follow the sequence on their own.
- Use real (rounded) lot size for next orders: calculate the next lot size from the real lot size of the newest open order, instead of the calculated lot size. Examples: Manual sequence.
Related
Section titled “Related”- Manual sequence: a sequence for every next order
- Maximum loss: no new orders after a loss limit
- How to analyse a backtest: check the drawdown
MetaTrader is a registered trademark of MetaQuotes Ltd. EA Builder Pro is not affiliated with MetaQuotes.