Send Messages to Channels

Posted In: Uncategorized |

This article explains in brief how you can use Telegram4MQL to send messages to Telegram channel. This might be for example the case if you want to share trading signals to a list of followers.

Prepare the Telegram Environment

First of all you need to create a new channel in Telegram. See the documentation for your client. On desktop this is as easy as clicking this button and following the instructions:

Then hit the Members -> Administrators link to lookup new potential administrators.

Add your bot as administrator (search for and hit the resulting bot):

The last step would be to find out the chat ID of your new channel. See this blog post for more information: Get to know a Chat ID

Prepare Telegram4MQL

Now switch to your MQL editor and start a new Expert Advisor.

For better readability a public Gist was created where you can copy and paste code:

 



No Comments »


Leave a Reply

%d bloggers like this: