Conversion Rate Markup
Charges a configurable percentage markup on closing deal profits or losses converted into the account currency, with caps and stop-out protection.
What it does
10 capabilities- Detects currency conversion via flag and profit-vs-group currency comparison
- Applies percentage markup to closing deals (converted only or all)
- Filter by side_mode: both, profit_only, or loss_only
- Skips close-by deals and stop-out liquidations (skip_stop_out)
- P&L threshold (min_amount), minimum floor (min_charge), and cap (max_charge)
- Configurable balance_kind: charge, commission, or correction
- Group mask and symbol mask with wildcards and ! exclusions
- Dry-run auditing mode without posting balance operations
- Crash-safe deal deduplication persisted across restarts
- Writes every markup calculation to the conversion_markup report
How it works
When a position closes on a symbol whose profit currency differs from the account currency, the trade server converts the realized result into the account currency. Conversion Rate Markup detects cross-currency deals accurately (even at 1.00000 parity) via both the server converted flag and profit-vs-group currency comparison, and charges a percentage markup as a charge, commission, or correction deal. Automatically skips close-by deals and optionally stop-out deals (skip_stop_out) so liquidated accounts are not driven negative. Supports side_mode (both, profit_only, loss_only), min_amount P&L threshold, min_charge floor, max_charge cap, symbol wildcard masks with ! exclusions, dry_run auditing, and persistent deal deduplication across restarts.
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 charged (MT5 group mask). * means all |
symbols | text | * | Symbols that are charged, comma separated; wildcards and ! exclusions allowed (for example *,!EURUSD) |
markup_percent | number | 0.50 | Percent of the profit or loss that is charged on closing deals |
apply_to | text | converted | converted: only deals whose profit currency differs from the account currency. all: every closing deal |
side_mode | text | both | both: charge profits and losses. profit_only: charge only profitable closes. loss_only: charge only losing closes |
min_amount | number | 0.00 | Minimum absolute deal profit/loss required before any markup or min_charge applies. 0: no threshold |
min_charge | number | 0.00 | Smallest charge when markup_percent > 0 and min_amount is met. 0 means no minimum |
max_charge | number | 0.00 | Largest charge per deal. 0 means no maximum |
skip_stop_out | bool | 1 | 1: skip deals closed by stop out so accounts are not driven negative. 0: charge stop-out closes too |
balance_kind | text | charge | Balance operation type: charge, commission, or correction |
dry_run | bool | 0 | 1: log and record conversion_markup rows without posting balance charges. 0: post charges |
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.1.0Latest2026-11-24
Accurate currency-based converted detection (even at parity), skips close-by and stop-out deals by default, calls mark_dirty() on state updates, O(1) unordered_set deduplication and login group cache, ! exclusions in symbols, plus side_mode, max_charge, min_amount, skip_stop_out, balance_kind, and dry_run.
Commissions and swaps



