Swap Control Center
Controls daily swaps at rollover: swap-free logins/groups with Islamic admin fees, group and symbol scoping/markups, positive swap cuts, swap-free days, separate commission charges, and earnings reports.
What it does
12 capabilities- Swap-free logins and group masks via fast on_rollover_ext hook
- Islamic / Sharia admin storage fee per lot after grace days
- Group and symbol scoping to exempt Demo or VIP groups from markup
- Percent cut of positive swaps (100% removes positive swaps completely)
- Default, per-group, per-symbol and flat per-lot negative swap markups
- Charge negative swaps and admin fees as commission or balance charge
- Swap-free grace days: rollovers, calendar_days, or swap_days (3x Wed)
- Proportional partial-close scaling and automatic stale state pruning
- Opt-in per-position swaps report to keep midnight rollovers fast
- Per-symbol and daily earnings reports with numeric net_revenue
- Single-batch midnight rollover reporting and CRM earnings charts
- Isolated dry-run mode that never mutates live swap-free day state
How it works
The plugin works on the daily swap of every position at rollover using the fast extended rollover hook without per-position account queries. Choose logins and client groups that pay and receive no swap (swap-free / Islamic accounts), and optionally charge a Sharia-compliant per-lot admin storage fee (admin_fee_per_lot) after swap_free_days grace days. Scope markup, positive swap cuts and swap-free days to specific client groups (groups) and symbols (symbols) so Demo or VIP groups can be exempted without making them swap-free. Cut positive swaps by any percentage (set positive_swap_percent=100.00 to remove positive swaps), apply default, per-group (group_markups) or per-symbol (symbol_markups) negative swap markups plus flat fixed_markup_per_lot, and count swap_free_days by rollovers, calendar_days or swap_days (counting Wednesday 3x swap as 3 days) with proportional partial-close scaling. Negative swaps can be charged as a separate commission or balance charge. Per-symbol (swap_revenue) and daily (swap_daily) earnings reports emit numeric net_revenue alongside the revenue/expense/flat result label, keep midnight rollovers in a single daily report, and offer opt-in per_position_report plus isolated dry_run previews.
Parameters & options
Configured directly in MetaTrader 5 Administrator and testable live in the simulator.
| Parameter | Type | Default | Description |
|---|---|---|---|
symbols | text | * | Symbols the rules apply to, comma separated, * is any text (for example EURUSD,XAU*) |
groups | group mask | * | Client groups the markup, positive swap cut and swap-free days apply to (MT5 group mask; swap-free logins/groups always stay swap-free) |
swap_free_logins | text | empty | Logins that pay and get no swap, comma separated |
swap_free_groups | group mask | empty | Groups that pay and get no swap (MT5 group mask). Empty means none |
positive_swap_percent | decimal | 0.00 | Percent taken off every positive swap, so the client gets less (for example 20.00: client gets 80%; 100.00: removes positive swaps). 0 means no cut |
markup_percent | decimal | 10.00 | Default percent added to every negative swap. 0 means no markup |
group_markups | text | empty | Per-group markup percent overrides, first match wins: mask=percent separated by semicolons, for example vip*=5.00; standard*=25.00 |
symbol_markups | text | empty | Per-symbol markup percent overrides (takes precedence over group_markups), first match wins: mask=percent separated by semicolons, for example XAUUSD=30.00; BTCUSD=50.00 |
fixed_markup_per_lot | decimal | 0.00 | Default flat additional swap markup per lot in account currency (deducted from both positive and negative swaps). 0.00 means off |
symbol_fixed_markups | text | empty | Per-symbol flat markup per lot overrides (takes precedence over fixed_markup_per_lot), first match wins: mask=amount separated by semicolons, for example EURUSD=1.00; XAUUSD=2.50 |
lp_base_rates | text | empty | Optional LP base swap per lot (client sign: + paid, - charged) for broker markup revenue tracking: mask=long/short separated by semicolons, for example EURUSD=4.00/-8.00 |
charge_as | text | swap | How a negative swap is taken: swap (as the swap), commission or balance (a separate operation) |
swap_free_days | int | 0 | Number of swap-free grace days for new positions (also grace days before Islamic admin_fee_per_lot). 0 means off |
swap_free_days_mode | text | rollovers | How swap_free_days are counted: rollovers (callbacks), calendar_days (days since open), or swap_days (Wednesday 3x swap counts as 3 days) |
after_free_days | text | next_day | If the position is still open after the swap free days: next_day (the swap starts after) or retroactive (the held days are charged too) |
admin_fee_per_lot | decimal | 0.00 | Islamic / Sharia swap-free storage fee per lot charged on swap-free accounts after swap_free_days grace days (as commission or balance charge). 0.00 means off |
rollover_report | bool | 0 | 1: at every rollover write the swap revenue (each symbol) and daily summary reports. Always on when any earning rule or dry_run is set |
per_position_report | bool | 0 | 1: write one row per modified position to the swaps report at rollover. 0: off by default to avoid high-volume rollover I/O |
dry_run | bool | 0 | 1: change no swap or balance, only record what the rules would have charged (reports swaps_dry_run, swap_revenue, swap_daily) |
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.4.0Latest2026-11-29
Added symbol_fixed_markups (per-symbol flat $/lot markup on both positive and negative swaps) and lp_base_rates (SYMBOL=long/short LP base swap comparison emitting lp_base_swap and lp_markup_revenue). Fixed net_revenue accounting so waived swaps on swap-free accounts and grace days are not counted as broker revenue.
- v1.3.02026-11-24
Removed redundant positive_swaps parameter (use positive_swap_percent=100.00). Added groups scoping, group_markups, symbol_markups, fixed_markup_per_lot, Islamic admin_fee_per_lot, swap_free_days_mode (rollovers|calendar_days|swap_days), and opt-in per_position_report. Implemented on_rollover_ext to eliminate rollover thread stalls, isolated dry_run held state, proportional partial-close scaling via on_position_update, stale held pruning, midnight rollover batching, and numeric net_revenue for CRM charts.
- v1.2.02026-11-22
New parameter positive_swap_percent: take a percent off every positive swap. The swap reports now show the markup and positive swap cut earnings per symbol and per day (shown as a chart in the CRM), and are on when a markup or cut is set. Removed: the order block for two symbol lists (exclusive_symbols_a, exclusive_symbols_b), the LP rates (lp_rates) and LP financing columns, and the rollover_exposure report.
- v1.1.02026-11-20
LP financing rates (lp_rates), swap revenue and daily summary reports, rollover exposure report (net lots and notional per symbol), and dry_run to test rules without changing swaps. New parameters lp_rates, rollover_report, dry_run; all off by default.
Commissions and swaps



