How To Share The Trades To Telegram

Jan 29, 2020 | Experts

T4 To Telegram Advisor

Share your trades to Telegram


Buy >> MT4 To Telegram


  • Sharing trades with your subscribers
  • Easy to use
  • Multiple MT4 installations
  • No delay
  • Telegram channel, group, chat compatible
  • Hashtags for quick searches

Telegram isn’t just for sending and receiving chat messages. It’s also for automating your work flow. Using a Telegram bot gives you the ability to check prices, query status, manage trades, and even have a fun conversation.

MT4 To Telegram is an advisor that communicates with a Telegram bot. You can use this approach to share your orders flow or even broadcast trade signals from Metatrader 4 terminal to a Telegram group or channel.

Sharing trades with your subscribers is now such a simple process with this easy to use app for MT4. Once you have connected MT4 To Telegram to your trading account and Telegram channel, your trades are sent immediately.

1. Advisor Settings


  • Pass: password for unlimited use;
  • apiKey: Telegram API token;
  • chatId: Telegram chat ID;
  • Id: MT4ToTelegram ID
  • Tag: tag of Symbol and OrderType fields;
  • FileName: data storage file (usually in directory like C:\Users\<User>\AppData\Roaming\MetaQuotes\Terminal\<digits>\MQL4\Files)
  • TF: data refresh period

 2. Advisor Installation

  • Unpack zip
  • Place EA MT4ToTelegram.ex4 to metatrader’s experts directory (usually a directory like C:\Users\<User>\AppData\Roaming\MetaQuotes\Terminal\<digits>\MQL4\Experts)
  • Allow AutoTrading, WebRequests to Telegram API.

  • Restart MT4.
  • Put the MT4ToTelegram EA on any chart and set up the settings.

3. Telegram bot

You don’t have to write any code for this. Actually, you don’t have to use your computer! Just go to the Telegram app on your device complete 4 simple step:

  • Find telegram bot named “@botfarther”, he will help you with creating and managing your bot.
  • Print “/help” and you will see all possible commands that the botfather can operate.
  • To create a new bot type “/newbot” or click on it.

Follow instructions he given and create a new name to your Telegram bot. If you are making a bot only for experimentation, as it has to be a unique name, you can use namespace your bot by placing your name before it in its username. By the way, its screen name can be anything you like.

  • Congratulations! You’ve just created your Telegram bot. You will see a new API token generated for it (something like this 270485614:AAHfiqksKZ8WmR2zSjiQ7_v4TMAKdiHm9T0)
  • Copy your API token to the “apiKey” field of the EA’s Input Tab.

4. ChatId

If you would like to send messages via MQL Telegram you need to find out the specific chat IDs of your message targets. Those might be private chats (e. g. 142365464), group chats (e. g. -365832235) or channels (e. g. -1001167825734).

  • Start a conversation with your bot
  • For private chats: Search your bot in the global contact list, hit /start and maybe send a second message. The content does not matter. The point is to send a message.
  • For group chats: Invite your bot as a member into a new or existing group via global contact search. You might enable options of the Privacy mode to receive more types of messages. See the Telegram documentation for more information. Then send a message like in the private chat instructions.
  • For channels: you need to add the bot as administrator. Then send a message like in the private chat instructions. Then send a message like in the private chat instructions.
  • When this is done you need to receive a message to detect the chat IDs. In the simplest scenario you enter this URL into your browsers address field:

The URL will look like the following after replacing the token with yours:

The Response from the Telegram API will be a JSON string you can investigate. What you’re looking for is the ID in the following examples (in private chats the private id is the same as the chat id):

Private chat:

{ “update_id”: 146878178, “message”: { “message_id”: 1352, “from”: { “id”: 142365464, “first_name”: “stzzzzz”, “username”: “stzzzzz” }, “chat”: { “id”: 142365464, “first_name”: “stzzzzz”, “username”: “stzzzzzz”, “type”: “private” }, “date”: 1486291815, “text”: “some text here with a url”, “entities”: [ { “type”: “url”, “offset”: 0, “length”: 44 } ] } }

Group chat:

{ “update_id”: 146878181, “message”: { “message_id”: 1353, “from”: { “id”: PRIVATE -365832235, “first_name”: “stzzzzz”, “username”: “stzzzzz” }, “chat”: { “id”: -365832235, “title”: “MQL Group”, “type”: “group”, “all_members_are_administrators”: true }, “date”: 1486296142, “group_chat_created”: true } }

Channel chat:

{ “update_id”: 14646546, “channel_post”: { “message_id”: 2, “chat”: { “id”: -1001167825734, “title”: “testing channel”, “type”: “channel” }, “date”: 1486292382, “text”: “test” } }

  • Copy your chat id to the “chatId” field of the EA’s Input Tab.


Buy >> MT4 To Telegram

Get In Touch

You're Not Going To Want To Miss This

You have Successfully Subscribed!

Pin It on Pinterest

Share This