Overview
An autonomous MetaTrader system combining MQL5 execution with Python strategy models, live dashboards and layered risk controls.
The problem
Manual trading is inconsistent and emotional. The goal was a system that executes a defined strategy consistently, tracks performance in real time, and — critically — limits downside automatically.
Approach
- Separated strategy (Python models) from execution (MQL5), so signal logic could evolve without touching the broker integration.
- Implemented risk controls: position sizing, maximum drawdown limits, daily loss caps and hard stop-losses.
- Built a live dashboard for PnL, open positions and strategy health.
- Added Pine Script indicators for chart-level visualisation and manual validation.
- Logged every decision so strategy changes could be evaluated against real outcomes.
Result
A disciplined execution engine that runs the strategy identically every time, with the risk layer enforcing limits no matter what the market does.