Your historical drawdown is only one possible path. The same trades in a different order could have produced a deeper one. This script shuffles your trades thousands of times and shows how deep the drawdown can realistically get, and whether your account size can carry it.

It reads the closed trades directly from your account history (with optional filters by symbol, magic number and dates) or from a CSV file in Common\Files. No other tool is needed.
Results:
The results are printed in the Experts log, saved to a CSV file and drawn on the chart as a histogram. Each percentile line has its own line style and label, so the chart does not rely on colour.
It also writes a readable HTML report to Common\Files (English or Spanish): results explained in plain language, a big YES/NO capital check, the histogram as SVG and a short limitations section. Open it in a browser or print it to PDF.
Limitations: it uses closed trades only, so it does not see floating drawdown inside a trade, and it treats trades as independent.
OnTester Robustness Score with Simulated Commission and Trade CSV Export
A custom OnTester() criterion that ranks optimisation passes by net profit factor, number of trades, drawdown and equity-curve linearity. Includes simulated commission, trade export to CSV and a readable HTML report.
Smart Money Concepts MT5
Smart Money Concepts MT5 — BOS / CHoCH structure, Order Blocks, Equal Highs/Lows, Fair Value Gaps and Premium/Discount zones. MT5 adaptation of the MAJID Smart Money Concepts indicator, free for non-commercial use under CC BY-NC-SA 4.0.
ATR Stop Loss Take Profit Levels
ATR stop loss and take profit levels for Gold (XAUUSD) and any symbol on MT5. Draws the stop and two targets from the ATR for a buy at the ask and a sell at the bid, with the lot for your risk in percent of the balance. Open source code.
Pivot Points Daily Weekly Monthly
Pivot points for Gold (XAUUSD) and any symbol on MT5. Classic or Fibonacci P, R1 to R3 and S1 to S3 from the previous day, week or month, one set per period, with an optional alert when a candle closes across a level. Open source code.