Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Scripts

Execution Audit - slippage and server latency report with SHA-256 fingerprint - script pour MetaTrader 5

Franck Marc Noel Pfeffer
Franck Marc Noel Pfeffer
Je suis trader et je développe mon propre système sur MT5. Je construis les Expert Advisors comme je construis le mien : spécifiés avant d'être codés, testés sur les cas limites, et documentés pour que le résultat se vérifie au lieu de se croire.
CE QUE JE FAIS
Vues:
15
Publié:
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

How well were your orders really filled? This read-only script audits every deal of a chosen period and writes a CSV report, then fingerprints that exact file with SHA-256 so the report can be shared as proof.

What it measures, for each deal

  • Slippage: the filled price compared with a reference price, in price units and in points (positive = against you).
  • Reference price: the order price when the server stores one (stop loss, take profit, pending orders); otherwise the quote at the millisecond the order was sent (ask for a buy, bid for a sell), read from the tick history. The column reference_source tells which one was used.
  • Server latency of market orders: time between order setup and execution, in milliseconds.

Summary in the Experts tab

Average, median and worst slippage; share of fills worse / better / at the same price; median slippage of stop losses on their own; median and maximum latency.

Inputs

Period (default: last 30 days), symbol filter, magic number filter (0 = manual trades), file name, CSV separator, common folder, use of the quote at send time.

Notes

  • Read-only: it never sends, modifies or closes an order. No account number is written to the report.
  • With market execution, brokers do not store the price you asked for on market orders. The quote at send time is the closest honest reference, not the exact price you clicked.
  • The companion .sha256 file uses the standard sha256sum format: sha256sum -c ExecutionAudit.csv.sha256
  • If the tick history is not loaded yet, open the symbol's chart once and run the script again.
Symbol Trading Hours: broker trade sessions, countdown and off-session bars Symbol Trading Hours: broker trade sessions, countdown and off-session bars

An indicator that reads the broker's weekly trade-session schedule for the chart symbol and shows whether trading is open, when the next close or open happens and a live countdown to it. It also marks bars that lie completely outside the trade sessions.

Backtest Data Preflight: check broker bar and tick history Backtest Data Preflight: check broker bar and tick history

Check the first and last available bars, gaps between bars, and available MT5 tick history for a date range before a backtest.

Range Expansion Clock: When the Day's Range Actually Gets Made. Range Expansion Clock: When the Day's Range Actually Gets Made.

A per-hour profile of when the day's range actually gets built, plus a live readout of whether today is running ahead of or behind its usual pace

Round Number Reaction Map: Touch, Reject or Break at 00 and 50 Levels Round Number Reaction Map: Touch, Reject or Break at 00 and 50 Levels

Tracks every touch of a round "00" or "50" level and keeps a running scorecard of how often price rejects versus breaks through — then maps that history onto the levels nearest to current price.