Home > EA List > How martingale EAs work

🇯🇵

This page is currently available in Japanese only. Parameter names, download links, and all tools work in English.

⚠️

Eight rules for a martingale EA — design it assuming ruin

💴 ~$700 recommended

The win rate is high. That is exactly why it is dangerous.

A martingale (grid) EA trades a high win rate for the rare loss of the whole account. A 90% win rate does not mean "one loss in ten" — it means the one loss takes back the profits and the deposit together. What follows is not how to win, but how to decide in advance where it dies.

📋Eight things to settle before you start

1

1. Fund it only with money you can lose

Treat this account as one that will eventually reach zero. Keep living costs and your core capital out of it — the moment they are in, you stop deciding clearly.

2

2. Cap the lot multiplier at 1.5x

The multiplier is a geometric series, so 2.0x lifts the required margin sharply. Surviving the same number of entries then costs an order of magnitude more, which makes the multiplier the dial that sets how far you can take it.

3

3. Put a ceiling on the number of entries

Unlimited averaging down is the same thing as never cutting a loss. Always enable a depth limit such as MaxNanpinCount and stop adding once it is reached.

4

4. Always add a margin-level emergency close

A broker stop-out fires at the broker's convenience and at a price you do not choose. Closing first at a level you set (200%, say) puts the size of the loss back in your hands.

5

5. Withdraw profits instead of letting them sit

Profit left in the account lets the EA justify bigger lots, so the open gain becomes fuel for the next blow-up. Take it out on a schedule and keep the balance flat.

6

6. One EA and one pair per account

Put two martingale EAs in one account and the drawdown of one eats the margin of the other, taking down positions that had nothing to do with it. Kept apart, the damage stops at one account.

7

7. Have a rule for switching it off

Martingale breaks in markets that keep running one way. EAs with a regime filter handle that internally; EAs without one need a written rule for stopping them by hand around major releases and shocks.

8

8. Write the restart condition before you need it

"Blew up, deposit more, carry on" is the most expensive decision available. Decide on paper — while you are calm — whether you restart, re-tune, or stop.

From opening the account to going live

  1. Decide the amount you can lose. Everything else follows from this.
  2. Open a dedicated account holding only that amount — never mixed with an existing one.
  3. Get a VPS. A reboot or a dropped line at home is fatal mid-sequence.
  4. Run it on demo for one to two weeks and watch it add and close as expected.
  5. Go live with InitialLot at the minimum (0.01). Do not scale up at the start.
  6. Re-check that the margin-level emergency close and the entry ceiling are actually enabled.
  7. Withdraw each time you are in profit and return the balance to its starting size.
  8. Record the deepest open loss once a month. If it is worse than you assumed, cut the lot.
The steps people skip — and regret — are 4 (demo) and 7 (withdraw). Skip 4 and a misconfiguration goes unnoticed; skip 7 and the account quietly grows.

The martingale EAs published on FXEA365

The five builds side by side

EAInstrumentLogicHow it endsRole
EURJPY KAMIKAZEEURJPYWeighted averageDepth limit + emergency closeFlagship
AUDUSD KAMIKAZEAUDUSDWeighted averageDepth limit + emergency closeFlagship
GOLD KAMIKAZEXAUUSDGridStop loss + margin stopConservative
GOLD HEDGE_RECOVERYXAUUSDHedge recoveryRealise loss → recover in reverseOwn logic
BITCOIN KAMIKAZEBTCUSDGridStop loss + margin stopExperimental (not ranked)

In numbers: why the multiplier is the whole story

The capital a martingale needs grows as a geometric series. With opening lot L and multiplier r over n entries, the total lot is L×(rⁿ−1)/(r−1) and the final entry alone is L×rⁿ⁻¹.

L=0.01 / r=1.5 / n=10 → total 1.13 lots (113x the opening lot), final entry 0.38 lots
L=0.01 / r=2.0 / n=8  → total 2.55 lots (255x the opening lot), final entry 1.28 lots

Moving the multiplier from 1.5 to 2.0 more than doubles the capital required even after cutting the entries from ten to eight. Raising it because you want to hold on a little longer is an operation that shortens how long you can hold on.

That is why rule 2 fixes the multiplier and rule 3 fixes the count. Once those two are set, the price range the account can survive is settled by arithmetic — not by a market view.

Read next

One last thing

A martingale EA is one of the few tools where a high win rate and safety do not coincide. The eight rules above are not a way to earn more; they are a way to decide the size of the loss yourself. Fund it only with money you can lose — if that one holds, the other seven are tuning. If it does not, perfecting the other seven changes nothing.

Useful Knowledge

Related Blog Articles

📧 Price-rise alerts + free 5-day email course

All EAs are at launch pricing and step up as copies sell. Get notified before each rise, plus a daily email on algo-trading essentials, reading backtests correctly, and choosing a broker.

* Privacy strictly protected. You can unsubscribe at any time.