LP Execution Quality
Scores how well each liquidity provider gateway fills your clients: slippage, markup, latency, requotes, rejects, cancels and partial fills split by market vs triggered execution, plus multi-horizon mid-to-mid markouts and quote age, with zero-stall architecture and alerts.
What it does
10 capabilities- Zero-stall architecture without kTicks; symbol-batched tick_history() markouts on timer
- Market vs triggered (SL/TP/StopOut) execution split across gateways and symbols
- Exact slippage min/max, median, p95 adverse, positive & negative counts and averages
- LP markup (deal price vs gateway price) with configurable markup alerts
- Request latency, requotes, rejects, timeouts, cancels and partial fill ratios
- Out-of-order request/deal buffering preserving gateway attribution, markup and markouts
- Contiguous daily rollover window at daily_time (zero trades lost between daily_time and midnight)
- Configurable multi-horizon true markouts: mid(t+dt) - mid_at_fill and quote age in ms
- Symbol mask (!exclusions), group mask, and gateway exclusion filters
- Alerts per gateway for rejects, requotes, negative slippage, markup, and latency
How it works
For every fill the plugin measures slippage in points against the price the client asked for (or the market price when no request is known), where a positive number is better for the client. It also measures LP markup (deal price against gateway price), request latency, requotes, rejects, timeouts, cancels and partial fills. Results are tracked per gateway and per symbol, separated into market and triggered (SL/TP/StopOut) execution rows so triggered stop gaps never pollute market-order scorecards. Scorecards include positive and negative slippage counts and averages, median, 95th adverse percentile, exact worst/best slippage, and fill ratio. Scorecards are written periodically and on a contiguous daily rollover window at daily_time (so no trades between daily_time and midnight are ever lost). Multi-horizon markouts measure quote age at the fill and mid(t+dt) - mid_at_fill over configurable horizons using symbol-batched tick_history calls on the timer thread without subscribing to kTicks (zero feeder-thread stall). Configurable alerts fire per gateway for rejects, requotes, negative slippage, LP markup, and latency after a minimum sample count and with cooldown.
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 measured (MT5 group mask). * means all |
symbols | text | * | Symbols that are measured, comma-separated masks with * and ! exclusions (e.g. *,!BTC*). * means all |
exclude_gateways | text | empty | Comma-separated gateway names or masks to exclude from scorecards, markouts and alerts. Empty means none |
report_minutes | int | 15 | Minutes between the scorecard rows (current window so far). 0: no periodic rows |
daily_time | text | 23:55 | Server time (HH:MM) of the daily scorecard and rollover boundary. Empty turns the daily scorecard off |
alert_reject_pct | decimal | 10.00 | Alert when a gateway rejects this percent of requests or more. 0.00: off |
alert_requote_pct | decimal | 0.00 | Alert when a gateway requotes this percent of requests or more. 0.00: off |
alert_neg_slip_pts | int | 20 | Alert when the average negative slippage of a gateway reaches this many points (over at least alert_min_samples negative fills). 0: off |
alert_markup_pts | decimal | 0.00 | Alert when the average LP markup of a gateway reaches this many points. 0.00: off |
alert_latency_ms | int | 500 | Alert when the average latency of a gateway reaches this many milliseconds. 0: off |
alert_min_samples | int | 30 | Smallest number of fills, negative fills, markups, or requests a gateway needs before it can alert |
alert_cooldown_minutes | int | 60 | Same alert for the same gateway at most once in this many minutes |
markouts | bool | 1 | 1: write a markouts row for each fill: quote age at the fill and true mid(t+dt) - mid_at_fill over markout_horizons |
markout_horizons | text | 1,5,30,60,300 | Comma-separated markout horizons in seconds after the fill (1 to 3600, up to 12 values) |
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
Dropped kTicks (zero MT5 feeder-thread stall) and batched tick_history() per symbol on timer without HOL blocking. Fixed remove_slip() ±200 worst/best corruption, buffered out-of-order on_request-before-on_deal so gateway attribution/markup/markouts are preserved, required neg_n >= alert_min_samples for negative slippage alerts, emitted positive/negative slippage and cancel columns in scorecards, rolled daily window seamlessly from daily_time to daily_time, supported 0-digit symbols, switched to true mid(t+dt) - mid_at_fill markouts, pruned/capped alert and gateway caches, and fixed uint64_t state loading. Removed redundant daily_report and include_triggered (empty daily_time disables daily report; market vs triggered rows are always split). Added symbols, exclude_gateways, markout_horizons, alert_requote_pct, alert_markup_pts, and fixed decimal type on alert_reject_pct.
- v1.1.02026-11-22
New: markouts rows. For each fill the plugin writes the age of the quote at the fill and the mid price move 1, 5, 30 and 60 seconds later. New parameter markouts. Fix: the five integer parameters now have the type int.
- v1.0.02026-11-20
First release: slippage, LP markup, latency, requotes, rejects, timeouts and partial fills per gateway and per symbol, scorecard rows every few minutes and daily, and alerts per gateway with a minimum sample size and a cooldown.
Liquidity provider



