Alert Bots: Sending Trading Alerts to Telegram or Discord
Posted: Thu Oct 08, 2026 7:13 am
Bots can send alerts from MT5 or Python scripts to Telegram or Discord, so you can monitor setups or EAs remotely.
Telegram example (Python):
Uses:
MQL5 can also send web requests directly using WebRequest (after allowing the URL in settings).
Rate limits are worth knowing: Telegram and Discord restrict how many messages a bot can send per second. Grouping alerts into one message during busy periods prevents lost notifications.
Do you use alert bots, and which platform do you send them to?
Telegram example (Python):
Code: Select all
import requests
def send(msg):
requests.post(f"https://api.telegram.org/bot{TOKEN}/sendMessage",
data={"chat_id": CHAT_ID, "text": msg})- Setup alerts when price reaches a level.
- Fill notifications from EAs.
- Daily summaries of trades and equity.
- Error alerts.
MQL5 can also send web requests directly using WebRequest (after allowing the URL in settings).
Rate limits are worth knowing: Telegram and Discord restrict how many messages a bot can send per second. Grouping alerts into one message during busy periods prevents lost notifications.
Do you use alert bots, and which platform do you send them to?