MT5 Telegram Trade Notifier (Bot API) — Trade Alerts - MetaTrader 5 Expert

Overview
TelegramTradeNotify is a lightweight MT5 utility EA that uses the Telegram Bot API (sendMessage) to send trade execution (trade) notifications to Telegram.
Send alerts about executed trades (TRADE_TRANSACTION_DEAL_ADD)
Optional filter: Buy/Sell only
UTF-8 URL encoding (Vietnamese and emoji supported)
Optionally disable web page preview
Simple input: bot token, chat ID, timeout, prefix
Create a Telegram bot and get the bot token.
Get your target chat ID (user/group) or use @channelusername.
In MetaTrader 5: Tools → Options → Expert Advisor
Enable "Allow WebRequests for listed URLs" and add: https://api.telegram.org
Attach the EA to any chart and set:
Precautions/Troubleshooting
If the WebRequest fails, check your network/firewall/DNS and make sure the URL is allowed in the MT5 options.
Some networks/VPS may block Telegram; switching networks or using a relay server may help.
InpBotToken: Telegram Bot Token
InpChatId: Chat ID or @channelusername
InpSendTestOnInit: Send test message when EA starts
InpNotifyBuySellOnly: Notify buy/sell transactions only
InpTimeoutMs: Web request timeout
InpMsgPrefix: message prefix
Attachment download
📎TelegramTradeNotify.mq5 (14.05 KB)
Source: MQL5 #68014
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •