Invalid Balances
General Information
Once a week, the Invalid Balances trigger checks whether account balances are correct. It recalculates each account's balance and credit from its trading history and compares the result with the values stored on the trading server. If they differ, the trigger either notifies dealers or corrects the balance automatically.
- If Automatic Balance Correction is enabled, the system will automatically fix detected mismatches.
- If Automatic Balance Correction is disabled, a notification is sent to the dealer for manual confirmation before correction.
How it works
- The check starts on the selected Weekday at the selected Hour. The time is taken from the trading server's clock. Each rule runs at most once on its scheduled day.
- All real accounts covered by the rule are checked in batches.
- An account is reported when either of these values reaches the Minimum Detectable Mismatch:
- the balance difference, or
- the credit difference.
- For each account with a mismatch, one of two things happens:
- Automatic Balances Correction = Disabled: a notification is created with the rule's severity. Example text: "Login 12345 has wrong balance, difference in 15.20 USD, wrong credit, difference in 5 USD".
- Automatic Balances Correction = Enabled: the balance is corrected on the trading server automatically. The event is still recorded as an automatically processed notification.
- A new notification is not created for an account if:
- an unprocessed notification already exists for that account, or
- the mismatch is exactly the same as in the last processed notification.
Menu Navigation
To access this trigger, navigate to Risk Management > Additional in the main sidebar and locate the Invalid Balances card.

From the main card, you can view the number of active rules and quickly access the Configure or View report sections.
Configuring Rules
Clicking the Configure button on the Invalid Balances card opens the rule management dashboard.
-
Server/Platform Filters: At the top of the screen, you can filter your existing rules by trading platforms and servers (e.g., All, MT4, MT5, cTrader).
-
Rule Management: Each existing rule is displayed in a list showing its State (Active/Inactive) and Details (Name and assigned Server). You can Edit or Delete (trash bin icon) any existing rule directly from this list.
-
Top Toolbar Options:
- Export/Import rules: Download your current configurations or upload existing ones, which is useful for backing up setups or migrating them between environments.
- Add rule: Click this button to create a new monitoring configuration.
Adding or Editing a Rule
When you choose to add a new rule or edit an existing one, you will need to define the following parameters:

General Settings
| Parameter Name | Description |
|---|---|
| Rule name | Enter a clear, descriptive name for the trigger (e.g., "DefaultRuleName" or "VIP Accounts Check") |
| Active | Use this toggle switch to enable (turn on) or disable (turn off) the rule without needing to delete it. |
| Severity | Define the alert level generated when this trigger fires. You can choose between: Critical (Red), Warning (Yellow), Notice (Green) |
| Automatic Balances Correction | Enabled: invalid balances are corrected automatically. Disabled: dealers receive a notification for each account with an invalid balance. |
| Minimum Detectable Mismatch, USD | Smallest balance or credit mismatch that triggers a notification (0–1000, step 10). If set to 0, any mismatch is reported. |
| Weekday | Day of the week when the check runs. |
| Hour | Start time (hour and minute) of the check. |
Accounts
This section defines the scope of the accounts that the rule will monitor.
- Account groups: Click the Edit list button to open the side panel containing your server's folder structure. Here, you can select specific groups of accounts (e.g., demo groups, real groups, or specific B-book/A-book folders) to be included in the rule. Selected groups will appear in a list; you can remove them individually by clicking the trash bin icon next to their name.
- Included accounts: If you want to monitor specific, individual account numbers rather than an entire group, you can search for and add them using this dropdown field.
Once you have configured all the parameters, click the Save changes button on the left to apply the rule.
Permissions
🛠 MT5: "Accountant (deposit/withdraw)" permission required.
🛠 MT4: Admin permission required.
MT4

MT5

Trigger Logic
📌 The trigger runs a weekly check on account balances at the specified day and time.
📌 It verifies balances by comparing all executed orders of the account.
📌 If an incorrect balance is detected:
- ✅ If automation is ON, the balance is automatically corrected.
- 🚨 If automation is OFF, a notification is generated for dealer approval.
The system utilizes MetaQuotes' built-in features to correct the balance.