Discussing the article: "Creating an MQL5-Telegram Integrated Expert Advisor (Part 1): Sending Messages from MQL5 to Telegram"
MetaQuotes:
Check out the new article: Creating an MQL5-Telegram Integrated Expert Advisor (Part 1): Sending Messages from MQL5 to Telegram.
Author: Allan Munene Mutiiria
Great! thanks!
Great thanks Allan! Well presented.
@Javier Santiago Gaston De Iriarte Cabrera really appreciate your kind feedback. Thank you too and welcome.
Clemence Benjamin #:
Great thanks Allan! Well presented.
Great thanks Allan! Well presented.
@Clemence Benjamin really appreciate your kind feedback and recognition. Thank you too and welcome.
Great Article! Really looking forward to the next one !
Great article !
Gad Benisty #:
Great article !
Great article !
@Gad Benisty thank you for your kind feedback. Greatly appreciated.
Much appreciated!
Lynnchris #:
Much appreciated!
Much appreciated!
@Lynnchris Thank you. We greatly appreciate your kind feedback and recognition. Thanks again.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Check out the new article: Creating an MQL5-Telegram Integrated Expert Advisor (Part 1): Sending Messages from MQL5 to Telegram.
In this article, we create an Expert Advisor (EA) in MQL5 to send messages to Telegram using a bot. We set up the necessary parameters, including the bot's API token and chat ID, and then perform an HTTP POST request to deliver the messages. Later, we handle the response to ensure successful delivery and troubleshoot any issues that arise in case of failure. This ensures we send messages from MQL5 to Telegram via the created bot.
This article will follow the course of integrating Telegram with MetaTrader 5. We intend to achieve this by crafting a custom Expert Advisor (EA) in the MetaQuotes Language 5 (MQL5) programming language. Our main task is to program a trading assistant that operates in real-time and keeps us in the loop via a chat on Telegram. The Telegram bot that we will build will act like an update server, sending us juicy morsels of information that help us make important trading decisions.
To reach this goal, we will go through the process of establishing a Telegram bot and adjusting our EA to communicate with Telegram's Application Programming Interface (API). We will first set up BotFather, a Telegram bot that helps you create new bots and manage your existing ones. Using "BotFather", we will create a new bot and will have the chance to name it. We will also get a vital piece of information—the token—that we will use to identify and gain access to our bot from the Application Programming Interface (API). After that, we will get the chat ID and will use these two items to reach the API and make it work.
Author: Allan Munene Mutiiria