Skip to main content

MT5 Strategy Optimization

InsightEdgeFX MT5 Strategy Optimization is a free, browser-based reader for MetaTrader 5 Optimization Results XML exports. It ranks passes by profit, balance, drawdown, and risk metrics, and compares average and median profit across tested inputs. The XML is not uploaded unless you choose Save to server. Binary .opt files are not read.

Optimization Results XML

Upload an optimization export

Drop the Optimization Results XML here, or choose a file. Parsing runs in this browser. The file is uploaded only if you save it to the server. A binary .opt cache is not read.

Sample data, not a real strategy

How to export the Optimization Results XML

Finish the optimization in Strategy Tester, then export the Optimization Results table as XML. Drop that file on this page. The summary numbers and the input columns are read in the browser. A binary .opt cache is a different file and stays closed.

In Strategy Tester, finish an optimization and open the Optimization Results tab. Right-click the table and choose the XML report, the SpreadsheetML export, rather than saving the tester cache. The workbook title usually names the expert, the symbol, the period, and the test dates. Those labels are shown when the title follows that pattern.

Optimization Results XML and the .opt cache
XML export.opt cache
File you openThe Optimization Results XML (SpreadsheetML) from the results table.The tester's binary .opt cache. This page does not read it.
Where it is readIn this browser. It is not uploaded unless you save it.Not opened. Export the XML report instead.
What you can comparePass summaries: profit, balance, drawdown, risk metrics, and inputs.Nothing from the cache itself.

What each optimization pass contains

Each row is one finished pass. The page keeps the tester's own figures and the inputs that produced them. You can sort the table and narrow it with a maximum equity drawdown and a minimum trade count.

Result is the criterion the tester optimized on. Profit is the net money result for that pass. Equity drawdown percent is the tester's own equity-decline figure for the pass, not a curve. The trade column is a count. Expected payoff, profit factor, recovery factor, Sharpe ratio, and the custom column are the summary numbers MT5 printed. Columns whose names start with Inp are the input values used for that pass.

Columns taken from an Optimization Results XML row
FieldWhat this page uses
ResultThe criterion Strategy Tester optimized on for that pass.
Profit and end balanceProfit is the net money result. Ending balance is the initial deposit plus that profit, when the deposit is in the file.
Equity drawdown %The tester's equity-decline figure for the pass. It is not a curve.
Risk summariesExpected payoff, profit factor, recovery factor, Sharpe ratio, trade count, and the custom column, when MT5 printed them.
InputsColumns whose names start with Inp are the input values used for that pass.

Rankings, input averages, and what the XML omits

The overview marks the highest ending balance, the highest net profit, the lowest equity drawdown among profitable passes, and the best profit divided by equity drawdown percent. It lists every input on those passes. Pass inputs shows every field for one selected pass. Input analysis then groups those same passes by one tested value and shows average profit, median profit, and average drawdown. Value passes lists every run for the selected value. None of those figures is a forward test.

The optimization spreadsheet has no trade list and no balance or equity curve. Ending balance on this page is the initial deposit plus that pass's profit, when the deposit is present. Averages by input value describe the passes that used that value. Other inputs still change between those passes, so an average does not show that one setting caused the result. Nothing here is a forecast.

What an optimization XML can and cannot support
TopicOn this page
Trades and curvesThe XML has no trade list and no balance or equity curve. Monte Carlo and session charts need a Strategy Tester report in the Backtest Analyzer.
Input averagesAverage and median profit group the passes that used one input value. Other inputs still change, so the average does not show that one setting caused the result.
CandidatesHighest ending balance, highest net profit, lowest equity drawdown among profitable passes, and best profit divided by equity drawdown percent are in-sample rankings. Overview lists the inputs for those passes. They are not a forecast.

How the file is handled

A worker in this browser reads the XML. This browser keeps the last 20 processed projects. Clear local removes only that list. Save to server stores one copy for a signed-in account: 10 on Free, 200 on Pro, and 500 on Premium, kept for six months. The same file is not stored twice. Remove from server deletes that copy. Share copies a ?report= link that works until you turn sharing off or delete the project. A private link does not open the project for anyone else. A collection can hold this project together with backtest reports. That collection link is separate: turning it off does not unshare an individual report, and an individual share stays open until you turn that one off.

Questions about MT5 optimization XML

How do I analyze an MT5 Optimization Results XML file?

In Strategy Tester, finish an optimization and open the Optimization Results tab. Right-click the table and export the XML report, the SpreadsheetML file, rather than the tester cache. Drop that file on this page or choose it from your computer. A worker in this browser reads each pass. You can sort by profit, ending balance, result, equity drawdown, profit factor, recovery factor, Sharpe ratio, and trade count, and you can filter by maximum equity drawdown and minimum trades.

Why will an MT5 .opt file not open in the optimization analyzer?

A .opt file is the Strategy Tester's binary cache. It is not the spreadsheet export. This page reads only the Optimization Results XML. Export that XML from the results table context menu, then open the XML here.

How do I compare average and median profit for one MT5 input?

Open a project and choose Input analysis. Pick one input parameter. The page groups passes that used each tested value and shows the pass count, average profit, median profit, and average equity drawdown. Value passes lists every run for one selected value. The first value is selected until you choose another. Other inputs still vary inside each group, so the average describes those passes. It does not prove that the value caused the result.

Does an MT5 optimization XML include trades or an equity curve?

No. Each row is a finished pass summary. There is no deal list and no balance or equity path. Ending balance on this page is the initial deposit plus the pass profit when the deposit is present. The drawdown chart counts how many passes fall in each whole-percent equity-drawdown bucket. It is not an equity curve. Use the Backtest Analyzer when you have a Strategy Tester HTML or XLSX report with trades.

Is my MT5 optimization XML uploaded to a server?

The file is read in this browser. It is not uploaded unless you choose Save to server while signed in. This browser keeps the last 20 processed projects. A saved copy stays on your account: 10 reports on Free, 200 on Pro, and 500 on Premium, for six months. Sharing stays off until you turn it on and copy the link.

What do the top candidate cards on an optimization mean?

Highest ending balance is the initial deposit plus that pass's profit. Highest net profit is the largest profit figure in the file. Lowest equity drawdown is the smallest equity-decline percent among profitable passes. Best profit / drawdown divides profit by the equity drawdown percent. Overview lists every input on those passes. Open a pass from that list, from a candidate card, or from Passes to see every field together on Pass inputs. Input analysis still groups one input at a time. These rankings are in-sample. Check finalists on forward data and on nearby input values before treating a ranking as robust.