📱 Setup Guide · 5 Minutes

Get EA alerts on your phone in 5 simple steps.

No coding. No paid subscription. Wire the Gold Scalpers EA to Telegram once and every entry, stop, target and close lands on your phone within minutes.

1

Create Bot

BotFather creates your bot

2
ID

Get Chat ID

Find your unique ID

3

Configure EA

Paste token + ID in EA

4
!

Allow WebRequest

Whitelist Telegram URL

5

Get Alerts

Trade events on phone

✅ What you need

Just a free Telegram account and the Gold Scalpers EA running in MetaTrader 5. The EA sends the messages itself, so there's no TradingView, webhook service or paid subscription involved. Telegram alerts are optional — the EA also pops up alerts in the terminal and pushes to the MT5 mobile app.

Step 1: Create Your Telegram Bot

Time: 2 minutes    Cost: Free

  1. Open Telegram (mobile or desktop)
  2. Search for @BotFather in the search bar
  3. Click Start to begin a chat
  4. Send the command: /newbot
  5. BotFather asks for a name → type any name (e.g. "My Gold Scalpers Bot")
  6. BotFather asks for a username → must end in bot (e.g. mygoldsniper_bot)
  7. Copy the token BotFather gives you. Looks like:
    7891234567:AAH1234abcDEFxyz...

🔙 Keep your bot token secret

Anyone with your bot token can send messages from your bot. Never share it publicly or commit it to a public repository.

Step 2: Get Your Chat ID

Time: 1 minute

  1. In Telegram, search for @userinfobot
  2. Click Start
  3. It immediately replies with your info, including:
    Id: 123456789
  4. Copy the number – that's your Chat ID

Step 3: Activate Your Bot

Time: 30 seconds – but critical step

  1. Search for your new bot in Telegram (the one you created in Step 1)
  2. Click Start or send any message like hi

💡 Why this matters

Telegram bots can't send messages to a user until that user has started a conversation with the bot. This step is non-negotiable – skip it and your alerts will silently fail.

Step 4: Configure the EA

Time: 1 minute

  1. Attach Gold Scalpers EA to an XAUUSD M15 chart (or open its inputs if it's already running)
  2. In the Alerts input group, set use_telegram = true
  3. Paste your token from Step 1 into telegram_token
  4. Paste your Chat ID from Step 2 into telegram_chatid
  5. Click OK to save

Step 5: Allow WebRequest in MetaTrader 5

Time: 30 seconds    This is the step most people miss.

  1. In MT5 go to Tools → Options → Expert Advisors
  2. Tick "Allow WebRequest for listed URL"
  3. Add exactly:
    https://api.telegram.org
  4. Click OK, then remove and re-attach the EA (or restart MT5)
  5. On attach, the EA sends a "connected" test message to your Telegram — that confirms it's wired up

If the test message doesn't arrive, open the Experts tab in MT5 — it logs the exact reason (e.g. URL not allowed, or wrong token/chat ID).

What You'll Receive

From then on, every trade the EA takes is pushed to your Telegram within seconds, formatted like this:

🟢 BUY opened — Gold Scalpers EA
XAUUSD · M15
━━━━━━━━━━━━━━━
📍 Entry  : 2384.50
🛑 Stop   : 2380.20  (swing)
🎯 Target : 2393.10
📦 Lot    : 0.02
━━━━━━━━━━━━━━━
2026-05-04 14:30:00

A matching close message is sent when the trade hits its stop, target or reverse-cross exit.

Troubleshooting

ProblemSolution
No "connected" test messageAdd https://api.telegram.org under Tools → Options → Expert Advisors, then re-attach the EA
Experts log shows err 4014 / -1The Telegram URL isn't whitelisted (or you edited a different MT5 install)
Bad Request: chat not foundWrong chat ID — re-verify with @userinfobot, and message your bot first
Unauthorized in the logWrong bot token in telegram_token
EA runs but no Telegramuse_telegram is false, or the token / chat ID is blank
Bot never messages youYou haven't started a chat with your bot — send it hi (Step 3)

Send to a Group Instead of DM

  1. Add your bot to the group → make it admin
  2. Visit https://api.telegram.org/bot<TOKEN>/getUpdates in your browser
  3. Find "chat":{"id":-1001234567890,...} – the negative number is the group ID
  4. Use that negative number as telegram_chatid in the EA inputs

Need Help With Setup?

Our support team responds within 48 hours (24h priority for customers).

Get Support → Get Lifetime – $220