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
- Copy the plugin DLL — Place
BrokeretSmartExec64.dllinto your MT5 server'spluginsdirectory - Whitelist API port — If you plan to use the REST API for remote management, whitelist port
8444(default) in your firewall - Restart the server — Restart the MT5 Trade Server (or the entire cluster) so it discovers the new plugin DLL
- Enable in MT5 Admin — Open MT5 Administrator → Server → Plugins → Add → select Brokeret Smart Execution → set to Enabled → Save
- Configure rules — Set
Rule_1(and optionallyRule_2throughRule_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:
- Create a trading account in MT5 (e.g. login
99999) - Set the
PNL_Track_Accountplugin parameter to that login - Each slippage event creates a
DEAL_CHARGEon that account - Deal comments follow the format:
SE <deal_id>/<client_login> <symbol>
Set PNL_Track_Account to 0 to disable.
Troubleshooting
| Problem | Solution |
|---|---|
Plugin shows license REJECTED | Your server IP is not whitelisted — contact Brokeret |
Plugin shows license INACTIVE or EXPIRED | Your license has been deactivated or expired — contact Brokeret to renew |
no rules configured in journal | No rules are set — add at least one rule via parameters or the REST API |
| Plugin not appearing in MT5 Admin | Ensure BrokeretSmartExec64.dll is in the plugins directory and restart the server |
| Cannot connect to the API | Ensure 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