Tool
Backtest X-ray
Every backtest report posted online has a balance curve climbing like a painting. Drop an MT5 Strategy Tester report here. The page redraws the money curve and measures the deepest drop, the longest losing streak and which months won or lost. Then it points out what reports tend to hide: bigger lots after a loss, adding trades while in the red, profit from a few lucky trades, a test that is too short.
How to get the file: open Strategy Tester in MT5, run the test, then right-click the Backtest tab → Report → HTML and save it. MT5 set to English gives the most complete reading.
Final profit
Deepest drop (closed trades)
from peak
Deepest drop (incl. open losses)
from peak
Total wins ÷ total losses
Winning trades
Closed trades
Longest losing streak
Longest time below the old high
from the highest balance until it was beaten
Money in the account
The orange line is the balance after each closed trade; the dashed line is the starting balance. The red area below shows how far the account sat under its previous high, in percent.
What the report shows
Red needs a close look, orange is worth noting, green is a plus. The page only reads the numbers in the file; it does not grade the bot.
Monthly results
Shuffle the trade order
The report is a single run; which trade came first is down to luck. This part keeps every trade result, shuffles the order and replays it thousands of times (quants call it Monte Carlo), to see how deep the account drops if the losers show up back to back.
Usual drop
half of the shuffles drop less
Drop with bad luck
5 in 100 shuffles drop even deeper
Drop with very bad luck
1 in 100 shuffles drops even deeper
Odds of blowing the account
money hits 0
- Red bars: over your limit
- Original report
- Drop with bad luck
- The final profit is the same in every shuffle; only the road changes.
- Only closed trades are shuffled. Losses on trades still open are not counted, so for averaging or martingale bots the real drop is deeper.
- Trades closed in the same second count as one, because averaging bots close the whole bunch at once.
How much capital to run it like the report
Keep the same lots as in the report and the worst dollar drop stays the same, whatever the account size. A bigger account just makes that drop a smaller percent. The table turns the drop in the report into the capital that matches the drop you can stomach.
| Worst drop you accept | Capital needed | Vs report balance | Margin at the worst point |
|---|
This bot raises its lot as the account grows: first-trade lots at the end of the report are clearly bigger than at the start. A bigger account means bigger lots and a bigger drop, so a "capital needed" figure means nothing here. For bots like this, watch the percent drops in the boxes above.
The table only converts the drop that happened in the report into capital. Future markets can move further than anything in the report. Whatever capital you plan to use, backtest more periods and try it on demo first.
Words you will see in a report
- Balance: money in the account counting closed trades only. Open losses are not taken off yet.
- Equity: the money right now, open trades included. The broker’s stop out works on this number.
- Drawdown: how many percent the account fell from its highest point to the lowest point after it. A 50% drop needs a 100% gain to get back.
- Lot: the trade size. Double the lot and every price move wins or loses double.
The numbers are for reference only and come from a single report. Before running any bot or settings, backtest more periods and try them on demo first to fit your own balance.