Commission Manager
Charges per-lot or percentage commissions by login, symbol, or group with minimum floors, maximum caps, partial-fill aggregation, and optional native MT5 deal commission hooking.
What it does
8 capabilities- Per-lot or percentage-of-notional rates by login, symbol wildcard, or group mask
- Top-level group mask filter and exclude_logins list with cached login-to-group lookup
- Minimum commission floor (min_per_deal) and maximum cap (max_per_deal) with VIP 0.00 exemption
- Partial-fill aggregation by deal, order, or position scope
- Configurable skip_reasons (stop_out, close_by, split, transfer) and !symbol exclusions
- Optional native MT5 deal commission hook (use_native_hook) avoiding separate balance ops
- Dry-run auditing mode and selectable balance kind (commission, charge, correction)
- Crash-safe dirty state persistence with O(1) bounded deal deduplication (50,000 deals)
How it works
Commission Manager charges custom trading commissions without relying on MT5 group commission tables, or tops up native MT5 commissions to a configured minimum floor. Rates can be set per lot or as a percentage of notional value by login, symbol wildcard, or group mask, with top-level group filtering and login exclusions. Supports per-deal, per-order, or per-position aggregation scopes to prevent partial-fill minimum overcharging, configurable skip reasons (stop-out, close-by, split, transfer), dry-run auditing, selectable balance operation kind, and native MT5 HookTradeCommissionDeal integration. Replaces the retired Minimum Commission plugin.
Parameters & options
Configured directly in MetaTrader 5 Administrator and testable live in the simulator.
| Parameter | Type | Default | Description |
|---|---|---|---|
groups | group mask | * | Client groups included in commission and minimum-commission checks (MT5 group mask). * means all |
exclude_logins | text | empty | Comma-separated logins excluded from all commissions and minimums |
group_rates | text | *=7.00 | Commission per lot or % of notional by group, as mask=rate; ... (e.g. real\*=7.00; *=0.01%). First match wins; 0.00 exempts |
login_rates | text | empty | Commission per lot or % of notional by login, as login=rate; ... Wins over symbol_rates and group_rates; 0.00 exempts |
symbol_rates | text | empty | Commission per lot or % of notional by symbol wildcard, as mask=rate; ... (e.g. XAUUSD=5.00; BTCUSD=0.10%). Wins over group_rates |
symbols | text | * | Symbols charged, comma separated with wildcards and !exclusions (e.g. *,!BTC*) |
charge_on | text | both | When to charge: in (opening deals), out (closing deals), or both |
min_per_deal | decimal | 0.00 | Minimum commission floor per scope (0.00: no floor). Tops up existing/calculated commission unless an explicit 0.00 rate matched |
max_per_deal | decimal | 0.00 | Maximum commission cap per scope (0.00: uncapped) |
scope | text | deal | Aggregation scope for min_per_deal and max_per_deal: deal, order, or position |
skip_reasons | text | stop_out,close_by,split,transfer | Comma-separated deal reasons/flags to skip (stop_out, close_by, split, corporate_action, transfer, dealer, sl, tp, ...) |
balance_kind | text | commission | Balance operation type when use_native_hook=0: commission, charge, or correction |
dry_run | bool | 0 | 1: compute and record commissions without charging accounts or mutating state |
use_native_hook | bool | 0 | 1: set commission directly on MT5 deals via HookTradeCommissionDeal instead of posting separate balance operations |
active_from | text | empty | First day or time of the commission, YYYY-MM-DD [HH:MM]. Empty means always |
active_to | text | empty | Last day (a date includes the whole day) or end time. Empty means always |
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
- v2.0.0Latest2026-11-24
Merged Minimum Commission into Commission Manager: added groups, exclude_logins, symbol_rates (per-lot or %), min_per_deal, max_per_deal, scope (deal|order|position), skip_reasons, dry_run, balance_kind, use_native_hook (kCommission), !symbol exclusions, fractional lot support, mark_dirty() persistence, O(1) 50k DealMemo, cached login->group lookup, and <=31-char MT5 balance comments.
Commissions and swaps



