IMU by Bo.Botfx v2.4

By Bo.Botfx Bot (EA) Stable

A balance-peak recovery bot for gold M15. One trade at a time, fixed SL and TP. When the balance drops below its peak, the next trade sizes itself so that TP brings the balance back to the peak. Comes with 2 backtested .set files (trailing on and off). Free.

Backtest results

Symbol
XAUUSDm
Timeframe
M15
Initial deposit
$100,000
Leverage
1:2000
Period
01 Jan 2026 – 01 Dec 2026
Broker
Exness Technologies Ltd
Data
100% real ticks
Profit
+$29,711
$100,000 → $129,711
Max DD
$11,360
Largest equity drawdown
Total trades
10,818
Win rate
56.3%
$80,000 $100,000 $120,000 $140,000 Largest balance drawdown: −$8,942 2026-01-01 2026-11-30
$80,000 $100,000 $120,000 $140,000 2026-01-01 2026-11-30

Balance after each closed trade · Hover or tap for details

All metrics

Net profit
$29,710.74
Gross profit
$220,717.89
Gross loss
−$191,007.15
Profit factor
1.16
Expected payoff
$2.75
Recovery factor
2.62
Sharpe ratio
1.74
Max equity DD
$11,359.80
Max balance DD
$8,942.09
Buy trades (won)
5,108 (55.6%)
Sell trades (won)
5,710 (56.9%)
Largest win
$9,151.76
Largest loss
−$3,225.10
Average win
$36.25
Average loss
−$40.38
Max consecutive wins
15 trades
Max consecutive losses
12 trades (−$963.74)
Average holding time
0:29:27
Screenshot from the MT5 Strategy Tester

Past results on one specific broker, for reference only. Max DD = largest equity drawdown in the MT5 report (Equity Drawdown Maximal).

How do you climb back after a losing streak

Every manual trader has been here. Three or four losses in a row, the account slips off its high, and suddenly the next trade is double size “to get back faster”. How much bigger depends on how annoyed you are that day. Win it and you breathe again. Miss it and you won’t sleep tonight.

IMU recovers too. The difference is that its recovery lot comes out of a division, however annoyed anyone is. The bot remembers the balance peak (Max Balance). However far below the peak it is, the next trade opens with exactly the lot size that brings the balance back to the peak at TP, plus a little extra.

How the bot works

  1. One trade at a time: the bot holds a single position with a fixed SL and TP in pips. It only decides the next trade once that one closes.
  2. Balance at the peak: it opens with the initial lot size (0.01 by default), in the direction of the signal.
  3. Balance below the peak: it opens a recovery trade. The lot is sized so that at TP the profit equals the shortfall from the peak times Multiplier (1.1 by default, i.e. recover the full amount plus 10%). The lot never exceeds Max lots.
  4. Direction:
    • Normal signal: the first trade follows the previous candle (bullish candle → Buy, bearish → Sell), and a recovery trade goes the opposite way to the trade that just closed.
    • Supertrend signal: first and recovery trades both follow the Supertrend direction. Supertrend is built into the bot, no extra indicator to install.
  5. Back at the peak: once a recovery trade hits TP, the balance sets a new peak and the bot returns to the initial lot size.

When you withdraw money, the bot lowers Max Balance by the amount withdrawn, so a withdrawal is never treated as a loss to recover.

The two backtested .set files

Both ran on XAUUSDm M15 at Exness, 1 Jan to 1 Dec 2026, 100% real ticks, Supertrend signal, SL 100 pips, TP 200 pips. They differ in trailing, Max lots and deposit. Use the tabs in the backtest box to switch between them.

Trailing on Trailing off
Deposit $100,000 $50,000
Max lots 10 25
Net profit +$29,711 (about +30%) +$46,397 (about +93%)
Deepest equity drawdown $11,360 (9.7%) $16,694 (31.7%)
Trades 10,818 5,753
Win rate 56% 33%
Longest losing streak 12 trades 16 trades, −$14,668

The deposits differ, so comparing dollar profit directly is misleading. Percentages are easier to read.

Trailing on: once price runs 70 pips, the bot moves SL to the entry price, then trails it in 2-pip steps. Many trades close with a small profit before reaching TP, so the win rate climbs to 56% but the average winner is only about $36. In return the equity curve is smooth and the deepest dip stays under 10%.

Trailing off: every trade waits for TP or SL. Only a third of trades win, but the average winner is about $123 because TP is twice the SL. Percentage profit is much higher, though a 16-trade losing streak took almost $15,000 before it was recovered. Run this set and you get used to watching the account sit below its peak for a while.

