Server pluginCommissions and swapsv2.0.016 options Live demo

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.

Get a licenseDownload

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.

18 of 18
ParameterTypeDefaultDescription
groups
group mask*Client groups included in commission and minimum-commission checks (MT5 group mask). * means all
exclude_logins
textemptyComma-separated logins excluded from all commissions and minimums
group_rates
text*=7.00Commission 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
textemptyCommission per lot or % of notional by login, as login=rate; ... Wins over symbol_rates and group_rates; 0.00 exempts
symbol_rates
textemptyCommission 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
textbothWhen to charge: in (opening deals), out (closing deals), or both
min_per_deal
decimal0.00Minimum commission floor per scope (0.00: no floor). Tops up existing/calculated commission unless an explicit 0.00 rate matched
max_per_deal
decimal0.00Maximum commission cap per scope (0.00: uncapped)
scope
textdealAggregation scope for min_per_deal and max_per_deal: deal, order, or position
skip_reasons
textstop_out,close_by,split,transferComma-separated deal reasons/flags to skip (stop_out, close_by, split, corporate_action, transfer, dealer, sl, tp, ...)
balance_kind
textcommissionBalance operation type when use_native_hook=0: commission, charge, or correction
dry_run
bool01: compute and record commissions without charging accounts or mutating state
use_native_hook
bool01: set commission directly on MT5 deals via HookTradeCommissionDeal instead of posting separate balance operations
active_from
textemptyFirst day or time of the commission, YYYY-MM-DD [HH:MM]. Empty means always
active_to
textemptyLast day (a date includes the whole day) or end time. Empty means always
license_key
System
textemptyLicense key from FXOpsPro, for example FXO-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
license_server
System
texthttps://plugins.fxopspro.comLicense server address

Release history

  1. 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

View all server plugins