Getting trading alerts on your phone changes how you trade. Instead of staring at charts for hours waiting for setups, your phone pings the moment a signal fires โ entry, stop loss, take profit, all in one tap-to-copy message.
This guide shows you how to set up Telegram alerts from any TradingView indicator in 5 minutes. Free, no third-party services, no monthly fees.
Why Telegram Beats SMS, Email, and Push Notifications
| Channel | Speed | Formatting | Cost |
|---|---|---|---|
| Telegram | Instant | Full HTML, monospace | Free forever |
| SMS | 30s+ delay | Plain text only | $0.01-0.05/msg |
| 1-3 min delay | Often spam-filtered | Free but slow | |
| Push | Fast but unreliable | Limited length | App required |
Telegram wins on every metric. The only requirement: TradingView Pro+ subscription for webhook support ($30/month).
Prerequisites
- TradingView Pro+ or Premium account ($30/month)
- Telegram app installed (mobile or desktop)
- An indicator with
alert()function calls in its Pine Script code
Step 1: Create Your Telegram Bot (2 minutes)
- Open Telegram, search for
@BotFather, click Start - Send the command:
/newbot - Pick a name (e.g. "My Trading Bot")
- Pick a username โ must end in
bot(e.g.mytrade_bot) - BotFather replies with your bot token. Save it securely:
7891234567:AAH1234abcDEFxyz...
Step 2: Get Your Chat ID (1 minute)
- Search for
@userinfobotin Telegram - Click Start
- It immediately replies with your numeric Chat ID (e.g.
123456789) - Save this number
Step 3: Activate Your Bot (Critical)
Find your new bot in Telegram search and send any message ("hi" works). This step is non-negotiable โ Telegram bots can't message users who haven't initiated the conversation.
Step 4: Configure Your Indicator
For Gold Scalpers:
- Open indicator settings on your TradingView chart
- Find the Telegram group at the bottom
- Paste your Chat ID
- Set Alert Format = "Telegram"
- Save
Step 5: Create the TradingView Alert
- Click โฐ โ Create Alert
- Condition (1st dropdown): your indicator name
- Condition (2nd dropdown): "Any alert() function call" โ critical
- Notifications tab โ Webhook URL โ paste:
https://api.telegram.org/bot<YOUR_TOKEN>/sendMessage
Replace <YOUR_TOKEN> with the token from Step 1. Keep bot directly before the token, no space.
You're Done โ Now Test
Within 1-3 candles after a real signal fires, your phone pings with a formatted message:
๐ฏ Gold Scalpers โ XAUUSD (1)
โโโโโโโโโโโโโโโ
๐ ENTRY : 2384.50
๐ SL : 2380.20 (-43 pips)
๐ฏ TP : 2393.10 (+86 pips)
โ๏ธ R:R : 1:2.0
โโโโโโโโโโโโโโโ
Common Issues
- No alerts arrive: did you send "hi" to the bot? (Step 3)
- "chat not found": wrong Chat ID โ re-verify with @userinfobot
- "Unauthorized": wrong token, or you forgot the
botprefix - HTML tags showing: set Alert Format = Telegram in indicator settings
Sending to a Group
Add your bot to a group, make it admin, then visit:
https://api.telegram.org/bot<TOKEN>/getUpdates
The negative number in "chat":{"id":-100xxx} is your group chat ID. Use it instead of your personal Chat ID.
Conclusion
Telegram alerts free you from your screen. Set them up once, get notified the moment any indicator fires, and never miss a setup again. The full setup takes 5 minutes โ it's the highest-leverage 5 minutes you'll spend on your trading workflow.