Brokeret LogoDocs
Plugins / Smart Execution/Installation

Installation

Step-by-step guide to installing the Smart Execution plugin.

Requirements

  • MetaTrader 5 Server (x64)
  • Windows Server with MT5 Trade Server running
  • Server public IP whitelisted by Brokeret (contact the Brokeret team)

Installation Steps

  1. Copy the plugin DLL — Place BrokeretSmartExec64.dll into your MT5 server's plugins directory
  2. Whitelist API port — If you plan to use the REST API for remote management, whitelist port 8444 (default) in your firewall
  3. Restart the server — Restart the MT5 Trade Server (or the entire cluster) so it discovers the new plugin DLL
  4. Enable in MT5 Admin — Open MT5 Administrator → Server → Plugins → Add → select Brokeret Smart Execution → set to Enabled → Save
  5. Configure rules — Set Rule_1 (and optionally Rule_2 through Rule_8) in the plugin parameters
💡
TipThe minimum configuration is just one rule, e.g. Rule_1 = real\* | 120 | fixed_pips | 1.5 | pips | profitable | * | 0. This will apply 1.5 pips slippage to all profitable trades in real\* groups closed within 120 seconds.

Licensing

The Smart Execution plugin requires IP whitelisting. No license keys or manual activation is needed — simply provide your MT5 server's public IP address to the Brokeret team and it will be whitelisted.

Once your IP is whitelisted, the plugin activates automatically on startup. If your server IP changes, contact Brokeret to update the whitelist.

📧
NoteContact the Brokeret team with your server's public IP address to get started.

Verifying Installation

Check the MT5 server journal for:

Brokeret Smart Execution v2.00 — Copyright 2026, Brokeret
BrokeretSE: license VALID
BrokeretSE: plugin started, monitoring deals

You can also verify via the API:

curl -H "X-API-Key: default" http://<server_ip>:8444/api/status
⚠️
WarningChange the default API key (default) before deploying to production. Set the API_Key plugin parameter in MT5 Administrator to a strong, unique value. Leave API_Key empty to disable the API entirely.

PNL Tracking (Optional)

To track all captured slippage as transactions on a dedicated account:

  1. Create a trading account in MT5 (e.g. login 99999)
  2. Set the PNL_Track_Account plugin parameter to that login
  3. Each slippage event creates a DEAL_CHARGE on that account
  4. Deal comments follow the format: SE <deal_id>/<client_login> <symbol>

Set PNL_Track_Account to 0 to disable.

Troubleshooting

ProblemSolution
Plugin shows license REJECTEDYour server IP is not whitelisted — contact Brokeret
Plugin shows license INACTIVE or EXPIREDYour license has been deactivated or expired — contact Brokeret to renew
no rules configured in journalNo rules are set — add at least one rule via parameters or the REST API
Plugin not appearing in MT5 AdminEnsure BrokeretSmartExec64.dll is in the plugins directory and restart the server
Cannot connect to the APIEnsure API_Key is set (not empty), check firewall allows TCP on the API port

Next Steps

  • Parameters — Learn about all configuration options and rule formats
  • API Reference — Manage rules and whitelists programmatically