Copier & bridge · MT4 · MT5

MT4 MT5 Bridge

by okorie22

This collection of tools for MetaTrader 4 and 5 provides a bridge between trading terminals and external communication channels.

GitHub stars1
Forks0
Last update1 year ago12 Sep 2025
LicenceNone stated

Overview

MT4 MT5 Bridge includes an alert system that broadcasts trade events, terminal screenshots, and signals to Telegram groups or channels. Additionally, it features an execution module that reads trading signals from local CSV files, automatically mapping symbols to broker-specific aliases. The software includes risk management settings such as ATR-based stop loss calculation, percentage-based lot sizing, and an emergency stop mechanism that halts trading if specific daily or overall drawdown thresholds are reached.

Details

Author

okorie22 on GitHub

Type

Copier & bridge

Platform

MetaTrader 4 (MQL4) and MetaTrader 5 (MQL5)

Markets

Any symbol

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.

Input parameters

Read from TelegramAlert_MT5.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpChannelNamestring-1002563857196Chat ID or @channel
InpTokenstring8207482320:AAFGPbeclzjvcu6Mx1UG7stsYHmOLHG0Sz8Telegram token
SignalNamestringXirsi
SendScreenShotboolfalse
ScreenShotTFENUM_TIMEFRAMESPERIOD_CURRENT
MobileNotificationboolfalse
EmailNotificationboolfalse
EmergencyStopEnabledbooltrueEnable emergency stop
EmergencyDailyDrawdownPctdouble4.0Daily drawdown threshold (%)
EmergencyOverallDrawdownPctdouble8.0Overall drawdown threshold (%)
EmergencyStopHoursint24Stop duration (hours)
EmergencyPhoneNumberstringPhone for SMS/Push
Show all 16 inputs
NameTypeDefaultDescription
SmsUseTwilioboolfalseUse Twilio for SMS
TwilioSIDstringTwilio Account SID
TwilioAuthTokenstringTwilio Auth Token
TwilioFromstringTwilio phone number (from)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone okorie22/MT4-MT5-Bridge from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts or MQL5/Experts.
  3. 3Copy the filesCopy the .mq4 / .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
  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

Trade Copy MT4

by vobornik
256 stars

This MetaTrader 4 expert advisor functions as a local trade copier, allowing users to replicate trades from one terminal to another. It operates by sharing a data file between a master and a slave instance on the same computer or filesystem. The slave EA manages order execution, including market, limit, and stop orders

MT4 Copier & bridge Martingale High risk
Updated 3 years ago GPL-2.0 GitHub repository of Trade Copy MT4

Darwinex DWX Connect

by darwinex
232 stars

DWX Connect is an open-source bridge that links external trading strategies written in Python, C#, or Java to MetaTrader 4 and 5. It functions as a server EA that facilitates communication via file-based messaging, allowing users to execute trades and subscribe to market data without coding in MQL. The EA manages trade

MT4MT5 Copier & bridge
Updated 1 year ago BSD-3-Clause GitHub repository of Darwinex DWX Connect

Telegram API Signal Bot

by sholafalana
220 stars

Telegram API Signal Bot is a notification utility for MetaTrader 4 designed to broadcast trading activity to external communication channels. The EA monitors the terminal for order events, including executions and partial closes, and transmits the details to a Telegram group or channel using the Telegram Bot API. It of

MT4 Copier & bridge
Updated 3 years ago None stated GitHub repository of Telegram API Signal Bot
109 stars

MetaTrader 5 To Telegram is a utility expert advisor designed to bridge a MetaTrader 5 terminal with a Telegram bot. It monitors the trading account for updates and broadcasts notifications regarding orders, deals, and active positions to a specific user, group, or channel. The EA uses a timer-based system to process i

MT5 Copier & bridge

MT5 REST API Server

by mikha-dev
97 stars

This utility for MetaTrader 5 transforms the trading terminal into a REST API server, enabling external software to control trading operations via HTTP. It facilitates remote account monitoring, price retrieval, and full trade execution, including market orders, pending orders, and partial closes. The system supports a

MT5 Copier & bridge
Updated 7 years ago None stated GitHub repository of MT5 REST API Server

MetaTrader 4 Bridge

by BonneVoyager
84 stars

This expert advisor provides a communication layer between MetaTrader 4 and external software applications via the ZeroMQ protocol. It operates as a server that listens for remote commands to open, modify, or delete market and pending orders. The system features a request-response mechanism and a dedicated push server

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of MetaTrader 4 Bridge

More copiers and bridges

Need a broker for MT4/MT5?

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

Compare brokers