0% found this document useful (0 votes)
495 views12 pages

Installation Guide - Telegram Notify EA v4.0

This document provides instructions for using the Telegram Notify EA, which allows users to send alerts and trade notifications from their MT4/MT5 platform directly to Telegram. It discusses downloading and installing the EA, setting up a Telegram bot, configuring the EA settings, and creating custom message formats. Key steps include obtaining a bot token from BotFather, getting the chat ID of the bot or Telegram group, and inputting these credentials along with other settings into the EA to begin receiving notifications on trades, alerts and screenshots.

Uploaded by

brightmemoir 3D
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
495 views12 pages

Installation Guide - Telegram Notify EA v4.0

This document provides instructions for using the Telegram Notify EA, which allows users to send alerts and trade notifications from their MT4/MT5 platform directly to Telegram. It discusses downloading and installing the EA, setting up a Telegram bot, configuring the EA settings, and creating custom message formats. Key steps include obtaining a bot token from BotFather, getting the chat ID of the bot or Telegram group, and inputting these credentials along with other settings into the EA to begin receiving notifications on trades, alerts and screenshots.

Uploaded by

brightmemoir 3D
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Version 4.

0 - User Manual
Telegram Notify EA is an Expert advisor for MT4/MT5 trading
platform, which can send any pop-up alert messages on mt4/mt5 to
telegram along with chart screenshots, without any delay.

It can also send Trade action messages like order-open, order-


modify, order-close,… to telegram as soon as an event occurs.

You can follow this user manual or the you tube video for instructions ,
https://www.youtube.com/watch?v=Va0RzZVXUzw

Contact :
Email : [email protected]
Telegram : @Narashimman_Fx

If you have any queries or issues, feel free to contact me.

Contents :
1. EA Installation.
2. Creating Telegram Bot.
3. Running the EA.
4. Custom Message Format.
1. EA INSTALLATION :

➢ Extract the contents of the archive file – (Telegram Notify EA.zip).


➢ For MT4 platform, copy the mt4 version (.ex4) of the EA into
“MQL4\Experts” folder.

➢ Similarly for MT5 platform, copy the mt5 version (.ex5) of the EA into
“MQL5\Experts” folder.
➢ Next, Copy the Format text files into “MQL4\Files” folder.
➢ Allow web request for the URL https://api.telegram.org in options
window.
➢ And also “Allow DLL imports” for Expert advisors.

2. CREATING TELEGRAM BOT :

➢ We need two things, Bot token and chat ID of the bot.


➢ You create your own telegram bot using the BotFather bot (@BotFather)
of telegram.
➢ Search for BotFather and create your own telegram bot, and obtain the
bot token.
➢ Then, Start the bot on telegram and send some random message to the
bot.
➢ In this URL https://api.telegram.org/bot{bot_token}/getUpdates ,
replace the “{bot_token}” with your bot token and then run the URL
in web browser.
➢ If the response is {“ok”:true, “result”:[ ] } , then resend some
random message to the bot and reload the URL to get chat ID.
➢ Now, Search for the random message you sent, in the responses.
➢ If the message and user matches, Look for the string chat”:{“id” in
the response.
➢ This will give your chat id of the bot. Note that chat id can be a
negative number also.
➢ Now, with bot token and chat id, Telegram notify EA can send mt4
notifications on telegram, directly to you.

➢ If you need to send these notifications to telegram channel/group,


add the bot to the group/channel as admin, and then post some
messages to get the chat ID of that group/channel.

➢ Now, we have bot token and chat ID, lets run the EA on mt4/mt5.
3. RUNNING THE EA :

➢ Open Navigator on MT4, and refresh the list.


➢ Attach the EA on the chart.
➢ In EA properties window, “allow DLL imports” in common tab.

➢ Next, configure the EA settings in Inputs tab.


➢ Bot Settings :

✓ Enter your license key, bot token, and chat id in the inputs.
✓ Input your custom format file name, if any.
✓ Set the interval in milliseconds, to run the EA.
✓ Set your own welcome text.

➢ Popup-alert Settings :

✓ Enable/disable popup-alert messages to telegram.


✓ Set the interval in seconds to refresh logs to check for new
popup-alerts.
✓ Drag the logs window to the sides or bottom, or enable the
option to close it after refreshing.
✓ Set filters for Indicators/Symbols to receive alerts from only
those mentioned. Input Indicator/Symbol names separated
by comma.

➢ Trade-Alert Settings :

✓ Enable/disable trade action messages to telegram.


✓ Set filters for Symbols/Magic Number/Comment to receive
alerts from only those mentioned. Input values separated
by comma.
✓ Enable/disable each trade action alert.

➢ Screenshot Settings :

✓ Enable/disable screenshots for popup-alerts and also trade


action alerts.
✓ Set chart template name, timeframe for trade action alerts.
✓ Configure the width and height in pixels, and chart
alignment type for screenshot.
✓ Set the delay in milliseconds to capture screenshot, allowing
chart to load completely.
➢ If the EA is successfully loaded on the chart, you can see the bot name
on the chart corner, and also the bot will welcome you on telegram.

➢ If you are using chat ID for channel/group, bot will send messages to
channel/group.

➢ Working demo of Telegram Notify EA is shown below.


➢ Note :

✓ Run the EA on only one chart. You don’t need to run it on


every chart.
✓ If you get black-outs in screenshots, try increasing the
screenshot delay (msec) by 1000 (max upto 10,000).
✓ In advanced usage, you can run additional instance of EA on
another mt4 terminal.
✓ For windows 7 users, extra configurations are required.
Contact me for more info.
✓ There may be some issues with MT4/MT5 from some
brokers. Contact me for fixes and more info.
4. CUSTOM MESSAGE FORMAT :

➢ You can change the format of the messages sent to telegram using the
format file located in “MQL4/Files” folder.
➢ Default format example is shown in the text file
“TEN_Format_Default.txt”.
➢ Using the tags given, you can create a custom format, by following the
same method shown in default format example.
➢ After creating the custom format, set the format file name in EA inputs.

You might also like