Notify To Telegram
Notify To Telegram MT4 Expert Advisor will send notifications via Telegram when orders are opened/modified/closed on your MetaTrader 4 account. It is also used to post signals to a Telegram group/channel.
- Telegram Bot Token - create bot on Telegram and get token.
- Telegram Chat ID - input your Telegram user ID, group / channel ID
- Magic number filter - default ALL, or input magic number to notify with comma, like: 111,222,333.
You must allow WebRequest and add the https://api.telegram.org URL in "Tools" → "Options" → "Expert Advisors".
Telegram Bot must is member of group or admin of channel.
Attach it to one chart only.
How to get an Chat ID
Available on https://web.telegram.org
Follow the steps displayed to log in the app.
It's not possible to find the user ID using this method. So, the easiest way to do it is talking to @userinfobot. If you need to find somebody else's ID, forward a message to the bot.
Click on the group you want and see the url displayed on your browser.
If it's a public group, you can simply use it's @name as an id.
If it's private group, the url must be like:
If this is the case, then the group ID is -331054. Always negative!
For private super groups the url must be like:
If this is the case, then the group ID whois be 1041843721. But it's important to know that super group IDs are always a 13 characters negative integer, so the correct ID is -1001041843721.
Click on the channel you want and see the url displayed on your browser.
If it's a public group, the ID is @name of the group.
If it's a private group then the url must be similar to:
If this is the case, then the channel ID would be 1018013852. It's important to know that channel's IDs are always negative and 13 characters long! So add -100 to it, making the correct ID -1001018013852.