Event Logger
Keep a complete financial ledger of every client money change: balance ops, interest, tax, stop-out compensation, opening commissions, fees, and realized trade profit.
What it does
6 capabilities- Complete ledger for all balance ops, interest, tax, stop-out compensation, and trades
- Captures Entry::In opening commissions and fees for ECN reconciliation
- Full amount breakdown: profit, swap, commission, fee, currency, and balance_after
- O(1) bitmask kind filtering and cached login-to-group lookup
- CSV formula-injection safe comment output and exclude_comments mask
- Minimum amount filter, group mask, and optional journal line
How it works
The plugin writes one row to the balance_events report for every change of an account's money: balance operations (balance, credit, charge, correction, bonus, commission, dividend, agent, interest, tax, so_compensation, other), opening trade deals carrying commission or fee (include_entry_commissions=1), and closing/reversal trade deals (profit + swap + commission + fee). Each row includes currency, optional balance_after, full profit/swap/commission/fee breakdown, symbol, volume, position_id, reason, and CSV-safe comment. Uses an O(1) bitmask kind filter, cached login-to-group lookups, and optional comment exclusion masks.
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 recorded (MT5 group mask). * means all |
kinds | text | balance,credit,charge,correction,bonus,commission,dividend,agent,trade,interest,tax,so_compensation,other | Kinds that are recorded, separated by commas: balance, credit, charge, correction, bonus, commission, dividend, agent, trade, interest, tax, so_compensation, other |
min_amount | decimal | 0.00 | Changes smaller than this amount (in absolute value) are skipped |
journal | bool | 0 | 1: also write a line to the server journal for each event |
include_entry_commissions | bool | 1 | 1: record Entry::In opening trade deals that have non-zero commission or fee |
include_other_kinds | bool | 1 | 1: include interest, tax, so_compensation and other deal kinds. 0: exclude them |
include_balance_after | bool | 1 | 1: include the account balance_after column in every report row |
exclude_comments | text | empty | Comma-separated wildcard masks of deal comments to skip (e.g. *internal*,rollover*) |
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
Fixed dropping Entry::In opening commissions (added include_entry_commissions=1); added DealKind::Interest, Tax, SoCompensation, Other (with include_other_kinds=1) and included d.fee in totals; replaced linear kind scan with O(1) uint32_t bitmask and cached login->group; added currency, balance_after (include_balance_after=1), profit/swap/commission/fee breakdown, symbol, volume, position_id, reason, safe_csv_value() comments, and exclude_comments mask.
Reports and administration



