Introduction
MT5 to Telegram Reports is a user-friendly tool that connects MetaTrader 5 (MT5) with Telegram, enabling on-demand transmission of reports directly from MT5 to your Telegram account or channel.
Link to the product: https://www.mql5.com/en/market/product/151171
Installation
Setup of the Telegram Bot
- Go to telegram and search https://t.me/BotFather
- Write /newbot , the chat will give you instructions.
- Chose name and username for the bot.
- Send /setuserpic and setup the profile picture for the bot, you can use the logo of the product
- You will get the token from the message provided by BotFather.
Reference for BotFather create a new bot
Add bot to telegram group/chat
- Create telegram group/channel where the bot will be added
- Add the new created bot to the channel and make it admin.
Group Info -> Manage Group -> Administrators -> Add Administrator -> {the bot} -> Save - Write a simple message to
- Get the token provided by BotFather
- Open your browser (Chrome, Firefox, Brave) and access the link https://api.telegram.org/bot{token}/getUpdates (replace the {token} with the token provided)
- Get ChatId from the message provided by URL:
- Get both Token and ChatId and use it later to setup the EA
Open and setup EA
- Open the Expert Advisor and add Token and ChatId in the variables
-
Allow WebRequest for Telegram API - add URL https://api.telegram.org in Allow WebRequest section in MetaTrader application:
Tools -> Options -> Expert Advisors
Now you can enjoy the EA, further setup can be made in the application.
User Interface
Reports Tab
You can get daily, weekly and monthly reports on demand. Pressing one of the buttons will send a message which include reporting details, details that will be customized based on the setup that you made in Reports setup.