Automate Forex Trading with AI-Driven MetaTrader 5 BotAutomate Forex Trading with AI-Driven MetaTrader 5 Bot
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Built an end-to-end AI-driven Forex trading bot that automates the entire trading lifecycle — from real-time market analysis to live trade execution — without any human intervention.
The system connects directly to MetaTrader 5 to pull live OHLCV and tick data, then runs it through a hybrid ensemble AI engine combining XGBoost (pattern detection on tabular indicator data) and LSTM (deep learning for time-series memory). Trades are only executed when both models agree above a confidence threshold — significantly reducing false signals.
Key engineering highlights: · Smart Money Concepts (SMC) + RSI/ATR indicators feed a complex feature set into the models · Ensemble predictor with configurable confidence thresholds before any trade fires · Risk manager calculates position sizes dynamically based on account balance, enforces stop-loss, take-profit, and daily loss limits · News filter automatically pauses trading during high-impact economic events · Real-time mission control dashboard (Flask + SocketIO) showing live charts, bot status, open trades, and AI decision logs · SQLite state persistence — bot resumes exactly where it left off after any restart
This is a production-grade system, not a tutorial project. Every layer — data, analysis, AI, risk, and execution — is decoupled and independently testable.
Tech stack: Python · TensorFlow (LSTM) · XGBoost · Scikit-Learn · MetaTrader 5 · Flask · SocketIO · Pandas · SQLite
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started