Reading the Strategy Tester report honestly - Part 1: The report at a glance, and the numbers traders stare at first
What the folder held
When I opened the folder where the tester writes its exports, I found two files: a per-trade CSV with 6,697 rows, and a short summary JSON with a dozen numbers in it. No HTML report. No equity curve picture. I had expected a report I could read on screen; what I actually had was a list of trades and a handful of figures.
That is where this series starts. I have the export files the tester left behind, and this part reads them field by field, exactly as they are, with the limits of those files stated wherever they matter.
The conditions first
Before a single number, here are the conditions, because no number in this part means anything without them.
The EA is my EMA Cross v3.6, with the fast average the 7-period SMA and the slow average the 152-period EMA. The symbol is the Crash 500 Index, timeframe M1. The deposit is $10,000 on a demo account. The modelling mode is every tick based on real ticks. The test covers in-sample 2026, from the first trade on 1 January 2026 at 01:12 to the last trade on 9 November 2026 at 23:45. Every trade is 0.2 lots. The EA has never traded live.
The files are the ones I named above: the per-trade CSV, ema-cross-crash500-m1-v36-e152-s7-trades.csv, and the summary JSON, ema-cross-crash500-m1-v36-e152-s7-summary.json. There is also a daily CSV with the day-by-day results. What is not in the folder matters as much as what is: no raw Strategy Tester HTML export, and no equity-graph PNG. So when I say "the report" in this part, I mean the export data the tester saved, not the report page as MetaTrader displays it. I will not describe an equity curve I cannot show you, and I will not pretend I read one.
I ran this same EA twice on the same settings, once on the virtual machine and once on the laptop, and the two runs came out slightly different. I will show you both runs together. The main reading uses the VM run, because that is the run whose export files sit on my disk: the per-trade CSV and the summary JSON I can open, check and recompute from. The laptop run is recorded in my inventory file only, with no export on disk to recompute from. That is why the VM run is the worked example.
The headline figures, one field at a time
Net profit: +$351.76. The deposit was $10,000, so the run ended $351.76 ahead, at $10,351.76. It is the first number most traders look at, and the least informative on its own: it says nothing about how many trades it took, or how much was risked along the way.
Trades: 6,697 closed trades. Of those, 4,759 won, 1,868 lost, and 70 closed flat. That adds up: 4,759 plus 1,868 plus 70 is 6,697. I checked that before writing it down: a report whose parts do not add up is one I should not trust, and this one adds up.
Win rate: 71.06 percent. That is 4,759 wins out of 6,697 trades. About seven out of ten trades won. On its own that sounds strong, and it is the number I would have quoted first if I had stopped reading here. I did not stop here.
Gross win and gross loss: $3,818.70 won across all the winning trades, $3,466.94 lost across all the losing trades. The difference between them is the net profit: 3,818.70 minus 3,466.94 is 351.76. Two things stand out. First, both gross figures are large next to the net: most of the money the EA earned was given back in losses. Second, the wins and losses are close, which is why the net is small even though the trade count is large.
Profit factor: 1.101. That is gross win divided by the absolute value of gross loss: 3,818.70 divided by 3,466.94 is 1.101. For every dollar the EA lost, it won $1.10 back. That is a thin margin, and it sits next to a 71.06 percent win rate, which is the first thing this report teaches: a high win rate and a thin profit factor can live in the same report, because the wins are small and the losses are large.
Average win and average loss: $0.8024 per winning trade, and -$1.856 per losing trade. The average loss is more than twice the average win. That is the arithmetic behind the thin profit factor. The EA wins often and wins little, and when it loses, it loses more than twice as much. Nothing in the win rate tells you that. You have to read the averages.
Expectancy: $0.0525 per trade. That is net profit divided by trades: 351.76 divided by 6,697 is 0.0525. On average, one completed trade earned about five cents. I write the division out because the number looks harmless on its own, and the division is what makes it real: $351.76 of net profit, spread across 6,697 trades, is five cents a trade.
Trading days: 313, of which 173 were winning days and 140 were losing days. That is $1.12 per day on average. Swap totalled $0.03 across all 6,697 trades, which is small enough to ignore in this reading.
Drawdown: $121.13, and I need to be exact about what that figure is. It is the maximum peak-to-trough drawdown of cumulative closed-trade profit. The summary JSON carries it in a field called max_dd with the value 121.13, and I recomputed the same value from the per-trade CSV by tracking the running total of closed-trade profit and measuring its largest fall from a peak. The two agree. What it is not: it is not confirmed to be the MT5 Strategy Tester report's maximal drawdown, because no raw HTML report exists for this run, and the report's balance and equity drawdown rows are in no file I have. A closed-trade CSV cannot reconstruct the floating drawdown while positions were open, so I will not call this figure the MT5 maximal drawdown. It is the drawdown of the closed trades I can see, and that is all I claim for it. Part 3 will go into drawdown properly, including the balance-versus-equity distinction this export cannot show.
That is the VM run, read field by field. The first numbers you stare at are the ones that tell you the least.
The same EA, run twice
Here are both runs of the same EA on the same settings, side by side. I am not combining them, and I am not picking the better one.
| Run | Net profit | Trades | Win rate | Profit factor | Drawdown | Expectancy |
|---|---|---|---|---|---|---|
| VM run | +$351.76 | 6,697 | 71.06% | 1.101 | $121.13 (maximum peak-to-trough drawdown of cumulative closed-trade profit) | $0.0525 |
| Laptop run | +$358.52 | 6,829 | 72.05% | 1.101 | $121.10 (as recorded) | about $0.0525 |
The laptop run earned $6.76 more, on 132 more trades, with a win rate about one point higher. The profit factor is recorded as 1.101 for both runs, and the expectancy works out to about $0.0525 per trade for both. The laptop drawdown of $121.10 is an inventory-recorded figure whose calculation and exact definition cannot be independently verified from the available laptop exports. I do not know why the two runs differ. No file I have explains it, so I will not guess. Both runs tell the same story: a high win rate, a thin profit factor, and about five cents per trade.
I use the VM run as the worked example in this series because its exports are on my disk and I can show my working from them. If you ask me why I chose that run rather than the other, that is the answer: the VM run is the one I can verify, trade by trade, from files I can open.
Two questions the figures leave open
Once the figures are read, two questions are left, and the report does not answer either of them on its own.
The first question is: what does one trade earn on average? The answer is in the arithmetic above: $0.0525 per completed trade. That is the expected payoff of the VM run, and it is the number Part 4 will come back to. For now, notice how small it is next to the $351.76 net and the 71.06 percent win rate. The net and the win rate look like a working system. Five cents a trade looks like a system that earns almost nothing per trade, and the difference between those two impressions is the whole reason to read past the headline.
The second question is: what did my separate demo execution measurements show? That is a different experiment from the tester run, and I keep the two apart. In separate small-size market-order tests on my Deriv demo account, I measured adverse slippage of $0.50-$0.88 per fill on Crash 500 and Boom 500. I will give you the exact wording I stand behind, because this is the comparison the whole series turns on:
"In my tester data, the average expected payoff was about $0.0525 per trade. In separate small-size market-order tests on my Deriv demo account, I measured adverse slippage of $0.50-$0.88 per fill on Crash 500 and Boom 500. Those figures are not a live test of this EA, and they are not an estimate of its actual live expectancy. They show why I want to examine execution costs before treating a small tester expectancy as meaningful."
Three things about that statement need to be said plainly. First, the slippage was measured on a demo account, not with real money, so I will not describe it as a cost measured on a real-money account. Second, expectancy is measured per completed trade and slippage is measured per fill, and those are not directly interchangeable units: one completed trade normally has an entry fill and an exit fill. Third, I did not record the exact order volume, the number of fills, or the measurement period for the slippage tests, so I cannot say whether the slippage sample used the same 0.2 lots as the tester run. Until the figures are normalised to a common volume, the comparison carries that caveat with it. Part 4 will work through this properly. Here I only want the two questions on the table, with the limits attached.
What others already wrote, and what this series adds
I am not the first person to teach traders to read a Strategy Tester report, and this series does not pretend otherwise. Four MQL5 blog posts already walk through a real report with real numbers: "How to read a Strategy Tester report like a skeptic: five numbers before profit" (773029), which reads a gold portfolio backtest of 1,425 trades; "How to Read a MetaTrader 5 Strategy Tester Report" (770779), which works through a Pressure Box EA report field by field; "This EA is behaving like a CONTROLLED PROFESSIONAL EXECUTION SYSTEM" (769768), which presents a risk-manager-style interpretation of a single report; and "Backtest Metrics Most Traders Overlook - And Why They Matter" (781357), which covers the five metrics most traders skip, including the balance-versus-equity drawdown split, recovery factor, Sharpe ratio, LR statistics and trade count, and also discusses execution delay. Reproducibility already has its own post too: "How we publish backtests so you can reproduce them" (776654). Execution costs are covered as well: "Your Backtest Filled at the Price It Wanted: Slippage, Gaps and the Execution Gap Nobody Prices In" (775565), "The Difference Between Backtesting and Forward Testing" (774074), and "Twenty-Five Fills, None in My Favour: Measuring Entry Slippage Without a Backtest" (775605), which measured 25 demo-account fills of its own. My own earlier post, "Backtest Passed, Live Failed: Seven Checks That Catch What the Strategy Tester Misses" (782145), already covers what the report cannot show.
So what does this series add? It is a field-by-field analysis of my own available Strategy Tester export data, including the results that are disappointing, with the limits of those exports stated clearly, alongside the cautious expectancy-versus-demo-slippage comparison. That is the whole claim, and it is a narrow one. I have found other posts that explain how to read tester reports and others that discuss execution costs. What I have not found in the posts I checked is this particular comparison using my own tester expectancy and my own measured demo-account slippage, alongside a field-by-field analysis of my own results. That is a description of the research I did, not a claim that no such post exists anywhere, and not a claim that measuring slippage is itself new.
The next three parts follow the same pattern: Part 2 puts profit factor next to win rate on two of my own reports; Part 3 reads the drawdown figures my exports actually contain; Part 4 works through recovery factor and expectancy, and makes the expectancy-versus-demo-slippage comparison with the caveats above. Each part uses numbers I can point to in a file, and each part says what was not tested.
The script: ExportSummary.mq5
Every part of this series is a build piece, so here is the first one: a small script that reads the summary JSON and prints the headline figures. It does not reproduce the original MT5 HTML report, which this run never saved. It prints a tester-export summary, which is what the files actually support.
To use it, place the summary JSON in the terminal's MQL5/Files folder and run the script. It reads the file, pulls out each headline figure, and prints them to the Experts log. The script takes one input, the file name, which defaults to the Crash M1 summary:
//+------------------------------------------------------------------+
//| ExportSummary.mq5 |
//| Sahir Silvia, Dec 2026 |
//| Reads a Strategy Tester summary JSON from MQL5/Files and prints |
//| its headline figures as a tester-export summary. It does not |
//| reproduce the original MT5 HTML report, which this run never |
//| saved. Teaching script only, not a product. |
//+------------------------------------------------------------------+
#property copyright "Sahir Silvia, 2026"
#property version "1.00"
#property script_show_inputs
input string InpFileName = "ema-cross-crash500-m1-v36-e152-s7-summary.json";
//--- read a number that follows "key": in the JSON text
double JsonNumber(const string &json, const string key)
{
string pattern = "\"" + key + "\":";
int pos = StringFind(json, pattern);
if(pos < 0)
return(0.0);
string tail = StringSubstr(json, pos + StringLen(pattern));
StringTrimLeft(tail); // trims in place; returns the count removed, not the text
return(StringToDouble(tail));
}
//--- read a string value that follows "key": "..."
string JsonString(const string &json, const string key)
{
string pattern = "\"" + key + "\": \"";
int pos = StringFind(json, pattern);
if(pos < 0)
return("");
string tail = StringSubstr(json, pos + StringLen(pattern));
int end = StringFind(tail, "\"");
if(end < 0)
return("");
return(StringSubstr(tail, 0, end));
}
void OnStart()
{
int handle = FileOpen(InpFileName, FILE_READ | FILE_TXT | FILE_ANSI);
if(handle == INVALID_HANDLE)
{
Print("ExportSummary: cannot open ", InpFileName,
" in MQL5/Files. Error ", GetLastError());
return;
}
string json = "";
while(!FileIsEnding(handle))
json += FileReadString(handle) + "\n";
FileClose(handle);
string symbol = JsonString(json, "symbol");
string period = JsonString(json, "period");
string expert = JsonString(json, "expert");
double net = JsonNumber(json, "computed_net");
double trades = JsonNumber(json, "trades");
double wins = JsonNumber(json, "wins");
double losses = JsonNumber(json, "losses");
double flats = JsonNumber(json, "flats");
double win_rate = JsonNumber(json, "win_rate_pct");
double gross_win = JsonNumber(json, "gross_win");
double gross_loss = JsonNumber(json, "gross_loss");
double pf = JsonNumber(json, "pf");
double max_dd = JsonNumber(json, "max_dd");
double avg_win = JsonNumber(json, "avg_win");
double avg_loss = JsonNumber(json, "avg_loss");
double expectancy = (trades > 0) ? net / trades : 0.0;
double days = JsonNumber(json, "trading_days");
double usd_day = JsonNumber(json, "usd_per_day");
double swap = JsonNumber(json, "swap_total");
Print("=== Tester-export summary: ", expert, " on ", symbol, " ", period, " ===");
PrintFormat("Net profit: %.2f USD over %.0f trades", net, trades);
PrintFormat("Wins: %.0f, losses: %.0f, flat: %.0f, win rate: %.2f%%",
wins, losses, flats, win_rate);
PrintFormat("Gross win: %.2f, gross loss: %.2f, profit factor: %.3f",
gross_win, gross_loss, pf);
PrintFormat("Average win: %.4f, average loss: %.3f", avg_win, avg_loss);
PrintFormat("Expectancy: %.2f / %.0f = %.4f USD per trade", net, trades, expectancy);
PrintFormat("Closed-trade drawdown (peak-to-trough of cumulative closed-trade profit): %.2f",
max_dd);
PrintFormat("Trading days: %.0f, USD per day: %.2f, swap total: %.2f",
days, usd_day, swap);
Print("This is a summary of the export files. It is not the MT5 HTML report.");
} Three things in that script are worth explaining. The first is the pattern in JsonNumber: it searches for "key": with the opening quote included, so "trades": does not match inside "swap_trades":, which appears earlier in the same file with the same value. The second is the trim: StringTrimLeft removes the space after the colon by changing the text in place, and returns the count of characters it removed, not the trimmed text, so the script calls it on its own line and only then converts the text to a number. Writing StringToDouble(StringTrimLeft(tail)) would convert the count, not the value, and the compiler warns about it. I wrote it that way first, and the warning is what caught it. The third is the expectancy line: the script does not read expectancy from the file, it calculates it from net divided by trades, so the printed figure is the division itself, not a number copied from somewhere else.
This is a small, fixed-format JSON reader, not a general JSON parser: JsonNumber() and JsonString() depend on the key/colon formatting of the supplied summary file, and a missing key returns zero or an empty string rather than a dedicated parsing error.
Run against the Crash M1 summary JSON, the script prints these lines to the Experts log. I ran it in the terminal on 3 December 2026, captured the log, and all nine lines matched my hand-worked figures, including the expectancy the script calculates itself:
=== Tester-export summary: EMA_Cross_EA-v3.6.ex5 on Crash 500 Index M1 === Net profit: 351.76 USD over 6697 trades Wins: 4759, losses: 1868, flat: 70, win rate: 71.06% Gross win: 3818.70, gross loss: -3466.94, profit factor: 1.101 Average win: 0.8024, average loss: -1.856 Expectancy: 351.76 / 6697 = 0.0525 USD per trade Closed-trade drawdown (peak-to-trough of cumulative closed-trade profit): 121.13 Trading days: 313, USD per day: 1.12, swap total: 0.03 This is a summary of the export files. It is not the MT5 HTML report.
Every figure in that output matches the summary JSON I read at the start of this part, because I checked each one against it by hand. If you run it on your own summary file, the same lines will show your numbers, and the drawdown line will still carry its closed-trade label, because the script prints what the file contains and nothing more.
Where the work stands
What works: the reading in this part is complete for the VM run. The conditions are stated, the figures are read from files I can open, the two runs are shown side by side, and the script compiles with 0 errors and 0 warnings. I checked its printed figures against the JSON by hand, then ran it in the terminal and captured the Experts log: all nine lines matched.
What was tested: one EA, EMA Cross v3.6, on Crash 500 Index M1, in-sample 2026, $10,000 demo, every tick based on real ticks, 0.2 lots, on two machines. The numbers in this part come from those two runs and from the separate demo-account slippage measurements, and nowhere else.
What was not tested: whether this EA makes money live. I have not traded it live, and nothing in this part estimates what it would earn or lose live. The expectancy-versus-demo-slippage comparison is two separate measurements placed next to each other with a caveat, not a live result. The same-EA comparison under the four modelling modes has not been run either, and any claim about how much the modes change a report is just my thinking, not proven.
Part 2 takes the next step: it puts profit factor next to win rate on two of my own reports, the Crash M1 VM run at 71.06 percent win with a 1.101 profit factor, and a second report with a much lower win rate and a higher profit factor, and shows the arithmetic that explains why the two numbers disagree.
Where the numbers come from
Crash M1 v3.6 VM run: per-trade CSV and summary JSON in the tester artefacts folder (ema-cross-crash500-m1-v36-e152-s7-trades.csv, ema-cross-crash500-m1-v36-e152-s7-summary.json). Laptop run figures as recorded in the upload inventory. Demo-account slippage: my earlier post "Backtest Passed, Live Failed: Seven Checks That Catch What the Strategy Tester Misses" (782145), final section. Competing posts cited in this part: 773029, 770779, 769768, 781357, 776654, 775565, 774074, 775605, all at mql5.com/en/blogs/post/ followed by the post number.


