Evaluating Nanpin/Martingale EA Risk — How to Handle Blow-Up EAs Responsibly
Last updated: 2026-05-20 | Estimated reading time: 18 min
Nanpin/martingale EAs may appear to work well over a long period, but they are inherently designed to eventually blow up an account in a large drawdown. If you choose to use one, you need to realistically estimate when and with what probability a blow-up will occur, and structure your operation so that a blow-up won't put you in a difficult position.
Table of Contents
How Nanpin/Martingale Works
Nanpin means adding to a position in the same direction when the market moves against you, bringing down your average entry price. Martingale takes this further by doubling the lot size with each additional entry.
If the market recovers even slightly, you can close all positions at a profit once the average entry price is exceeded. In ranging markets this produces a high win rate, making the EA look almost unbeatable at first glance.
Why a Blow-Up Is Inevitable
A nanpin EA blows up when the market moves in one direction without reversing. Every time the market continues against your position, you add more lots and your unrealized loss grows at an accelerating pace.
With a martingale that doubles lot size on each addition, after just 10 nanpin entries the last lot is 512 times the size of the first. Because margin is finite, the margin level will eventually be exhausted and a forced stop-out will occur.
Trending markets and sudden spikes will come sooner or later. A nanpin EA blow-up is therefore not a question of "if" — it's a question of "when." Understanding this is the starting point for handling nanpin EAs.
Why You Shouldn't Evaluate by PF or Win Rate
Nanpin EAs often show win rates above 95% and impressive PF numbers. But these metrics are simply a snapshot of performance up until the blow-up — nothing more.
Because a single blow-up wipes out all profits and principal, the cumulative PF including the blow-up is almost always well below 1.0. A strong-looking backtest result means only that the test period happened to not include a blow-up.
The Right Evaluation Framework — Survival Rate and Cumulative Withdrawals
Nanpin EAs should be evaluated not by PF or win rate, but by metrics like these:
Survival Rate
The probability that the account is still alive (not blown up) after a given period (e.g., 1 year). Estimated by running a Monte Carlo simulation with many trials.
Cumulative Withdrawal Amount
The total amount withdrawn from the account before the blow-up. If this exceeds the initial deposit, you end up net positive even after the blow-up.
Net Profit Achievement Rate
The percentage of trials where (cumulative withdrawals − initial deposit) is positive. Evaluated alongside the survival rate to judge expected value.
Expected Survival Period
The average operating period before a blow-up. Back-calculated from your deposit amount and expected daily withdrawal.
Operating Rules for Blow-Up EAs
If you're going to use a nanpin EA, follow these rules without exception:
Only use money you can afford to lose
Keep this completely separate from living expenses and other EA capital. Limit it to 5% or less of your total portfolio. A blow-up is assumed — operate with a budget you're prepared to lose.
Withdraw profits frequently — ideally daily
Leaving profits in the account means losing them in the blow-up. Withdraw on a regular schedule and keep only the minimum required for operation in the account.
Always set an emergency stop-out threshold
Enable UseMarginEmergencyClose and pre-define the margin level at which you will cut your own losses — before the margin is completely exhausted.
Don't chase losses; walk away when it blows up
Don't add more funds to "win back" losses after a blow-up. Evaluate performance on a single-cycle basis (cumulative withdrawals − initial deposit) and end cleanly.
🛡️ Learn About Standard EAs With Stop-Losses
Standard EAs with stop-losses are better suited for long-term wealth building. FXEA distributes verifiable EAs with transparent strategies.
Browse EA List →