Veritas EA tester Skill or Luck
- Utilities
-
Alexandre Roger Hilaire Caron
Just try my products and enjoy. - Version: 1.0
- Activations: 5
Veritas is the truth test for trading robots. A backtest can look great by pure luck: Veritas answers one question, does this robot really beat chance? It reads a Strategy Tester report or your account history and gives a clear grade from A to F in a few seconds. It never trades.
What Veritas checks
- Random twins: every trade of the robot is replayed 500 times on random days, in a random direction, with the same stop loss, take profit, holding time and costs. A lucky robot lands in the middle of its twins. A robot with a real edge beats them.
- Cost stress: the net result with the spread multiplied by 1.5, 2 and 3, and the spread level where the edge disappears.
- Monte Carlo: 2,000 reshuffles of the trades give the typical drawdown, the bad-case drawdown and the chance to end in loss.
- Prop challenge: the probability to reach the profit target before the daily or total loss limit (10% / 5% / 10% by default).
- Year by year: are the profits spread over time, or made in one lucky year?
- One grade from A to F. A means: beats 99% of its twins, survives a doubled spread, wins at least two years out of three, 200 trades or more. F means: no better than chance.
What Veritas reads
- Any MetaTrader 5 Strategy Tester report saved as HTML, whatever the language of the terminal, with one or several symbols.
- Or the history of your own account, for all trades or one magic number.
- Price history comes from your terminal. The twins are simulated on M1 bars when available, otherwise on M5, M15 or H1, and the result card says so.
How to use
- Run the robot in the Strategy Tester: your own robot, or the free demo of a robot you are thinking of buying.
- In the Backtest tab, right-click and choose Report, then HTML. Save the file in the MQL5\Files folder of the terminal (File menu, Open Data Folder).
- Drag Veritas onto any chart and click OK. It reads the newest report and shows the result. A picture of the result card is saved in MQL5\Files.
Input parameters
- Data source - Strategy Tester report (HTML file in MQL5\Files) or the history of this account. Default: report.
- Report file in MQL5\Files (empty = newest .htm/.html) - name of the report to read. Leave empty to read the most recent one.
- Account history: magic number (-1 = all trades) - used with the account history, to test one robot only.
- Symbol names, if the report comes from another broker - for example NAS100=USTEC;GOLD=XAUUSD. Leave empty when the names are the same.
- Number of random twins (100 - 2000) - more twins give a finer result but take longer. Default 500.
- Extra slippage per side, in points - added to the robot and to the twins, to test harder conditions. Default 0.
- Prop challenge: profit target (%) - default 10.
- Prop challenge: max daily loss (%) - default 5.
- Prop challenge: max total loss (%) - default 10.
Good to know
- Veritas is read only: it never opens, modifies or closes a trade.
- It works on a normal chart, not inside the Strategy Tester.
- Results are reproducible: the same report always gives the same grade.
- For the finest simulation, set Tools, Options, Charts, Max bars in chart to Unlimited and restart the terminal.
- A robot with fewer than 100 trades cannot get more than C: too few trades to tell skill from luck.
Veritas measures the evidence contained in past data. It does not predict future results and it is not investment advice.
