Trading robot · MT5

Trade Split Manager

by codedpro

This MetaTrader 5 expert advisor serves as an AI-friendly bridge, connecting external platforms to the terminal via REST API and TCP sockets.

GitHub stars79
Forks19
Last update2 months ago6 Jul 2026
LicenceCustom licence

Overview

Trade Split Manager specializes in intelligent order splitting, where a single trade signal is divided into up to ten individual positions with staggered take-profit levels and custom volume distributions. The system includes automated trailing stop logic that moves stop losses to break-even once secondary targets are reached. It manages risks through daily drawdown limits, maximum position counts, and spread checks while supporting any symbol, including gold and silver.

Details

Author

codedpro on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Multi-strategy

Markets

Forex, Gold

Timeframes

Any timeframe

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Topics

ai-agentalgorithmic-tradingautomated-tradingclaude-aiexpert-advisorfastapiforex-botgold-tradingmetatrader5mql5

Input parameters

Read from bulk-add-signals.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
ServerHoststring127.0.0.1Python server host
ServerPortint5555Python server port
MagicNumberint20250117Magic number for orders
DefaultLotSizedouble0.1Default lot size
MaxSpreadPipsint10Max spread in pips (0 disables the check)
MaxPositionsint50Max open positions + pending orders (combined)
MaxDailyLossPercentdouble5.0Max daily loss %
SocketCheckIntervalMsint500Socket check interval (ms)
SocketTimeoutint3000Socket timeout (ms)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone codedpro/mt5-trade-split-manager from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 5 months ago GPL-3.0 GitHub repository of EA31337

EA31337 Libre

by EA31337
252 stars

EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre

Gold Trader EA

by mehdi-jahani
141 stars

Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n

MT5 Trading robot Multi-strategyTrend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Gold Trader EA
84 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts including Order Blocks, Fair Value Gaps, and Break of Structure entries. It features an automated mode that combines multiple strategies alongside market regime detection using ADX or Efficiency Ratio to ensure trading in trending conditions. Risk managem

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 2 months ago Apache-2.0 GitHub repository of SMC Unified Expert Advisor

My Trading Bot

by carlosrod723
77 stars

This MetaTrader 5 expert advisor implements a multi-strategy framework based on Smart Money Concepts. It identifies fractal-based liquidity sweeps, order blocks, and Fibonacci zones across multiple timeframes, typically using H4 for trend direction and M15 for execution. The EA includes an optional machine learning fil

MT5 Trading robot SMC / ICT / price actionAI / machine learningMulti-strategy
Updated 10 months ago MIT GitHub repository of My Trading Bot

Makets GA

by nopaixx
20 stars

Makets GA is a neural network trading system for MetaTrader 5 that utilizes genetic algorithms to optimize weights for multi-layer perceptrons. Instead of standard price prediction, the EA evolves trading strategies by processing price data across several major currency pairs simultaneously. It implements evolutionary

MT5 Trading robot AI / machine learningMulti-strategy
Updated 8 years ago None stated GitHub repository of Makets GA

More trading robots

Need a broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers