TelegramNotifyEA

25 March 2026, 21:15
Maros Petrik
0
34

TelegramNotifyEA • How to Connect to Telegram @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600&display=swap'); :root { --telegram-blue: #229ED9; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', system_ui, sans-serif; background: linear-gradient(135deg, #0f172a 0%, #1e2937 100%); color: #e2e8f0; line-height: 1.6; padding: 40px 20px; min-height: 100vh; } .container { max-width: 900px; margin: 0 auto; background: #1e2937; border-radius: 20px; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4); overflow: hidden; } .header { background: linear-gradient(90deg, #229ED9, #0ea5e9); padding: 40px 50px; text-align: center; color: white; } .header h1 { font-family: 'Space Grotesk', sans-serif; font-size: 2.8rem; margin-bottom: 8px; } .header p { font-size: 1.25rem; opacity: 0.95; } .content { padding: 50px; } .step { margin-bottom: 45px; } .step-number { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: #229ED9; color: white; border-radius: 50%; font-weight: 700; font-size: 1.4rem; margin-bottom: 18px; } .step h2 { font-size: 1.75rem; margin-bottom: 20px; color: #f1f5f9; display: flex; align-items: center; gap: 15px; } .step ol { counter-reset: step-counter; } .step li { position: relative; padding-left: 35px; margin-bottom: 18px; font-size: 1.15rem; } .step li:before { content: counter(step-counter); counter-increment: step-counter; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; background: #334155; color: #64748b; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 600; } .highlight { background: #0f172a; border-left: 5px solid #229ED9; padding: 18px 24px; margin: 20px 0; border-radius: 8px; font-family: monospace; font-size: 1.1rem; color: #67e8f9; } .note { background: #334155; padding: 20px; border-radius: 12px; border-left: 6px solid #f59e0b; margin: 25px 0; } .note strong { color: #fcd34d; } .button { display: inline-flex; align-items: center; gap: 10px; background: #229ED9; color: white; padding: 14px 28px; border-radius: 9999px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; margin-top: 15px; } .button:hover { background: #0ea5e9; transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgb(34 158 217); } .footer { background: #0f172a; padding: 30px 50px; text-align: center; font-size: 0.95rem; color: #64748b; } code { background: #0f172a; padding: 3px 8px; border-radius: 4px; font-family: monospace; }
🤖 TelegramNotifyEA

How to Connect Your MT5 EA to Telegram in 5 Minutes

1

Create Your Telegram Bot

  1. Open Telegram (mobile or desktop).
  2. Search for @BotFather and open the chat.
  3. Send the command: /newbot
  4. BotFather will ask for a name → type something like My MT5 Trade Bot
  5. Then ask for a username → type something like MyMT5TradeBot (must end with _bot )
  6. BotFather will reply with your Bot Token (example: 7123456789:AAHxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ).
    Copy and save it — you will need it in the next step.
2

Get Your Chat ID

Easiest method (recommended):

  1. In Telegram, search for @getmyid_bot
  2. Start the chat and send any message (e.g. hi ).
  3. 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 )

Alternative (if you prefer no extra bots):

  1. Send /start to your new bot.
  2. Open a browser and go to:
    https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates
    (replace YOUR_BOT_TOKEN with the real token)
  3. Look for the number after "chat":{"id": — that’s your Chat ID.
3

Attach the EA to a Chart & Configure It

  1. In MT5, open any chart (any symbol/timeframe — it doesn’t matter).
  2. Drag TelegramNotifyEA from the Navigator panel onto the chart.
  3. 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”)
4

Allow WebRequest (VERY IMPORTANT)

Without this step the EA cannot send messages!

  1. In MT5 go to: Tools → Options → Expert Advisors tab
  2. Tick the box “Allow WebRequest for listed URL”
  3. Click the Add button and paste exactly this URL:
    https://api.telegram.org
⚠️ 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.
Made for TelegramNotifyEA v1.00 by Maros Petrik
function copyTokenExample() { const example = "7123456789:AAHxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; navigator.clipboard.writeText(example).then(() => { const btn = document.querySelector('.button'); const originalText = btn.innerHTML; btn.innerHTML = '✅ Copied!'; setTimeout(() => btn.innerHTML = originalText, 2000); }); } // Simple confetti for fun console.log('%c🚀 TelegramNotifyEA setup guide ready!', 'color:#229ED9; font-size:18px; font-weight:700;');