Telegram to MT5 Multi-Channel Copier

Telegram to MT5 Multi-Channel Copier

17 April 2026, 01:55
Sergio Marquez Uroz
0
21

Setup Guide: Telegram to MT5 and MT4 Multi-Channel Copier

This guide walks you through the complete setup in three stages: obtaining your Telegram API credentials, configuring your Windows application, and installing the Expert Advisor.

Total preparation time: 5-10 minutes.

The TelegramToMT5MultiChannelCopier.exe application works for both MT4 and MT5. Make sure you purchase the correct EA version for your Metatrader.

Step 1: Obtain Telegram API credentials

The app connects to Telegram using the official API. You need an API ID and API hash, which are free and can be obtained in 2 minutes.

Step 1: Open your browser and go to my.telegram.org/apps

Step 2: Log in with your phone number (the same one you use for Telegram).

Step 3: You will receive a confirmation code in your Telegram app. Enter it on the website.

Step 4: Click on "API Development Tools".

Step 5: Fill out the form:
  • Application title: any name (e.g., "MT5 Copier")
  • Short name: any name (for example, "mt5copier")
  • Platform: Desktop
  • Description: Leave it blank or write whatever you want.
Step 6: Click on "Create application".

Step 7: You will see your API ID (a number) and your API hash (a long string of text). Copy both and save them in a safe place. You will need them in the next step.

Important: Never share your API ID or API hash with anyone. These credentials give you access to your Telegram account.

API ID Telegram

Step 2: Configure the Windows application

Step 1: Download the attached application and save it anywhere on your computer. No installation is required.

Step 2: Double-click TelegramToMT5MultiChannelCopier.exe to run it.

Note: Windows SmartScreen might display a warning because the app is not digitally signed. Click "More info" and then "Run anyway." The app is safe.

Step 3: Enter your credentials in the top section of the application:
  1. API ID: the Stage 1 number
  2. Hash API: The text string from Stage 1
  3. Telephone: Your telephone number with international prefix (for example, +12345678910)
Step 4: Click "Connect". The app will send a verification code to your Telegram account . Enter the code in the dialog box that appears.

If you have two-step verification enabled, the app will also ask for your Telegram password after the code.

Step 5: Once connected, the app displays your available channels on the left. These are all the channels and groups you're subscribed to on Telegram.


Step 6: Select the terminal to which you want the signals to be sent. Use the "Terminal" drop-down menu at the top:
"Default (all MT4/MT5)".
Or select a specific terminal (for example, "MT5 MetaTrader 5 - Exness") to send signals only to that one.

Step 7: Click on the channels you want to listen to. They will move to the "Listening" column on the right.

Step 8: Click "Start". The application will begin listening for signals.


When a signal is detected, you will see it in the log at the bottom:

[OK] BUY XAUUSD entry=2650.0 sl=2632.0 tp=2660.0

The application will continue running and listening. You can minimize it to the taskbar. Do not close it ; closing it will stop it from listening.

Step 3: Install and configure the Expert Advisor

Step 1: Copy the TelegramToMT5MultiChannelCopier.ex5 file into your MT5 data folder:
  1. Open MetaTrader 5
  2. Click File > Open Data Folder
  3. Navigate to MQL5 > Experts
  4. Paste the .ex5 file there
Step 2: In the Navigator panel (left side), right-click on "Expert Advisors" and select "Refresh". The EA should appear in the list.
Step 3: Drag the EA onto any chart. The chart symbol doesn't matter: the EA operates using signal symbols, not the chart symbol.
Step 4: On the Input Parameters tab, configure the settings:


The most important adjustments are:

General :
UseCommonFolder: Set to true if you selected "Default (all MT4/MT5)" in the application. Set to false if you selected a specific terminal.
PollSeconds: how often the EA searches for new signals (default: 5 seconds).
Magic: A unique number to identify the trades of this EA. Change it if you use multiple EAs.

Risk management:
RiskMode: Choose how the lot size is calculated.
FixedLot: the batch size if you selected the "Fixed Batch Size" mode (for example, 0.01).
Risk percentage: The percentage of your balance that you will risk per trade if you selected the "% of balance" mode (e.g., 1.0 = 1%).
RiskMoney: The amount in dollars that is risked per trade if you selected the "Fixed Money" mode (e.g., 50.0 = $50).

Filters (optional):
Allowed symbols: Leave blank to trade with all symbols, or enter the ones you want separated by commas (e.g., XAUUSD, EURUSD).
Allowed channels: Leave blank to accept signals from all channels, or enter specific channel names.

Step 5: Make sure AutoTrading is enabled in MT5. The button in the top toolbar should be green, not red.

Step 6: Click OK. The EA is now running.

Check the Experts tab at the bottom of MT5. You should see:
[START] Telegram multi-channel copier to MT5 v1.00 has been started.

When the application detects a signal and sends it, the EA will execute it and display:
[SIGNAL #1] BUY XAUUSD entry=2650.00 sl=2632.00 tp=2660.00 lot=0.01
[EXEC] BUY XAUUSD lot=0.01 tp=2660.00 -> ticket=12345

Running on a VPS

Both the application and the Expert Advisor (EA) work on any Windows VPS. The setup is the same as on a local computer. Recommended VPS: any Windows VPS with at least 2 GB of RAM.

Make sure the application is always running on the VPS. If the VPS restarts, you'll need to restart the application manually (or add it to Windows startup).

Troubleshooting

The application displays "Connection Error" or cannot log in.
Verify that your API ID and API hash are correct (without extra spaces).
Check that your phone number includes the international prefix.
Check your internet connection.

The EA does not open trades
Make sure AutoTrading is enabled (green button on the MT5 bar).
Verify that UseCommonFolder matches what you selected in the application's drop-down menu.
Check the Experts tab in MT5 to see the error messages.
Make sure the application is running and showing signs in the log.

The EA cannot find the symbol
Your broker may use a different name. The EA attempts to resolve this automatically, but if it fails, consult your broker's symbol list.
The Experts tab will display: [ERROR] The symbol 'XXX' is not found in this broker.

The signal is detected but the command is rejected.
Check if your account has enough margin.
Check if the SL or TP are too close to the current price (some brokers have a minimum stop distance).
The Experts tab will show the specific reason for the rejection.

Windows SmartScreen blocks the application
Click "More information" and then "Run anyway." This happens because the application is not digitally signed. It's safe.

Updates

When a new version of the application is released, download it again from this page and replace the old .exe file. Your credentials and session are saved separately, so you won't need to log in again.

EA updates are distributed through the MQL5 marketplace. You will receive a notification in your MT5 terminal when an update is available.

Medium
If you have any questions or need help, please use the comments section on the product page or contact me through my MQL5 profile.