Recovery Grid Fragmentation EA
- Утилиты
-
AL MOOSAWI ABDULLAH JAFFER BAQER
To trade successfully we need to go through the proven path that others had gone and reached!
Here are 17 quotes from such successful investors:
1- Limit your size in any position so that fear does not become the prevailing instinct guiding your judgment.
Joe Vidich - Версия: 4.40
- Обновлено: 4 декабря 2026
- Активации: 5
For traders managing complex positions, Recovery Grid Fragmentation EA v4.40 offers a robust recovery mechanism. It locks losing positions, works them off with a grid, and ensures a clean account balance through strategic fragmentations.
Recovery Grid Fragmentation EA v4.40 is a sophisticated recovery tool designed to manage and recover from losing positions in MetaTrader 5. It introduces margin timeframe safety with up to four customizable slots, enhancing account protection during volatile market conditions. The EA automatically starts recovery when the equity drawdown reaches a specified level or when manually initiated. It uses a grid mechanism to close profitable positions and fragment locked positions to ensure a balanced account.
Try a free Strategy Tester run in visual mode with default inputs on your own broker. This will give you a clear understanding of how the EA operates without any initial risk.
How it works
A cycle begins when the price moves the specified grid space. Each new level uses the lot multiplier and grid space multiplier. Once a desired profit is achieved, the EA fragments the locked positions into smaller lots until the account is clean. The EA enforces strict guards to prevent overtrading and ensures that only necessary operations are performed.
Safety you control
- The EA includes guards such as one order per bar, maximum spread, slippage, and order volume limits. It also checks free margin before each operation and uses a hedging cooldown to prevent excessive trading.
How to start
- Attach the EA with Auto-Hedge on Start, or manually start recovery when the equity drawdown reaches the specified level. Set the desired profit per closure and other parameters as needed.
Every setting explained
═══════════ GRID TRADING SETTINGS ═══════════
- Grid Space Points - Grid Space (points between levels) (default 200)
- Grid Space Multiplier - Grid Space Multiplier (1.0 = equal spacing) (default 1.0)
- Initial Lot Size - Initial Grid Lot Size (default 0.01)
- Lot Multiplier - Lot Multiplier for Grid Levels (default 1.25)
- Max Grid Levels - Maximum Grid Levels Allowed (default 1000)
- Up Direction Is Buy - Up Direction = Buy (false = Sell) (default true)
- Desired Profit Per Closure - Desired Profit Per EACH Closure ($) (default 2.0)
═══════════ RECOVERY START / STOP ═══════════
- Auto Start On Equity DD - Auto-Start Recovery at Equity Drawdown % (overrides Auto-Hedge on Start) (default false)
- Auto Start DDPercent - Equity Drawdown % that starts the recovery (default 20.0)
- Recover Only Magics - Recover Only These Magic Numbers (comma sep, empty = all, 0 = manual) (default )
- Remove SLTPWhen Locked - Remove SL/TP from Positions When Locking Them (default true)
- Delete Pending On Start - Delete Pending Orders of Recovered Positions on Start (default true)
- Close Other EACharts On Start - Close Charts of Other EAs on Start (stops the main EA) (default false)
- Other EANames To Stop - Only Stop EAs With These Names (comma sep, empty = all) (default )
- Push Notifications - Send Push Notification on Start / Complete (default false)
═══════════ HEDGE MANAGEMENT SETTINGS ═══════════
- Auto Hedge On Start - Auto-Hedge Account on Start (start recovery when attached) (default true)
- Verify Hedge After Ops - Verify & Re-Hedge After Every Operation (default true)
- Max Hedge Retries - Max Retries for Hedge Verification (default 3)
- Hedge Cooldown Enabled - Enable Hedging Cooldown (default false)
- Hedge Cooldown Seconds - Hedging Cooldown Period (seconds) (default 5)
- Hedge Magic Number - Magic Number for Hedge Orders (default 123456)
- Filter Out Symbols - Symbols to Exclude from Hedging (comma sep) (default )
═══════════ FRAGMENTATION SETTINGS ═══════════
- Fragment Lot Size - Fragmentation Lot Size (default 0.01)
- Enable Date Filter - Enable Date/Time Filter for Old Positions (default false)
- Cutoff Date Time - Only Fragment Before This Date (default D'2025.01.01 00:00')
- Enable Copy Trade Filter - Enable Copy Trade Recognition (skip copy trades) (default false)
- Copy Trade ID1 - Copy Trade Identifier 1 (1 char = comment prefix) (default 5P@)
- Copy Trade ID2 - Copy Trade Identifier 2 (1 char = comment prefix) (default C)
- Copy Trade ID3 - Copy Trade Identifier 3 (1 char = comment prefix) (default #)
═══════════ PROFIT MANAGEMENT SETTINGS ═══════════
- Use Actual Balance - Use Actual Account Balance (default true)
- Manual Balance - Manual Balance (if not using actual) (default 0.0)
- Profit Retain Percent - Percentage of Profit to Retain (%) (default 50.0)
- Use Closure Profit For Frag - Use Closure Profits for Fragmentation (default true)
═══════════ STOP LOSS SETTINGS ═══════════
- Enable Stop Loss In Dollar - Enable Stop Loss in $ (default false)
- Stop Loss Dollar Amount - Stop Loss Amount in $ (grid orders' floating loss) (default 100.0)
═══════════ PROTECTION SETTINGS ═══════════
- One Order Per Bar - One Opened Order per Bar Filtering (default true)
- Max Slippage Points - Maximum Slippage (points) (default 30)
- Max Spread Points - Maximum Spread (points) (default 7500)
- Max Order Volume - Maximum Volume of Single Order (default 1.0)
- Max Total Orders - Maximum Number of Grid Orders (default 1000)
- EAMagic Number - Magic Number for Grid Orders (default 9751421)
- Use Full Commission - Use Full Commission When Calculating (default true)
- Commission Per Lot - Commission per 1 Lot (0=no commission) (default 0.0)
═══════════ ORDER COMMENTS ═══════════
- Grid Order Comment - Comment for Grid Orders (default RG_Grid)
- Hedge Order Comment - Comment for Hedge Orders (default RG_Hedge)
- Close Order Comment - Comment for Close Orders (default RG_Close)
- Frag Order Comment - Comment for Fragmentation Closes (default RG_Frag)
═══════════ BALANCE TRACKING SETTINGS ═══════════
- Deposit Notify Count - Number of Deposit Notifications (default 3)
- Notify Cooldown Minutes - Notification Cooldown (minutes) (default 1440)
═══════════ DISPLAY SETTINGS ═══════════
- Panel Width - Panel Width (v4.30: panel sizes itself, kept for old set files) (default 520)
- Panel Height - Panel Height (v4.30: panel sizes itself, kept for old set files) (default 700)
- Panel Corner - Panel Corner (v4.30: always top left, drag with MOVE) (default 0)
- Panel X - Panel X Position (default 30)
- Panel Y - Panel Y Position (default 30)
- Panel Bg Color - Panel Background Color (default C'30,30,45')
- Panel Text Color - Panel Text Color (default clrWhite)
- Panel Font Size - Panel Font Size (default 9)
- Closure Line Color - Closure Line Color (default clrMagenta)
- Closure Line Width - Closure Line Width (default 2)
- Screenshot Dir - Screenshot Directory (default Recovery_Grid_Screenshots)
- Second Panel Distance - Distance Between Panels (default 20)
- Second Panel Width - Closures Panel Width (default 340)
- Max Closures To Show - Planned Closures Rows in the Panel (default 6)
- Max History Rows - Closure History Rows in the Panel (default 5)
- Hide Trade Marks On Chart - Hide Trade Arrows/Levels on This Chart (keeps panels readable) (default true)
═══════════ MARGIN LEVEL TF SAFETY ═══════════
- Use Margin TFSafety - Master switch: step the working TF up when margin level drops (default false)
- Slot1Enabled - Slot 1 on/off (default true)
- Slot1Margin Pct - Slot 1: margin level % at or below (default 6000.0)
- Slot1TF - Slot 1 working timeframe (default PERIOD_M15)
- Slot2Enabled - Slot 2 on/off (default true)
- Slot2Margin Pct - Slot 2: margin level % at or below (default 5000.0)
- Slot2TF - Slot 2 working timeframe (default PERIOD_H1)
- Slot3Enabled - Slot 3 on/off (default true)
- Slot3Margin Pct - Slot 3: margin level % at or below (default 3000.0)
- Slot3TF - Slot 3 working timeframe (default PERIOD_H4)
- Slot4Enabled - Slot 4 on/off (default true)
- Slot4Margin Pct - Slot 4: margin level % at or below (default 1500.0)
- Slot4TF - Slot 4 working timeframe (default PERIOD_D1)
- Margin TFHysteresis Pct - Recover this far above a slot level before stepping back (default 500.0)
- Notify On Margin TF - v4.40: Alert/Push when the working TF changes (default false)
═══════════ DEBUG SETTINGS ═══════════
- Debug Mode - Enable Debug Logging (default false)
- Update Interval Sec - Panel Update Interval (seconds) (default 3)
═══════════ STRATEGY TESTER ═══════════
- Open Test Order In Tester - Open Test Order in Strategy Tester (default true)
- Test Order Lot Size - Test Order / Tester Button Lot Size (default 0.10)
- Test Order Type - Test Order Direction (default ORDER_TYPE_BUY)
- Test Hedge After Points - Hedge Test Order After X Points Loss (0=at once) (default 500)
Honest expectations
While Recovery Grid Fragmentation EA v4.40 provides a comprehensive recovery mechanism, it is important to note that trading involves risks. We encourage you to test the EA thoroughly and leave an honest review based on your experience.
