• Overview
  • Reviews (2)
  • Comments (2)
  • What's new

MT4 to Tlgrm

This EA only sends text messages to a Telegram group or channel of your choice. The messages are customizable to information about trading activity. Also it shows the daily account PnL. Several instances of this EA can be used simultaneously in the same MT4 terminal but ensure that each one is placed in different chart and each is configured to watch one magicnumber only.

I have tested this EA with forex symbols but it should work fine with any MT4 symbol (e.g. indexes, commodities, stocks, cryptocurrencies)


Create a Telegram bot

Before running the Telegram EA you must create your own Telegram bot that will be the sender of the messages created by the Telegram EA. For creating the Telegram bot follow these steps:

  1. In Telegram, search for "botfather" or send a message to @BotFather
  2. Type /newbot and follow instructions to give a it name and an username
  3. Copy the API token
  4. If you don't have it already, create the channel or group
  5. Open the channel/group Info, then Manage, Add Administrators, type the bot username, and clik Save
  6. Send any message to the channel/group like "hello world"
  7. Open the following URL in a browser: https://api.telegram.org/bot<token>/getUpdates (dont forget adding your bot token to the URL)
  8. Search for the string "chat":{"id": to find a large negative number. This is your group or channel ID
  9. Copy the chat ID
  10. Test the bot with this URL in a browser (add the token and chatID first): https://api.telegram.org/bot<token>/sendMessage?chat_id=<ChatID>&text=I%20m%20the%20bot
  11. In MT4, add the following URI for webrequest to "Options > Expert Advisors" https://api.telegram.org

Enter the token and chat ID into the Telegram settings. Then run the EA from a MT4 chart.

For your safety, this EA does not need DLL imports or live traing enabled. It can work using investor password.

Recomended running this EA from a VPS to ensure non-stop execution.

The MT4 to Telegram Messenger comes pre-configured to send messages to the channel https://t.me/mt42tlgram for your testing convenience.


Expert Advisor Settings

Following are the settings of the Telegram EA that allow to customise the messages by showing or hiding information and adding custom texts:

  • Telegram group or channel ID - This is a long negative number of the Telegram group or channel from step 3
  • Telegram bot Token - The BotFather will give provide the token ID of you bot as per step 8
  • Enable Telegram EA? - TRUE/FALSE for enabling this EA
  • Send to telegram EA status - TRUE/FALSE for sending EA status messages like errors, EA start/stop
  • Telegram EA name to show in messages - Custom EA name
  • Seconds for scanning open trades - Frequency in seconds for scanning current open trades. By default is 5 seconds
  • Seconds for sending messages to Telegram - Frequency for sending daily PnL messages. By Default 5 minutes if there is any change
  • Show daily PnL at set message frequency? - TRUE/FALSE for this message
  • Add text before message - Custom free text
  • Add EA name - TRUE/FALSE to show custom EA name
  • PnL shown in pips or account currency, or both - Show PnL in PIP/Currency/Both
  • Only trades with this MagicNumber, or -1 for all - Filter trade by magic, -1 for all trades
  • Add text after message - Custom free text
  • Show emojis - TRUE/FALSE to show emojis
  • Add order ticket - TRUE/FALSE to show
  • Add text before message - Custom free text
  • Add EA name - TRUE/FALSE to show custom EA name
  • Add EA's magicnumber - TRUE/FALSE to show EA's magic number
  • Enter separator, or empty to disable - Custom free text as separator
  • Add trade lots - TRUE/FALSE to show trade lots
  • Add SL priceAdd SL price - TRUE/FALSE to show SL price
  • Add TP price - TRUE/FALSE to show TP price
  • Enter separator, or empty to disable - Custom free text as separator
  • Add trade comment - TRUE/FALSE to show the trade comment
  • Add text after message - Custom free text
  • Show emojis - TRUE/FALSE to show emojis
  • Show trade closed messages? - TRUE/FALSE for this message
  • Add text before message - Custom free text
  • Add EA name - TRUE/FALSE to show custom EA name
  • Enter separator, or empty to disable - Custom free text as separator
  • PnL shown in pips or account currency, or both - Select what to show in PIP/Currency/Both
  • Enter separator, or empty to disable - Custom free text as separator
  • Add trade comment - TRUE/FALSE to show the trade comment
  • Add text after message - Custom free text
SpainArb31
53
SpainArb31 2018.10.03 00:17 
 

Muy buena herramienta. Desde el primer momento me está funcionando genial para compartir las operaciones de mi cuenta de Metarader en Telegram. Lo recomiendo.

Wziel Paniagua
335
Wziel Paniagua 2018.08.08 17:30 
 

Great product and superior support.!

Version 3.2 2018.08.14
-- Added multi language support
-- Added more details to the daily report
-- minor error corrections
Version 2.0 2018.07.03
Version 2:
- EA now reports modified trades
- Error corrections