Telegram to MT4 MultiChannel Copier
- Utilità
- Sergio Marquez Uroz
- Versione: 1.0
- Attivazioni: 5
Telegram to MT4 Multi-Channel Copier automatically copies trading signals from your Telegram channels directly into MetaTrader 4. No bots, no browser extensions, no manual copying. You receive a signal on Telegram and the EA opens the trade in your terminal within seconds.
The product includes two components: a Windows application that listens to your Telegram channels, and this Expert Advisor that executes the signals in your MT4 terminal.
Check the guide to download the application: https://www.mql5.com/en/blogs/post/768988
How it works
The Windows application connects to Telegram using your own API credentials (it is not a bot, which means it can read any channel you are subscribed to, including private and VIP channels). When it detects a signal, it parses it and sends it to the EA. The EA reads the signal, resolves the symbol name according to your broker, calculates the lot size based on your risk settings, and opens the trade. The whole process is automatic. You don't need to be in front of the computer. Step 1: Open the app and log in to Telegram (only the first time). Step 2: Select which channels you want to listen to. Step 3: Press Start. The EA takes care of the rest.
Compatible signal formats
The built-in signal parser recognizes a wide variety of formats used by real Telegram providers.
You don't need to configure or tweak anything, the parser detects the format automatically.
The parser also detects update messages such as breakeven (Risk Free, Move SL to entry, BE), close (Close, Close all) and SL/TP modifications sent as a reply to the original message.
Smart symbol resolution
Does your signal say GOLD but your broker calls it XAUUSD.m?
The EA resolves it automatically. It includes an alias table with 19 instrument groups covering forex, metals, indices, oil, crypto and more. It also strips common broker suffixes such as .r, .m, .pro, -ECN, -RAW, -CENT, # and trailing letters. If the signal says NAS100 and your broker lists it as USTEC.r, the EA will find it.
Risk management
Four risk modes available:
- Fixed lot: always trade with the same lot size.
- Percent of balance: risk a fixed percentage of your account per trade. Requires SL in the signal.
- Fixed money: risk a fixed amount of money per trade. Requires SL in the signal.
- If the signal has no SL and you are using percent or fixed money mode, the EA uses a configurable fallback lot so the trade is not skipped.
Order execution
The EA automatically decides whether to open a market order or a pending order (LIMIT/STOP) based on the distance between the signal's entry price and the current market price. This is controlled by the PendingPipsGap parameter. When a signal includes multiple take profit levels, you can choose to open one position per TP (SplitMultiTP) or use only the first TP. You can also limit the number of TPs with MaxTPs and UseFirstNTPs.
Partial close and breakeven
The EA can automatically close a percentage of your position when it reaches a certain profit in pips, and then move the stop loss to breakeven on the remaining part. This is useful to secure profits without waiting for the channel to send a manual update. Parameters: UsePartialClose, PartialClosePct (e.g. 50 = close half), PartialAtPips (e.g. 30 = trigger at 30 pips of profit), MoveSLToBEAfter.
Filters
You can control exactly which signals the EA executes:
- AllowedSymbols: trade only specific instruments, e.g. XAUUSD,EURUSD
- BlockedSymbols: ignore specific instruments, e.g. USDJPY,NAS100
- AllowedChannels: trade only signals from specific channels, e.g. GoldVIP
- BlockedChannels: ignore signals from specific channels
Symbol filters support aliases: if you type GOLD in the filter, XAUUSD signals will also match. Channel filters use partial matching: typing "Gold" will match any channel that has Gold in its name. These filters are especially useful when you run several instances of the EA on different terminals, each one processing a different set of channels or instruments.
Multi-terminal support
The Windows application detects all MT4 and MT5 installations on your computer and lets you choose which terminal receives the signals. You can use the default shared mode (all terminals read the same signals) or direct the signals to a specific terminal. Combined with the EA's channel and symbol filters, this allows you to run independent strategies on different accounts.
Updates and close management
When a channel sends an update about a previous signal (new SL, new TP, breakeven or close), the EA applies it to the correct position. If the update is sent as a reply to the original Telegram message, the match is exact. Otherwise, the EA uses price matching to find the correct position. The EA manages both open positions (market orders already executed) and pending orders (LIMIT/STOP waiting to be triggered). A close command will close market positions and delete pending orders.
Requirements
Windows 10 or later
MetaTrader 4 terminal
A Telegram account (personal, not a bot) Telegram API credentials from my.telegram.org (free, obtained in 2 minutes)
AutoTrading enabled in the MT4 terminal
What you get
The Expert Advisor (.ex4 file) — install in MQL4/Experts
The Windows application (.exe file) — no installation, just run
Setup instructions
Important: The Windows application is required to connect to Telegram. Download the app and the setup instructions from my blog: https://www.mql5.com/en/blogs/post/768988
Frequently asked questions
Can I use it with any Telegram channel? Yes. The app uses your personal Telegram account, so it can read any channel you are subscribed to, including private and VIP channels. No bot token is needed.
Does it work with channels that send images instead of text? Currently only text signals are supported. Image-based signals (screenshots) are planned for a future update.
Can I listen to several channels at once? Yes. You can add and remove channels without stopping the listening. Each signal is tagged with the channel name so the EA knows where it comes from.
What if my broker uses a different symbol name? The EA automatically resolves symbol names using an alias table and suffix stripping. GOLD, XAUUSD, XAU and XAUUSDm resolve to the same instrument.
Can I run it on a VPS? Yes. Both the app and the EA work on any Windows VPS. The app runs as a standard desktop application.
Is my Telegram account safe? Yes. The app uses the official Telegram API through your own API credentials. It does not share your data with third parties. Your session is stored locally on your computer.