Both sets come with the bot in the .zip file in the box on the side. To reproduce the backtest, attach the bot to an XAUUSD M15 chart, Inputs tab → Load → pick the .set file. The backtest settings are for reference only. If you want to change any input to fit your own balance, backtest it and run it on demo first, then decide on real money.

Risk: recovery trades grow with the shortfall from the peak. The longer the losing streak, the bigger the next recovery trade, sometimes up to Max lots. A long enough streak still drags the account down hard, like the 31.7% on the trailing-off set. Run it on demo for a few weeks on your own broker before going live.

The bot is free. Anyone selling it to you is running a scam.

What you see on the chart

  • Info panel, top left:
    • general block: balance, spread, floating P/L, Max DD (deepest floating loss of open trades), Max Lots (largest lot the bot has opened);
    • RECOVERY block: Max Balance (the peak the bot remembers), Current Loss (how far below the peak it is now), Max Loss (the furthest it has been), Max Float Loss (the furthest including open trades);
    • bottom line: today’s profit or loss.
  • Reset Max Balance button, top right: the bot takes the current balance as the new peak. Whatever was missing from the old peak is dropped, and the next trade goes back to the initial lot size.

Inputs

Inputs are grouped exactly as they appear in the MT5 Inputs tab. The “Default” column shows the values built into the bot before any .set file is loaded. The two .set files in the .zip use different values, listed in the table above.

General

Input Default What it does
Signal? Normal How the trade direction is chosen. Normal: first trade follows the previous candle, recovery trades go opposite to the trade that just closed. Supertrend: every trade follows the Supertrend direction.
Continuously opening? false Off: the bot opens a first trade only on a new candle. On: whenever there is no open trade, it opens one straight away without waiting for a candle.
Magic Number 9691 ID for the bot’s trades, so it never manages manual trades or another EA’s trades by mistake. Running several charts? Give each its own number. The remembered balance peak is also stored per number.
Initial lots 0.01 Lot size while the balance is at its peak. Recovery trades are never smaller than this.
SL Pips 50 SL distance of each trade, in pips.
TP Pips 100 TP distance of each trade. Recovery lots are sized against this TP: a further TP means smaller recovery lots, a closer TP means bigger ones.
Multiplier 1.1 At TP, a recovery trade earns the shortfall from the peak times this value. 1.1 means recover the full amount plus 10%. The higher it is, the bigger the recovery lot.
Min profit, $ 0 Extra amount added to what needs recovering, so a recovery trade at TP lands that much above the peak.
Min balance, $ 0 (off) Below this balance the bot stops opening trades.
Max lots 25 Maximum lot size of a recovery trade. If the calculation comes out higher, the bot opens at this size. 0 means no limit.

Trailing

Input Default What it does
Use trailing? true Turns on the trailing stop.
Trailing start, pips 35 Trailing starts once the trade is this many pips in profit.
Trailing step, pips 2 Each time price moves on, SL moves by this many pips.
Initial SL, pips 1 On the first move, SL goes to the entry price plus this many pips.

Daily target

Input Default What it does
Daily TP target 0 (off) When the day’s profit (including open trades) reaches this amount, the bot closes everything and stops for the rest of the day.
Daily SL target 0 (off) When the day’s loss reaches this amount, the bot closes everything and stops. Enter a negative number, e.g. -500.

Time filter (Local time)

Input Default What it does
Use time filter? false On: the bot only opens new trades inside the windows below. Times follow the clock of the PC or VPS running the bot.
Monday … Sunday 8:20-12:15, 13:25-18:30, 20:30-23:10 Trading windows for each day, several separated by commas, as hour:minute-hour:minute.
recover out of time? true On: outside the windows the bot still opens recovery trades while the balance is below its peak. Off: outside the windows it does nothing.

Supertrend Indicator

Input Default What it does
Periods Supertrend 21 Number of candles used for Supertrend. Only used when Signal is Supertrend.
Multiplier Supertrend 3.0 Supertrend multiplier. A higher value keeps the line further from price, so it flips direction less often.

Comments

No account needed. Pick a nickname and the site keeps it reserved for you.

Rate this bot

– /10

No ratings yet.

Rate from 1 to 10 stars. Each nickname rates a bot once and cannot change it, so try the bot first.

Click a star to choose your score.

First time? Pick a nickname. It is shared with comments.

3–24 characters: letters, numbers, dot, underscore, hyphen.

No links, no phone numbers, no advertising. Comments that break these rules get removed.

0/1500