Switching an EA Off Below Its Equity Curve Only Helps If Its Losses Come in Seasons
"Trade the equity curve" is one of the most repeated pieces of EA risk advice: keep a moving average of the EA's own equity curve, and stop taking its trades while the curve is below the average. It sounds like a free drawdown cut.
We tested it on two EAs with the same win rate, the same payoff and the same expectancy. On one, the filter cut median profit by 35% and barely touched drawdown. On the other, it cut the 95th-percentile drawdown by more than half and gave up no profit at all. The difference is not the strategy's edge. It is whether the EA's losses arrive at random or in seasons.
The model (illustrative)
- Each trade wins +1.5R or loses −1R. Risk is a fixed 1R per trade, so at 1% of starting balance per trade, 1R is 1% of that balance.
- 1,000 trades per path, 10,000 Monte Carlo paths.
- EA A, "random": every trade has a 45% chance of winning, independent of the last one. Expectancy +0.125R per trade.
- EA B, "seasonal": the EA flips between a good regime (55% win rate) and a bad one (35%), with a 2% chance of switching after any trade, so a regime lasts about 50 trades on average. Long-run win rate is still 45% and expectancy is still about +0.125R per trade.
- The filter: a 20-trade moving average of the EA's "shadow" equity curve (the curve it would have had with every trade taken). The next trade is taken only if the shadow curve is at or above that average. Skipped trades keep updating the shadow curve, so the filter can switch the EA back on.
The results
EA A (random losses)
| Median total | Median max DD | 95th pct max DD | P(max DD ≥ 15R) | |
|---|---|---|---|---|
| Always on | +125.0R | 20.0R | 34.5R | 88.5% |
| MA20 filter | +81.0R | 18.0R | 31.0R | 75.3% |
The filter skipped 35% of trades. The skipped trades averaged +0.125R, exactly the same as the taken ones, because on a random EA the equity curve's position tells you nothing about the next trade. So the filter is just a way of taking a third fewer trades: profit falls by 35%, while the 95th-percentile drawdown falls by only about 10%. Median profit per unit of 95th-percentile drawdown drops from 3.62 to 2.61. You would get a better trade-off by cutting the lot size.
EA B (losses in seasons)
| Median total | Median max DD | 95th pct max DD | P(max DD ≥ 15R) | |
|---|---|---|---|---|
| Always on | +125.0R | 34.5R | 67.5R | 99.2% |
| MA20 filter | +127.0R | 18.0R | 32.0R | 74.5% |
Same long-run expectancy, but two things change. First, the always-on drawdowns are far deeper (95th percentile 67.5R against 34.5R for EA A), because a bad season is a long run at a negative edge (35% × 1.5 − 65% × 1 = −0.125R per trade). Second, the filter now works: the trades it skipped averaged −0.008R and the ones it took averaged +0.205R. It kept the profit and cut the 95th-percentile drawdown by 53%. Profit per unit of tail drawdown goes from 1.85 to 3.97.
So the same rule is either a tax or a genuine risk tool, and the label on the EA doesn't tell you which.
The obvious test doesn't work
The natural check is: "are my losses clustered?" Measure the lag-1 autocorrelation of wins and losses (does a loss make the next trade more likely to lose?). In our seasonal model that statistic barely moves. Over 500 trades its median is +0.033, and it clears the usual significance line (2/√n) in only 11.1% of paths, against 2.0% for the random EA. Seasonal edges don't show up trade to trade; they show up over dozens of trades.
A test that does work: replay your own history through the filter
Take the EA's closed trades in order, run the MA20 rule over them, and compare the average result of the trades it would have taken with the trades it would have skipped.
Gap between taken and skipped average R, in our model (10th percentile / median / 90th percentile):
| Trades replayed | EA A (random) | EA B (seasonal) |
|---|---|---|
| 150 | −0.38 / −0.06 / +0.23 | −0.28 / +0.09 / +0.42 |
| 300 | −0.24 / −0.03 / +0.17 | −0.08 / +0.16 / +0.39 |
| 600 | −0.16 / −0.02 / +0.12 | +0.03 / +0.19 / +0.34 |
Read that carefully before you trust a good-looking replay. At 300 trades, a gap above +0.15R turned up in 12.5% of the random EA's paths purely by chance, and in 51.1% of the seasonal EA's paths. At 150 trades the two overlap heavily. We'd want several hundred trades, a gap that holds up in each half of the history, and an MA length fixed in advance. If you try ten MA lengths and keep the best, you are back to the selection problem from our post on picking the best of 200 optimisation passes.
Two implications most people miss
- A seasonal EA needs more capital than its average says. EA B has the same win rate and expectancy as EA A, but its 95th-percentile drawdown is nearly twice as deep. Any drawdown estimate that reshuffles trades independently (a standard trade-order bootstrap) treats EA B like EA A and will understate its tail.
- The filter is a capital decision as well as a timing decision. On EA B, the filter took the 95th-percentile drawdown from 67.5R to 32.0R. Sizing off the unfiltered tail would mean running it at about half the risk per trade for the same protection.
When you estimate an EA's capital, VRD Quant gives a bootstrap p95 drawdown and a suggested capital figure per EA from its closed trades. It resamples trades independently, so on an EA whose results come in seasons treat that figure as a floor and confirm it with the replay test above.
What to do today
- Export the EA's closed trades in order and convert each to R (profit ÷ the amount risked).
- Replay the MA20 rule and compare the average R of trades it would have taken with the ones it would have skipped.
- Gap near zero: the EA looks random. Don't filter; if drawdown is too deep, cut the lot size.
- A clear positive gap that holds in both halves of a few hundred trades: the EA looks seasonal. Size its capital off a deeper tail, and consider the filter, with the MA length fixed in advance.
Tools mentioned
VRD Insight (free): one row per EA by magic number, with its drawdown from the balance peak and whether it has gone quiet, so you can see which EA is in a bad stretch.
https://www.mql5.com/en/market/product/204799
VRD Quant: try the free demo in the Strategy Tester to see p95 drawdown and suggested capital per EA on labelled sample data, then run it on your own history.
https://www.mql5.com/en/market/product/204796
Virtual Risk Desk
Educational content, not investment advice. All figures come from an illustrative Monte Carlo model (two hypothetical EAs, 10,000 paths of 1,000 trades each) and are not results of any real account or product. Past and simulated results do not guarantee future results.


