What Is a Recovery EA? How Loss-Recovery Logic Works
EABuild Team · · 9 min read

On this page
- What a recovery EA does after a trade goes against it
- Recovery zones and position scaling in plain terms
- How a recovery sequence plays out: a hypothetical walk-through
- Where recovery logic fails
- Settings that shape how far a recovery sequence can go
- Two listings in this shop that list grid and hedging strategies
- Testing on a demo account before it touches live money
- Who a recovery EA suits, and when a single-trade EA fits better
A recovery EA is an expert advisor whose logic reacts to a losing position by adding more trades, with the aim of closing the whole group at a small net gain or at break-even. The idea sounds tidy, but it changes the risk of an account in ways that are easy to miss. This post explains how recovery logic is built, what recovery zones and position scaling mean, where the method breaks down, and what to check before you run one.
What a recovery EA does after a trade goes against it
Most expert advisors treat a losing trade as a closed event: the stop-loss is hit, the loss is booked, and the next signal starts fresh. A recovery EA treats the losing trade as the start of a sequence. Instead of accepting the loss, it opens further orders so that the combined position can be closed in profit if price turns back.
Two details matter here. First, the original loss is usually still open, not realised. It shows up in your floating equity, but the balance does not drop until the positions close. Second, the extra orders are not free. Each one adds exposure, so the account carries more risk at the moment price is already moving against it.
The word "recovery" describes the intention, not an outcome. Nothing in the logic can force price to come back, so a sequence that was meant to recover a loss can end with a larger one.
Recovery zones and position scaling in plain terms
Recovery zones
A recovery zone is a price band, or a set distance from the first entry, where the EA is allowed to add orders. When price moves outside the first trade's comfort range and enters the zone, the EA starts its recovery routine. Some EAs use a fixed distance in points, others tie the distance to volatility. The exact rule differs from one EA to the next, which is why you read the inputs rather than rely on the name.
Position scaling
Position scaling means the size of each added order is set relative to the earlier ones. There are two common patterns.
- Equal lots at set steps. This is the grid pattern: a grid strategy opens extra orders at set price steps, each with the same or a similar lot size.
- Growing lots. This is the martingale pattern: martingale means increasing the lot size after a losing trade. The larger the later orders, the closer the basket's break-even price sits to the current market, so a smaller bounce is needed to exit.
That last point is why the method looks attractive. It is also the reason drawdown (the drop from an account's peak balance) can rise quickly: lot sizes and the number of open orders grow while the market keeps moving in one direction.
Hedging as a recovery tool
Some of these EAs use hedging instead of, or together with, averaging. Hedging means holding buy and sell positions on the same symbol at the same time. The opposite position can freeze the floating loss at its current size while the EA waits for a better moment to unwind the pair. Whether you can hold both directions depends on your broker and account type, so confirm that before testing.
How a recovery sequence plays out: a hypothetical walk-through
The numbers below are invented to show the shape of the method. They are not from any product and are not a forecast.
- The EA opens a buy position at a chosen lot size. Price falls.
- When price reaches the first step or enters the recovery zone, the EA opens a second buy, possibly with a larger lot size.
- Price falls again. A third order opens, then a fourth. The combined average entry price moves toward the market.
- If price rebounds to a level just above that average, the EA closes the whole basket, and the earlier floating losses vanish into a small net result.
- If price keeps falling, the basket grows and the floating loss grows faster than the number of orders, because each new order is exposed to the same move.
Steps 4 and 5 are the two branches of the same strategy. In a ranging market, branch 4 can occur many times in a row, which is why a test on calm data can look smooth. A strong one-directional move produces branch 5, and one such sequence can be larger than many earlier gains put together.
Where recovery logic fails
The weakness is not a bug in a specific EA. It follows from the arithmetic of adding to a losing position.
- Exposure grows when the account is weakest. The more orders you hold, the more the account depends on a reversal arriving in time.
- Margin is finite. Each order uses margin. If the basket grows past what the account can hold, the broker closes positions automatically at a stop-out level, locking in the whole loss.
- Floating loss can hide inside a healthy-looking balance. Equity can drop sharply while the balance has not changed. Judge an account by equity and drawdown, not by closed trades alone.
- Fast markets widen gaps. News releases and thin sessions can skip over the steps the EA planned for, so orders open at worse prices than the settings suggest.
- Limits can be breached. If you trade under a daily or overall drawdown limit, a large floating loss can break it even if the basket would have recovered later. The post on the daily drawdown limit covers how those limits are measured.
For a closer look at how grid and martingale differ, and where each one concentrates risk, read grid vs martingale EAs compared.
Settings that shape how far a recovery sequence can go
Whatever EA you use, a handful of inputs decide how far a recovery sequence can go. Look for them in the inputs window and in any set file (a saved list of input settings you load in MetaTrader).
- Starting lot size. It sets the scale of everything that follows.
- Step distance. Smaller steps mean more orders in the same price move.
- Lot multiplier. A value above 1 means each added order is larger than the last.
- Maximum number of orders. A cap prevents an endless sequence, but it also decides at which point the EA stops adding and the loss stands.
- Equity or drawdown stop. Some EAs close everything when the loss reaches a set level. If an EA has no such setting, that is a fact worth knowing before you attach it.
- Allowed symbols and timeframes. Use the ones the listing states.
Do not assume a default value is right for your account. Open each input, work out what the worst case looks like with your balance, and only then trade.
Two listings in this shop that list grid and hedging strategies
The listings for these two products state grid and hedging (and martingale for Happy Gold). The facts below come from those listings.
Forex Recovery Bot for MT4
Forex Recovery Bot for MT4 is an expert advisor for MetaTrader 4, version 2.3. The listing gives its strategy as grid and hedging, marks grid/martingale as yes, and names XAUUSD and EURUSD on the M15 timeframe. The minimum deposit listed is $1,000. The download has one compiled EA file and three set files, and the EA requires a DLL, so you allow DLL imports in the MT4 options. Each set file is a starting configuration, not a recommendation of results.
Happy Gold EA for MT4
Happy Gold EA for MT4 is an expert advisor for MetaTrader 4, version 2.0, designed for XAUUSD. The listing names grid, martingale and hedging, with the M15 and M30 timeframes and a recommended minimum deposit of $500. It lists a minimum platform build of 1471. The package is a single compiled EA file with no set files, so you set the inputs yourself. No DLL is needed.
The two are not the same product. One ships with set files and a DLL, the other ships with none of either, and they differ in symbols and timeframes. Read both listings in full and compare them with your own account and broker.
Testing on a demo account before it touches live money
A demo account (a practice account that uses virtual funds) is the place to see what an averaging sequence does under your broker's real quotes and spreads. The article on demo vs live account EA testing explains what a demo can and cannot show, including slippage and execution differences.
A short routine for this kind of EA:
- Load the EA on the listed symbol and timeframe, with one set file or your own inputs.
- Record the settings you chose, so a later change can be compared with an earlier run.
- Watch equity, not just balance. Note the largest floating loss and how many orders were open at that moment.
- Include a period with a strong one-directional move. A run that covers only ranging days says little about the failure branch.
- Check that your account type allows the hedged positions the EA opens.
- Compare the worst floating loss with the amount you can afford to lose, and stop if the gap is wider than you accept.
Only after a demo run that you understand should you consider a live account, and then with the smallest lot size the EA allows.
Who a recovery EA suits, and when a single-trade EA fits better
A recovery EA suits a trader who understands that one adverse move can produce a loss larger than many earlier gains, who can read the inputs, and who has a plan for the worst case. It does not suit someone who wants a fixed stop on every trade. For that profile, a single-trade EA with a set stop-loss is a closer fit.
If you want to browse, the gold EA guide lists the strategy types used on XAUUSD, and every product in the shop, including the two above, is included in the membership.
Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.
Tags: Gold EAs, Expert Advisors, Grid Trading


