1. Create Your Telegram Bot
Group users: Make sure the bot is added to the group and has “Send Messages” permission.
Once you complete these steps, the EA will send a startup message immediately.
- Open Telegram (mobile or desktop).
- Search for @BotFatherand open the chat.
- Send the command: /newbot
- BotFather will ask for a name → type something like My MT5 Trade Bot
- Then ask for a username → type something like MyMT5TradeBot (must end with _bot)
- BotFather will reply with your Bot Token (example: 7123456789:AAHxxxxxxxxxxxxxxxxxxxxxxxxxxxxx).
Copy and save it — you will need it in the next step.
- In Telegram, search for @getmyid_bot
- Start the chat and send any message (e.g. hi).
- The bot will immediately reply with your Chat ID.
Private chat: positive number (e.g. 123456789)
Group / Channel: negative number (e.g. -1234567890 or -1001234567890)
- Send /start to your new bot.
- Open a browser and go to:
https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates
(replace YOUR_BOT_TOKEN with the real token) - Look for the number after "chat":{"id": — that’s your Chat ID.
- In MT5, open any chart (any symbol/timeframe — it doesn’t matter).
- Drag TelegramNotifyEA from the Navigator panel onto the chart.
- The settings window will open. Fill in these critical fields:Telegram Settings
- Bot Token → paste the token from BotFather
- Chat ID → paste the ID you got from @getmyid_bot
- Display name in messages → whatever you want (e.g. “My Live Account”)
- In MT5 go to: Tools → Options → Expert Advisors tab
- Tick the box “Allow WebRequest for listed URL”
- Click the Add button and paste exactly this URL:
https://api.telegram.org
Issues + Solutions
No startup message after attaching EA
Double-check Bot Token and Chat ID are copied correctly (no extra spaces). Re-attach the EA to the chart.
Error 4014 in the Experts log
WebRequest is not allowed. Go to Tools → Options → Expert Advisors and add https://api.telegram.org to the list.
No messages at all (even after correct setup)
Make sure the EA is actually running (smiley face on chart) and the chart is not minimized or closed.
Bot does not send messages in a group
Add the bot to the group and give it “Send Messages” permission. For channels, make sure the bot is an administrator.
Messages are truncated or cut off
The EA already limits messages to 4000 characters. This is normal Telegram limit.
Chat ID is wrong (e.g. using
@username
instead of number) You must use the numeric Chat ID only (positive or negative number). Usernames do not work.
EA works on PC but not on VPS
On VPS: re-do the WebRequest permission in the MT5 terminal running on the VPS. Also make sure the terminal stays logged in 24/7.
Bot Token copied with extra spaces or line breaks
Delete and re-copy the token from BotFather exactly as shown.
Antivirus / firewall blocks connection
Temporarily disable antivirus or add an exception for MetaTrader 5.
“WebRequest failed” or HTTP error in log
Check your internet connection. Restart MT5. Re-allow the URL in Options.
TelegramNotifyEA MT4: https://www.mql5.com/en/market/product/170583?source=Site
TelegramNotifyEA MT5: https://www.mql5.com/en/market/product/170258?source=Site
TelegramNotifyEA MT4: https://www.mql5.com/en/market/product/170583?source=Site
TelegramNotifyEA MT5: https://www.mql5.com/en/market/product/170258?source=Site

![[XAUUSD]: Weekly Liquidity Activation Points (timings) (MAY 11-15, 2026). [XAUUSD]: Weekly Liquidity Activation Points (timings) (MAY 11-15, 2026).](https://c.mql5.com/6/1004/splash-preview-769840.jpg)
