Deal Recorder
Write trade deals to a report with the exact deal-time quote, account snapshot, price deviation, and full execution details.
What it does
6 capabilities- One report row per matching trade deal
- Deal-time bid and ask aligned exactly with price_deviation_points
- Distinguishes exact 0-pt market fill from unavailable quotes (na)
- Classifies opening, closing, reversal (inout), and close-by (out_by) entries
- Optional execution detail columns: time_msc, position_id, commission, swap, fee, reason, sl, tp, expert, gateway, gateway_price, notional, comment
- Filter by group mask, symbol mask, entry, deal reason, min_volume, and min_deviation_points
How it works
For each matching trade deal the plugin writes one row to the deals report with time, deal id, login, group, symbol, side, entry (in, out, inout, out_by), volume, deal price, the exact deal-time bid and ask used to compute price_deviation_points and price_deviation_result (positive, negative, 0 for exact market fill, or na when quote is unavailable), profit, and account balance, credit, equity, margin, free margin, and margin level. With include_details=1 each row also includes time_msc, position_id, commission, swap, fee, reason, sl, tp, expert, gateway, gateway_price, notional, and CSV-safe comment. Filter by groups, symbols, entries, reasons, min_volume, and min_deviation_points.
Parameters & options
Configured directly in MetaTrader 5 Administrator and testable live in the simulator.
| Parameter | Type | Default | Description |
|---|---|---|---|
groups | group mask | * | Client groups that are recorded (MT5 group mask). * means all |
symbols | text | * | Symbols that are recorded, a mask list like EUR*,XAU*,!EURTRY. * means all |
entries | text | both | Which deals: in (opening), out (closing) or both |
include_details | bool | 1 | 1: include execution details (time_msc, position_id, commission, swap, fee, reason, sl, tp, expert, gateway, gateway_price, notional, comment) |
min_volume | decimal | 0.00 | Minimum deal volume in lots to record. 0.00 records all |
min_deviation_points | int | 0 | Minimum absolute price deviation in points to record. 0 records all |
reasons | text | * | Deal reasons mask (e.g. *, client,expert, *,!so,!dealer) |
license_key | text | empty | License key from FXOpsPro, for example FXO-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX |
license_server | text | https://plugins.fxopspro.com | License server address |
Release history
- v1.2.0Latest2026-11-24
Fixed bid/ask mismatch against price_deviation_points by recording deal-time market_bid/market_ask directly (skipping host().symbol() when present); distinguished exact 0-pt fill ('0') from unknown quote ('na'); clamped digits 0..8; classified ENTRY_INOUT (inout) and ENTRY_OUT_BY (out_by); added include_details, min_volume, min_deviation_points, and reasons filters; fixed changelog schema.
- v1.1.02026-11-20
New columns at the end of the deals report: price_deviation_points (the deal price against the market, in points; positive is better for the client, negative is worse) and price_deviation_result.
Reports and administration



