Grid and Zone Recovery EA RecoveryPilot
- Experts
-
Pitt Petruschke
Algo trader and EA developer from Germany. Founder of AlgoVerdict (algoverdict.com) – independent tests of Expert Advisors, brokers and signal platforms based on live accounts. - Version: 1.21
- Updated: 12 October 2026
- Activations: 10
Recovery EA for MetaTrader 5 - Partial Recovery, Grid and Zone. RecoveryPilot works a losing position back instead of hoping for a reversal. Its main mode, Partial Recovery, locks the losing trade, splits it into small parts and pays the loss off part by part with small trend-following recovery orders. The auto profile sets step, lot and order count for each symbol. Grid averaging and zone recovery are included as alternative methods. Before a cycle starts, the EA calculates what it can lose; if that number does not fit your account, the cycle does not start.
PARTIAL RECOVERY (MAIN MODE)
- Lock: when a trade is one step in loss, an opposite position of the same volume freezes the loss. Only swap keeps running.
- Split: the losing volume is divided into parts (up to 8, rounded to the lot step).
- Recovery orders: small orders in the direction of the trend (EMA 20/50), lot = part x 1.5, no martingale by default, step = daily ATR / 3, at most one per candle, each with its own broker stop.
- Pay-off: as soon as the profit of the recovery orders covers one part of the frozen loss plus costs, the EA closes that part of the losing position and the same part of the lock first, then the recovery orders. Step by step the frozen loss gets smaller.
- Recovery stop: if the recovery orders lose more than a set share of the balance (default 5 %), they are closed and no new ones are opened. The lock stays in place, so the frozen loss does not grow.
- Works with your manual trades (Manager mode) or with the built-in entries (Standalone).
AUTO PROFILE AND SYMBOL CHECK (NEW IN 1.2)
Which step and lot size fit gold, an index or a minor pair? You do not have to work it out. The auto profile reads the symbol and your account and sets the partial-recovery parameters for every cycle:
- Step from the daily range (ATR(D1) / 3). If the spread is high, the step gets wider, so costs stay below 5 % of a step.
- Parts: up to 8, each at least the broker's minimum lot.
- Recovery lot: part x 1.5, or part x 1.0 when the recovery budget is small.
- Maximum recovery orders: as many as their broker stops can lose within the recovery budget (default 5 % of balance) and within half of the free margin.
The symbol check rates every symbol GOOD, OK, CAUTION or NOT SUITABLE - from the spread compared with the step, the swap you pay for holding the lock (buy and sell at the same time) and the margin. The rating is shown on the panel; optionally the EA checks all symbols in Market Watch and prints a table to the Journal. So you see before the first trade where partial recovery works and where it would only pay costs.
IMPORTANT - WHAT THIS IS
A recovery system does not turn a losing trade into a sure win. Partial recovery needs time and free margin, and a strong trend against the recovery orders costs money. RecoveryPilot makes that risk visible and limits it: the worst case of every cycle is printed to the Journal and shown on the panel before you are exposed to it.
ALTERNATIVE METHODS
Grid averaging
- Adds positions in the losing direction at a step that grows with each level.
- The lot multiplier starts from a configurable level.
- The basket target is calculated from the average price including swap and commission, so a "break-even" close is really break-even.
- Optional "nibbler": when the best position is in profit, it pays for a partial close of the worst position. The basket volume shrinks without realizing a net loss.
- Optional confirmation: a new level only opens after a candle closes in the basket direction.
Zone recovery
- Alternating buy and sell positions inside a fixed zone.
- Each new lot is solved exactly from the current basket, so the whole basket reaches the target at the next take-profit level - no fixed multiplier table.
- Lots are rounded up, never down, so the target is not missed by rounding.
TWO WAYS TO USE IT
- Standalone: own entries (RSI reversal, Bollinger re-entry, EMA trend pullback or the BUY/SELL buttons). Recovery takes over if the first trade goes wrong.
- Manager: takes over your manual trades (or a chosen magic number) once they are a set number of points or a set amount in loss.
RISK CONTROLS
- Pre-trade simulation: plan loss must stay below a percentage of balance.
- Auto-fit: on smaller accounts the number of levels is reduced until the plan fits, instead of trading a plan the account cannot carry.
- Hard limits: maximum levels, maximum lot per position, maximum total lot, broker volume limit, margin level after the order (OrderCheck).
- At the limit the basket is closed at the known plan loss (or held for break-even, if you prefer).
- Basket stop in percent of balance or as a fixed amount.
- Account equity brake from the equity high, with lock until manual release. Deposits and withdrawals are taken into account.
- Broker-side stop loss and take profit on every position as a fallback if the terminal or VPS goes offline.
- State is kept in terminal global variables; a restart continues the cycle.
PANEL
In Partial Recovery the panel shows the frozen loss, the parts already paid off, the open recovery orders, their result and the auto-profile rating. In grid and zone mode it shows the basket result as the main figure, the target, break-even price, level progress, next level, the maximum loss of the running cycle, the equity drawdown and today's result. Chart lines mark break-even, target, next level and the plan stop. Buttons: BUY, SELL, PAUSE/START, CLOSE (double click).
REQUIREMENTS
- MetaTrader 5, hedging account.
- Works on any symbol; the default step is based on ATR, so it adapts to forex, metals and indices.
- One basket per chart. Use different magic numbers for several charts.
RECOMMENDATIONS
- Start on a demo account and read the level plan in the Journal.
- Gold and indices need noticeably more capital than major forex pairs for the same lot; the pre-trade check will tell you.
- Enter your broker's round-turn commission per lot for exact basket math.
The Strategy Tester version runs with the default settings. Past results in the tester do not guarantee future results.
INPUT PARAMETERS
Operating Mode
- Operating mode [default: Standalone (own entries)]
- Recovery method [default: Partial recovery (lock, split, pay off part by part)]
- Magic number (unique per chart!) [default: 260929]
- Order comment prefix [default: RP]
Entry (Standalone)
- Entry signal [default: RSI reversal from extreme zone]
- Allowed direction [default: Long and short]
- Signal timeframe [default: H1]
- RSI period [default: 14]
- RSI oversold (long after crossing back above) [default: 30.0]
- RSI overbought (short after crossing back below) [default: 70.0]
- Bollinger period [default: 20]
- Bollinger deviation [default: 2.0]
- Fast EMA [default: 50]
- Slow EMA (trend filter) [default: 200]
- Pause after cycle end (minutes) [default: 30]
Adoption (Manager)
- Magic to adopt (0 = manual trades, -1 = all external) [default: 0]
- Adopt from loss (points, 0 = off) [default: 300]
- Adopt from loss (money, 0 = off) [default: 0.0]
- Recovery base lot = volume x factor [default: 1.0]
- Replace SL/TP of adopted trades with basket stops [default: true]
Lot Size
- Start lot mode [default: Fixed start lot]
- Start lot (fixed) [default: 0.01]
- Start lot per 1,000 balance [default: 0.01]
- Max. lot per position [default: 0.50]
- Max. total lots in basket (0 = off) [default: 1.00]
Step (Grid Step / Zone Width)
- Step mode [default: ATR multiple]
- Step in points [default: 300]
- Step = ATR x factor [default: 2.0]
- ATR timeframe [default: H1]
- ATR period [default: 14]
- Minimum step = spread x factor (0 = off) [default: 10.0]
Grid Averaging
- Lot multiplier per level [default: 1.40]
- Multiplier applies from level [default: 3]
- Step grows per level by factor [default: 1.20]
- Max. positions in basket (incl. 1st trade) [default: 6]
- Confirmation for new level [default: Last candle turns in basket direction]
- Confirmation timeframe [default: M15]
- No new level if ADX above (0 = off) [default: 0.0]
- ADX timeframe [default: H1]
- Minimum time between actions (seconds) [default: 60]
Nibbler (Grid Only)
- Best trade funds a partial close of the worst [default: true]
- Active from level [default: 4]
- Min. net profit per nibble (money) [default: 0.0]
Zone Recovery
- TP distance = zone width x factor [default: 2.0]
- Re-anchor zone on gap > zone x factor [default: 0.5]
Partial Recovery (Main Mode)
- Auto profile: step, parts, recovery lot and max. orders per symbol [default: true]
- Symbol check for all Market Watch symbols at start (Journal) [default: false]
- Several losing positions: which one is paid off first [default: Largest loss per lot first]
- Lock the losing position (freeze the loss) [default: true]
Partial Recovery: Parts, Lot and Step
- Split the losing volume into parts (manual, auto profile off) [default: 8]
- Recovery order lot = part x factor (manual) [default: 1.5]
- Next recovery order lot x factor (1.0 = no martingale) [default: 1.0]
- Recovery step = ATR(D1) / divisor (manual) [default: 3.0]
- Max. open recovery orders (manual) [default: 5]
Partial Recovery: Trend, Profit and Stops
- Recovery orders only in trend direction (EMA 20/50) [default: true]
- Trend timeframe [default: H1]
- Extra net profit per closed part (money) [default: 0.0]
- Recovery stop with lock: max. loss after freezing, % of balance (0 = off) [default: 5.0]
- Broker stop of each recovery order in steps (0 = off) [default: 3]
Profit Target
- Target mode [default: Fraction of 1st step x start lot (symbol-neutral)]
- Fraction of 1st step [default: 0.5]
- Target in money [default: 5.0]
- Target in % of balance [default: 0.5]
- Target in points x start lot [default: 150]
- Reduce target from level (0 = off) [default: 5]
- Reduced target = target x factor [default: 0.5]
- Basket trailing: giveback from peak in % (0 = off) [default: 0.0]
- Commission per lot, round turn (0 = learn from history) [default: 0.0]
Limits & Emergency Brakes
- Action when a limit is reached [default: Close basket (known maximum loss)]
- Target in break-even mode (money) [default: 0.0]
- Auto-fit: reduce levels until the plan fits the account [default: true]
- Reject cycle if plan loss > % of balance (0 = off) [default: 20.0]
- Close basket at loss in % of balance (0 = off) [default: 20.0]
- Close basket at loss in money (0 = off) [default: 0.0]
- Emergency brake: equity drawdown from peak % (0 = off) [default: 30.0]
- No new level below margin level % (0 = off) [default: 300.0]
- Lock after basket stop/limit (minutes, 0 = until manual) [default: 240]
Filters (New Cycles Only)
- Max. spread in points (0 = off) [default: 0]
- Trading start (server time, hour) [default: 0]
- Trading end (server time, hour) [default: 24]
- Friday: no new cycles from hour, server time (0 = off) [default: 18]
- Friday: close basket from hour, server time (0 = off) [default: 0]
- Daily target reached, no new cycles (money, 0 = off) [default: 0.0]
- Daily loss reached, no new cycles (money, 0 = off) [default: 0.0]
Display
- Show dashboard [default: true]
- Show lines (BE, TP, next level, zone) [default: true]
- Dashboard X [default: 12]
- Dashboard Y [default: 28]
- Print level plan to the journal at start [default: true]
Notifications
- Terminal popup (important only) [default: false]
- Push to the MetaTrader app (important only) [default: true]

