Your charts.
Restored.
MT4/MT5 broker reports often ship without their equity graph — bitmap rendering broke in newer builds. Drop your MT4 .htm, MT5 .html, or cTrader .html here and we'll redraw the chart from your trade list. 100% browser-based. No data uploaded.
Want more than charts?
Run 20 statistical tests, Monte Carlo stress simulations, and drawdown confidence intervals on the same backtest — Edge Matrix turns this trade list into a full validation report.
Free Backtest Graph Builder for MT4, MT5, and cTrader
This free backtest graph builder reconstructs the equity curve, drawdown chart, monthly P&L bars, and per-trade scatter from any MetaTrader 4, MetaTrader 5, or cTrader Strategy Tester report. If your MT4/MT5 backtest HTML report opened with the chart missing, with a broken bitmap, or with the equity graph cut off, this tool extracts the full trade list and redraws every chart from the actual data — completely free, no signup, no download, and your backtest never leaves your browser.
Why MT5 Backtest Charts Go Missing
Recent MetaTrader 5 builds have a known bug where the strategy tester fails to render the equity bitmap into the exported HTML report. The trade list is still complete, but the <img> reference at the top of the report either points to a missing file or shows a broken thumbnail. The most common causes:
- Windows display scaling at 125% or 150% (DPI-aware rendering bug introduced in mid-2024 builds)
- Multi-monitor setups where each monitor uses a different DPI
- Disk write race conditions on slower SSDs and SD card storage
- Antivirus software intercepting the screenshot capture before MT5 finishes writing
- Older MT4 builds running on Windows 11 with hardware-accelerated rendering
The trade data itself is always intact — only the bitmap export is broken. This builder ignores the missing image and reconstructs every chart from the closed-trade list directly, so you get back exactly what your backtest produced without re-running it.
What the Builder Reconstructs
The tool produces four charts from any supported backtest file:
- Equity Curve — cumulative balance after each closed trade. Reconciles to the broker's reported Total Net Profit exactly to the cent.
- Drawdown Chart — running distance below the highest closed-trade equity. Both maximum drawdown in dollars and as a percent are computed at the same trough event, the way MetaTrader and Quant Analyzer report them.
- Monthly P&L — calendar-month profit aggregation, useful for spotting concentration risk and month-of-year patterns.
- Per-Trade Scatter — every closed trade plotted by date and profit dollar amount, useful for spotting volatility regimes and outlier trades.
You also get four headline statistics: total trade count with win rate, net profit with the initial deposit reference, maximum drawdown in dollars and percent, and profit factor with average win/loss amounts. Each chart can be downloaded as a PNG for use in reports or trade journals.
Supported Backtest Formats
Works with backtest and optimization reports from:
- MetaTrader 4
.htm— Strategy Tester export, including non-English language builds - MetaTrader 5
.html— fixed-bar, control-points, and every-tick test exports, UTF-8 and UTF-16 encoded - cTrader
.html— single-run and optimization reports with embedded JSON history
The parser is position-based, identifying trade rows by column position rather than by header text. This means it works with reports in any language — Chinese, Russian, Japanese, German, Spanish, Arabic, Hungarian. We tested with the standard English reports plus MT4 reports in Chinese with Big5 and GB2312 encoding, and every file produces numbers identical to the broker's totals.
How Accurate Is the Reconstruction?
Net profit reconciles to the broker's reported Total Net Profit to the cent on every supported format. The parser includes commissions and swaps the same way the broker does:
- MT5: gross profit + commission + swap on the closing leg of each in/out deal pair
- MT4: profit column on each closed-position row (commissions and swaps already netted by MT4)
- cTrader:
netfield from the embedded JSON history (gross profit minus all fees, the way cTrader displays it)
Maximum drawdown is computed using the same convention as MetaTrader's Strategy Tester and Quant Analyzer: the largest peak-to-trough fall in dollars, with the percent computed against the peak at that exact trough event — not as an independently tracked maximum percent that might occur at a different point in the curve.
Privacy and Browser-Based Processing
Your backtest data never leaves your browser. Files are read using the browser's FileReader API and parsed entirely client-side. There is no server upload, no account requirement, no email gate, and no analytics tracking the contents of your trade history. After you close the browser tab, the data is gone. The same privacy guarantee that makes this tool useful for testing prop firm backtests, client EAs, and proprietary strategies applies regardless of file size.
Built by ErgodicLabs
This graph builder is one of the free tools built by ErgodicLabs. If you also need to stress-test the trade ordering of a backtest, run our free Monte Carlo backtest analyzer — it takes the same MT4, MT5, or cTrader file and produces drawdown confidence intervals, robustness scoring, and martingale detection. For the full suite of 20 statistical validation tests including temporal stability analysis, concentration risk, MinTRL validation, and the composite Edge Score, see Edge Matrix.