Backtest Auditor B3
- Utilità
- Versione: 1.0
- Attivazioni: 5
The optimizer tests hundreds of combinations and shows the one with the highest result. How much of that result is only chance? This utility reads the files saved by the Strategy Tester and answers five questions.
Attempts: how many combinations were tested, and the confidence that remains after discounting them. The calculation is the deflated Sharpe ratio, published by Bailey and Lopez de Prado in 2014.
Next period: what happened in the forward period to the combination chosen by the past. Each forward file is one window, so you can add several.
Costs: the result after fees and slippage, and again with the cost doubled. For the futures of B3 (WIN, WDO, IND and DOL) the value of the tick is already known. On other symbols it comes from your terminal.
Five largest trades: how much of the result depends on only five trades.
Verdict: holds up, doubtful or does not hold up, with the reason.
How to use it: attach the utility to any chart. It creates the folder MQL5\Files\BacktestAuditor. Save there the report of the chosen test (HTML), the optimization results (XML) and the forward results (XML). The panel updates by itself. Use one folder content per strategy: files of another one are left out, and the panel says so. The numbers are also saved in a file for spreadsheets.
Inputs: fees per contract, slippage in ticks, attempts made before that are not in the files, panel side and font size.
In the Strategy Tester the utility shows sample data, because the tester has no access to your files. It does not trade, and nothing is sent anywhere.
The utility measures the past. A solid backtest can still fail, and the numbers are not trading advice.
