ForexPhantom AI Trading Bot 2.9 Released

2026-05-02 15:00

ForexPhantom AI Trading Bot 2.9 Released

ForexPhantom v2.9 — Release Notes

Released: 2 May 2026

---

What's new in v2.9

This release is focused on prop firm compatibility and hedging strategy support — three new features and two improvements to existing logic.

---

1. Hedged Basket TP

Previously, the buy cycle and sell cycle each managed their own basket take-profit independently. v2.9 adds a new mode — In_UseHedgedBasketTP — where both directions are treated as a single combined pot.

When enabled, ForexPhantom adds the floating P&L from all buy trades and all sell trades together. If the combined figure reaches In_TakeProfitAmount, both sides close simultaneously and both cycles reset.

This is ideal for ranging market strategies where the buy and sell sides naturally offset each other, and you want to harvest profit when the overall basket is in the green — regardless of which direction is winning.

How it works:

  • Set In_UseHedgedBasketTP = true in your EA inputs
  • Uses the same In_TakeProfitAmount target as standard basket TP
  • Both sides always close together on trigger
  • Per-direction basket TP is automatically disabled when hedged mode is active
  • HUD displays combined floating P&L in real time

---

2. Minimum Trade Time — Hedged TP enforcement

The existing In_MinTradeTimeMinutes setting (which prevents trades being closed before a minimum hold time) now applies fully to hedged basket TP.

When the combined pot reaches target, every open position across both directions must have met the minimum hold time before the close fires. If any trade is too young, the EA waits. If a new add-on trade opens in the meantime, its timer resets the gate for the whole pot.

The HUD shows a live countdown — for example Waiting min-time: 1m42s — so you can see exactly when the close will be permitted.

> Note: Trailing Stop and Trailing Profit already respected In_MinTradeTimeMinutes per position in previous versions — no change needed there.

---

3. Auto Lots — Prop Firm Basis

The auto lot sizing system previously calculated lot size as a fraction of your full account balance. On a prop firm account, the balance is largely irrelevant — what actually constrains you is your maximum daily loss or maximum drawdown.

v2.9 adds In_AutoLotsBasis with three options:

| Setting | Description |

|---|---|

| Balance | Original behaviour — sizes to full account balance |

| MaxDailyLoss | Sizes to In_MaxDailyLoss as the effective pot |

| MaxCycleLoss | Sizes to In_MaxCycleLoss as the effective pot |

Example: A £100,000 prop account with a £5,000 daily loss limit. Setting AutoLotBasis_MaxDailyLoss means lots are calculated as if you have £5,000 to work with — which is the correct risk frame for a funded account.

The HUD displays the active basis and exact figure being used, e.g. AutoLot basis: MaxDailyLoss (5000.00).

---

4. Daily Target — Percentage Mode

In_DailyTargetAmount has always been a fixed monetary figure. v2.9 adds a second mode via In_DailyTargetMode:

| Setting | Description |

|---|---|

| Fixed | Original behaviour — fixed £/$ amount |

| BalancePct | Percentage of current account balance |

When BalancePct is selected, set In_DailyTargetPct to your desired percentage (e.g. 1.0 = 1%). The effective target recalculates each day against the current balance.

This keeps your daily target proportional as your account grows or shrinks, and works correctly with the TP_DailyTarget per-trade TP system as well as the daily close trigger.

The HUD shows the resolved figure — e.g. Daily target: 1.00% = 1000.00.

---

Bug fixes & improvements

  • Hedged basket TP correctly skips the per-direction basket TP check to prevent double-triggering
  • Auto lot basis safely falls back to account balance if the selected limit value is set to 0

---

Upgrading

Drop the new .ex5 file into your MQL5/Experts folder and refresh. All new inputs default to the previous behaviour — no changes to your existing set files are required unless you want to use the new features.

---

Questions or feedback? Join the community at forexphantom.net