What the martingale strategy is
Martingale is a position-sizing rule. It does not tell you when to buy or sell. It only tells you how big the next trade should be. After a losing trade, you increase the size of the next trade, usually by doubling it. The aim is that a single winning trade covers all previous losses and leaves a small profit equal to the original target.
The idea comes from casino betting. In forex and CFD trading it appears in manual systems and especially in automated robots, called Expert Advisors (EAs) in MetaTrader.
Leveraged forex and CFD trading can lose money fast. Martingale does not reduce that risk. It concentrates it.
Typical rules of a martingale system
Most martingale setups share the same building blocks:
- Base lot: the size of the opening trade.
- Multiplier: how much each new trade grows after a loss. Classic martingale doubles. Softer versions use a smaller multiplier, which slows the growth but does not remove it.
- Step or grid distance: in grid martingale, a new, larger position opens each time price moves a set distance against the open trades.
- Basket take-profit: all open positions close together when their combined result reaches a small target.
- Maximum levels: a cap on how many times size can be increased. When the cap is hit, the system either stops adding or closes everything at a loss.
- Equity stop: an optional rule that closes all positions when floating loss reaches a set share of the account.
Grid martingale is closely related to grid trading and averaging down. All three add to a losing position.
Hypothetical example: how exposure grows
This example is hypothetical. It shows the mechanics only and makes no claim about results.
A trader opens a base lot on a currency pair with a small take-profit. Price moves against the trade by the grid distance. The rules open a second position at double the size. Price keeps moving against them. Another position opens at double the previous size, and so on.
| Stage | New position size | Total open exposure | What a small move back does |
|---|---|---|---|
| Opening trade | Base lot | Base lot | Closes at the small target |
| After a loss | Double the base | Base plus double | Recovers losses plus target |
| After more losses | Double the previous each time | The sum of every earlier lot plus the new one | Still only recovers losses plus the original small target |
The table shows the core problem. Position size grows geometrically, so risk grows much faster than the reward. The reward stays fixed at the small original target. The risk at the deepest level can be many times the whole account.
The math of ruin
A fixed edge does not change
Changing trade size does not change whether a trading method has an edge. If entries have no edge, martingale does not create one. Spread, commission and swap fees are paid on every position, and larger positions pay more. So the costs grow with the size of the bet.
Small frequent wins, rare large loss
A martingale system wins often. Most sequences end with a small profit. But the rare sequence that does not recover produces a loss large enough to cancel many earlier wins, often all of them.
Finite capital against an unbounded streak
The method only works if you can keep doubling until a win comes. Real accounts have limits:
- Margin: each larger position needs more margin. Margin is the deposit the broker holds to keep positions open. At some level, free margin runs out.
- Stop-out: when equity falls below the broker's required margin level, positions are closed automatically at the current price. This is usually how a martingale account blows.
- Maximum lot size and position limits: the next doubling may simply not be allowed.
A long losing streak is unlikely in any single sequence. Over hundreds of sequences, it becomes likely to happen at some point. One such streak is enough to wipe out the account.
Market losses are not independent
Casino spins are independent. Market moves are not. In a strong trend, price can move against a position for a long time without a meaningful pullback. Grid martingale against a trend keeps adding size exactly when the market is least likely to come back soon. Gaps over weekends or around news can skip several grid levels at once and trigger a stop-out at a worse price.
Simulator demonstration
500 random runs of the same rules. This is a model of arithmetic, not a forecast: real markets have costs, slippage and streaks the model ignores.
The simulator runs a Monte Carlo model of a fixed-risk strategy: each trade risks the same share of the account. It shows the spread of possible outcomes and the drawdowns along the way. It is a model, not a forecast.
Use it as a comparison point. With fixed risk, a long losing streak causes a deep but survivable drawdown in many runs. Martingale does the opposite. It keeps drawdowns hidden in most runs, then turns a long losing streak into a full loss. When you look at the worst runs in the simulator, remember that a martingale account would usually not survive those streaks at all. For the logic of sizing that grows only with profits, see anti-martingale.
Why martingale EA sellers show smooth curves
Martingale robots are often sold with a near-perfect rising line. Several things produce that picture:
- Balance curve, not equity curve: balance only changes when trades close. Floating losses on open grid positions do not appear. The equity curve, which includes open losses, can show deep dips that the balance line hides.
- Chosen test periods: a backtest over a calm or ranging period may never meet the trend that breaks the system.
- Survivorship: a seller may run many accounts and show only those that have not blown yet.
- Short live records: a live account can look stable for a long time simply because the losing streak has not arrived.
- Optimised settings: grid distance and multiplier can be tuned to fit past data, which says little about future price behaviour.
What to check before trusting any curve
- The equity curve and maximum floating drawdown, not only balance.
- The largest total lot size that was open at once.
- Results over strong trending periods and news events. See backtesting.
- How the system behaves near stop-out levels on a demo account during forward testing.
Regulatory note for readers in Pakistan
Robots are often promoted alongside offshore platforms. Per the SECP, offshore platforms have no Pakistani licence or oversight and offer no legal protection or recourse. Read law and regulators before opening any account.
Ready to try it on a real or demo account?
Partner link · trading carries a high risk of loss
How to think about it in a trading plan
If you test any rule that increases size after losses, write down in advance the maximum total exposure, the equity stop, and what happens when the cap is hit. Treat the result at that cap as a real, expected loss, not a remote event. General sizing principles are covered in risk management, and the emotional side of adding to losers is covered in trading psychology.
Frequent questions
Does the martingale strategy work in forex?
It produces frequent small wins, but it does not create an edge. Over a long enough period, a losing streak large enough to reach stop-out is likely, and that loss can cancel all earlier gains.
Why do martingale accounts blow up?
Position size grows geometrically after each loss. Margin runs out, the broker's stop-out closes positions at the current price, and the account takes a loss far larger than any single win.
Is a smaller multiplier safe?
No. A smaller multiplier slows the growth of exposure, but it still adds size to losing positions. The risk of a large loss remains. It only arrives later or in a different form.
Is grid trading the same as martingale?
Not always. A grid adds positions at set distances. When those positions also grow in size, it becomes grid martingale. Both add exposure against the move. See grid trading.
Can a stop-loss fix martingale?
A hard equity stop limits the loss to a chosen level. However, it also means some sequences end in a large planned loss, which removes the "always recover" idea the method is based on.
How can I test a martingale EA safely?
Test it only on a demo account. Check the equity curve and floating drawdown, and run it through trending and news periods. Results from past data or a demo are not a guarantee of future results.
