Phonix Recovery EA
- Experts
- Versione: 4.22
- Aggiornato: 11 luglio 2026
- Attivazioni: 5
Phonix Recovery EA — v4.22
A hedge-recovery expert advisor for gold. Instead of cutting losses with a stop loss, it manages the basket by opening an opposite recovery trade and smartly banking profits, so account balance keeps trending up.
✅ Preset: Low-Risk — $10,000 📈 Symbol: XAUUSD / XAUUSDb ⛔ No Stop Loss
💡 This version is tuned for a $10,000 account at LOW risk
🎯 Every default value is deliberately conservative so a $10,000 gold account runs at the lowest practical risk.
🤖 For custom settings (larger/smaller account, your own risk level) and to get the AI-powered version, reach out via:
Contact : manunderfire2000 -> gmail.com
Telegram direct : @experience_231
👁️ At a glance
Entry: the EA enters using the Ichimoku indicator with trend and trend-strength (ADX) confirmation.
Recovery: if the market moves against a trade, instead of cutting the loss it opens an opposite recovery trade at a defined distance to relieve the loss pressure.
Profit taking: whenever the basket's total profit hits the target, or part of the profit can cover a losing trade, the EA banks it. No close is ever recorded at a loss.
On the chart: a bottom dashboard (with buy/sell and drawdown bars plus manual buttons), a profit label on each close, and the recovery-zone lines are shown.
⚠️ Because this EA has no stop loss, the only ultimate risk brakes are the "max position count" and the "max drawdown" caps. This preset is intentionally conservative — always backtest and forward-test before going live.
⚡ Quick start
Place the files together with the Include folder under MQL5/Experts and compile in MetaEditor.
Attach the EA to an XAUUSD/XAUUSDb chart on a Hedging account.
The preset is already baked into the code; if you like, you can also load set.set from the Inputs tab in the tester.
Turn on Visual mode in the tester to see the dashboard and buttons.
⚙️ Settings guide
The "Value" column is the low-risk default stored in the code and in set.set. For each item we note what it does and when you might change it.
🧩 Core & on/off toggles
Setting Value What it does / when to change
InpMagicNumber 25042026 The EA's trade ID. If you run several EAs on one account, give each a different number.
InpLogEnabled / InpLogLevel true / WARN Logging in the Experts tab. Set to INFO for more detailed troubleshooting.
InpEnableRecovery true The recovery engine — the heart of the EA. Don't turn it off unless you want plain entries only.
InpEnablePartialCover true Partial closing of winners to cover the worst loser. Keep it on.
InpEnableBasketTP / Trailing true Close the whole basket at the profit target, plus profit trailing. This is where most profit is taken.
InpEnableSpreadProtect true Blocks entries during high spread. On gold, keep it on.
🎯 Entry
Setting Value What it does / when to change
InpEntryTF M5 Entry-signal timeframe. Lower = more trades and higher risk; higher (M15/M30) = calmer.
InpTrendTF M15 Timeframe for detecting the main trend. Entries are taken only in this trend's direction.
InpADXMin 25 Minimum trend strength to enter. Raise it (30) to only trade strong trends.
InpEntryUseTKCross / UseCloud true / true Ichimoku entry conditions (line cross and cloud position). Both on = fewer, more reliable entries.
InpTrendSeedEntry false If true, a strong trend alone can trigger an entry. Off for the low-risk preset.
InpSeedWhenFlat true When the basket is balanced/directionless, opens one directional trade to avoid a "lock-up".
📊 Volume & caps (the most important risk lever)
Setting Value What it does / when to change
InpLotStart 0.02 First-trade volume. The most important risk control. You can raise it slightly for a bigger account.
InpMaxAllowedLot 0.10 Per-order volume ceiling. Stops recovery legs from growing out of control.
InpMaxRecoveryCycles 6 Max recovery cycles per basket. Lower = safer but less chance to rescue the basket. Note: the code also has a hard internal cap (5) that always clamps anything higher down to it.
InpMaxPositionsPerSide 0 Max same-side positions (buy or sell). Zero means use the code's hard internal cap (5) — a real limit, not unlimited.
InpMaxTotalPositions 0 Max total open positions. Zero means use the code's hard internal cap (8) — a real limit, not unlimited.
InpMarginUsageCapPct 40% When margin usage exceeds this, new entries are blocked.
InpDDScalePercent 10% The larger the floating loss, the smaller new trade volumes become.
💡 Want to be more conservative? Lower InpLotStart and the caps, and lower InpMaxAccountDDPercent. Want it more aggressive? Raise those a bit and increase InpMaxRecoveryCycles (at higher risk).
📐 Recovery zone (trade spacing)
Setting Value What it does / when to change
InpATRMultiplier 1.2 Zone width; the distance price must travel before the next recovery opens. Higher = farther, fewer recoveries.
InpMinHedgeSpacingPips 150 Minimum distance between two same-side trades. Prevents several trades from piling up at one point.
InpATRTF / InpATRPeriod M5 / 14 Timeframe and period for the volatility (ATR) calculation that sets the zone width.
💰 Profit management & account risk
Setting Value What it does / when to change
InpBasketTPMoney $50 When the basket's total profit reaches this amount, everything closes. Raise it for a bigger account.
InpTrailingArmMoney $25 From this profit onward, trailing arms to lock in profit.
InpTrailingGivebackMoney $1000 If profit retraces this much from its peak, the basket closes. With this large value, trailing practically never closes before the main profit target is hit.
InpMaxAccountDDPercent 15% If equity drops 15% below its peak, new entries stop (the main account brake).
InpMaxSpreadPips / TradesPerMinute 100 / 3 Max allowed entry spread and max number of entries per minute.
✂️ Profitable partial cover
Setting Value What it does / when to change
InpPCMinPositions 3 Minimum open positions before partial cover activates at all.
InpPCMinRealizableMoney $10 Minimum guaranteed net profit (after commission) for each partial close.
InpPCUseDynamicThreshold true The larger the basket (position count/volume), the higher the profit threshold required to partial-close.
InpPCPerPositionFactor / PerVolumeFactor 0.9 / 0.3 Threshold growth factor per extra position and per extra basket volume.
InpPCMaxThresholdMultiplier 0.3 Cap on the dynamic threshold multiplier relative to the base threshold.
InpPCMaxForcedLossMoney 0 0 means it never closes at a loss. Set a value to let it trim the worst loser a bit more aggressively.
InpPCProtectTrendWinners true Protects a winning trade aligned with a strong trend so the trend's profit isn't cut short early.
InpPCMinPositionAgeSec 60 s A freshly opened trade won't be closed by partial cover for this long (prevents instant open/close churn).
🖥️ On-chart display
Setting Value What it does
InpShowDashboard / ManualButtons true Shows the dashboard and manual buttons (buy/sell/reduce/partial-close/close-all/pause).
InpShowTradeProfitLabels true Writes each close's net profit on the chart (green text, profitable closes only).
InpShowZone true Shows the zone anchor line and the next-recovery line.
⚠️ Risk reminder: in very strong one-way trends the basket may hit the count/cycle caps and take a drawdown. Start with a small volume, take the drawdown cap seriously, and test on a live account with the smallest volume first.
Phonix Recovery v4.22 — all values match the code defaults and set.set. 🔥
