Case study 03 · C++ / FinTech / Trading Systems · 2025 – 2026
MetaTrader Dealing Desk Plugin
Designed and implemented a MetaTrader Dealing Desk plugin with broker-oriented slippage management functionality.
- Domain
- Forex brokerage
- Role
- Designer & developer
- Type
- Server-side plugin
- Stack
- C++ · MT4/MT5
From my work before founding ArtaPattern. Client names and confidential details are left out, and diagrams are conceptual.
Dealing-desk logic inside the trading server
A C++ plugin for MetaTrader servers that adds dealing-desk behavior with configurable, broker-oriented slippage management, built alongside other broker-specific plugins.
Engineering context
Server-side MetaTrader plugins run inside the trading server process, so correctness and careful testing matter more than usual: a defect affects order handling directly.
Problem & constraints
- The plugin runs inside the MetaTrader server process, so correctness comes before features.
- It had to integrate with both MT4 and MT5.
- Slippage behavior had to be configurable by the broker.
- Architecture, implementation, configuration, debugging and testing were owned by one engineer.
A configurable server-side plugin
The plugin sits in the server's order flow and applies broker-defined slippage rules, with configuration kept separate from code so behavior can be adjusted without rebuilding.
Key engineering decisions
Keep rules configurable
Slippage behavior is driven by broker configuration rather than hard-coded values, so policy changes do not require a new build.
Test before integration
Behavior was verified before connecting the plugin to MT4/MT5 servers, because a defect inside the server affects order handling directly.
Keep the engineering boundary clear
I owned architecture, implementation, configuration, debugging, testing and MT4/MT5 integration; the slippage policy itself remains the broker's decision.
Implementation & delivery
- 01
Design
Plugin architecture.
- 02
Implement
C++ and configuration.
- 03
Test
Debugging and verification.
- 04
Integrate
MT4 / MT5.