You can send TradingView alerts to Telegram without any code or third-party service by pointing the alert’s webhook straight at the Telegram Bot API: create a bot with @BotFather, add it to your group or channel, then use https://api.telegram.org/bot<token>/sendMessage as the webhook URL and a small JSON message containing your chat ID. TradingView needs a paid plan with webhooks and two-factor authentication turned on. The step-by-step setup is below.
If you’re a trader using TradingView, you know how important it is to stay updated with real-time alerts. Telegram, with its instant messaging capabilities, is an excellent platform to receive these alerts. The good news is you can integrate TradingView alerts with Telegram without any coding or third-party tools. Here’s a step-by-step guide to help you set this up.

Key Takeaways
- No server, no Pipedream, no code: TradingView posts the alert directly to Telegram’s
sendMessageendpoint. - The alert message must be valid JSON with
chat_idandtext, so TradingView sends it asapplication/json. - Public channels use
@channelnameas the chat ID; private groups use a numeric ID fromgetUpdates. - Placeholders such as
{{ticker}}and{{close}}are filled in by TradingView when the alert fires. - Treat your bot token as a password; anyone who has it can post as your bot.
Prerequisites
Before we dive into the steps, ensure you have the following prerequisites:
- TradingView Account:
- You need a TradingView (paid account) with webhook feature to create and configure alerts.
- Telegram Account:
- You need a Telegram account to create a bot and set up a group or channel.
- Telegram Bot:
- You need a Telegram bot, which you can create using @BotFather.
- Group or Channel:
- A Telegram group or channel where you want to receive alerts.
TradingView adds a few technical rules of its own (TradingView help: About webhooks): webhook alerts work only when two-factor authentication is enabled on your account, only ports 80 and 443 are accepted, and a request is cancelled if the receiving server takes more than three seconds. Telegram’s API runs on port 443 and answers well within that time, so these rules are met automatically.
Step 1: Create a Telegram Bot
- Open Telegram and search for @BotFather:
- @BotFather is the official bot to create other bots.
- Start a chat with @BotFather and send the command
/start.
- Create a new bot:
- Send the command
/newbotand follow the prompts to name your bot and create a username for it. - For this example, let’s name the bot
mytelegram_bot. - @BotFather will provide you with a token. For this example, the token is
bot6490145838:AAEurGwl5v56thGHTufPOFHG1jsTFLQ. Save this token as you will need it to send messages via the Telegram API.
- Send the command

Step 2: Add the Bot to a Group or Channel
To send messages to a specific chat, you need to add the bot to the chat and get the chat ID:
- Create a Group or Channel:
- You can add your bot to a private group, public group, or public channel where you want to receive alerts.
- If you are using a public channel, the chat ID is the channel’s username prefixed with
@. For example, if your channel’s username is@tradingview_alerts, then@tradingview_alertsis your chat ID.
- Add Bot to the Group or Channel:
- Add
mytelegram_botto the group or channel as admin - If it’s a group, send a message in the group to activate the bot.
- Add
- Get Chat ID for Groups:
For groups, you need to get the chat ID.
Open a web browser and enter the following URL, replacingbot6490145838:AAEurGwl5v56thGHTufPOFHG1jsTFLQwith your bot token:
https://api.telegram.org/bot6490145838:AAEurGwl5v56thGHTufPOFHG1jsTFLQ/getUpdates
Look for the chat object in the JSON response and note the id. This is your group chat ID.
If the getUpdates result is empty, send a fresh message in the group and reload the URL. Group IDs are negative numbers, and supergroup IDs usually start with -100; copy the full number including the minus sign.
Step 3: Configure TradingView Alerts
- Open TradingView:
- Go to your chart and create a new alert by clicking on the alarm clock icon.
- Set Alert Conditions:
- Configure the condition and frequency for your alert based on your trading strategy.
- Webhook URL:
- In the alert dialog, enable the “Webhook URL” option.
- Enter the following URL, replacing
bot6490145838:AAEurGwl5v56thGHTufPOFHG1jsTFLQwith your bot token:
https://api.telegram.org/bot6490145838:AAEurGwl5v56thGHTufPOFHG1jsTFLQ/sendMessage

Alert Message:
- In the message field, enter the JSON message format. Replace
@tradingview_alertswith your actual chat ID:
{
"chat_id": "@tradingview_alerts",
"text": "Alert for {{ticker}}: price is {{close}}",
"parse_mode": "Markdown"
}
For the Detailed Parameters List refer to the Telegram API Documentation
Example for Public Channel
Suppose your public channel’s username is @tradingview_alerts.

Your webhook URL and message would be:
- Webhook URL:
https://api.telegram.org/bot6490145838:AAEurGwl5v56thGHTufPOFHG1jsTFLQ/sendMessage
Alert Message:
{
"chat_id": "@tradingview_alerts",
"text": "*Alert for {{ticker}}*\nPrice: `{{close}}`\nCheck the chart [here](https://www.tradingview.com)",
"parse_mode": "Markdown"
}
Example for Private Group
Suppose your private group’s chat ID is -4200378220. Your webhook URL and message would be:
- Webhook URL:

https://api.telegram.org/bot6490145838:AAEurGwl5v56thGHTufPOFHG1jsTFLQ/sendMessage
Alert Message:
{
"chat_id": "-4200378220",
"text": "*Alert for {{ticker}}*\nPrice: `{{close}}`\nCheck the chart [here](https://www.tradingview.com)",
"parse_mode": "Markdown"
}
Step 4: Test the Integration
- Trigger an Alert:
- Ensure the alert condition is met to trigger the webhook.
- Check Telegram:
- Verify that the alert message is received in your Telegram group or channel.
Why Use Markdown?
Using "parse_mode": "Markdown" in your JSON message allows you to format your alerts, making them more readable and visually appealing. Here are a few formatting options:
- Bold:
*bold text* - Italic:
_italic text_ - Inline Code:
`inline code` - Links:
[text](http://url)
By using these formatting options, you can highlight important information in your alerts, making them easier to read and understand at a glance.
For More HTML Markdown formatting options examples
Example Markdown Message
Here’s an example of how you can use Markdown in your TradingView alert message:
{
"chat_id": "@tradingview_alerts",
"text": "*Alert for {{ticker}}*\nPrice: `{{close}}`\nCheck the chart [here](https://www.tradingview.com)",
"parse_mode": "Markdown"
}
In this example:
*Alert for {{ticker}}*: The ticker symbol will be displayed in bold.Price: `{{close}}`: The price will be displayed as inline code.[here](https://www.tradingview.com): The word “here” will be a clickable link to TradingView.
Sending Strategy Alerts to Telegram
For a Pine Script strategy, TradingView can fill in order details as well. This message uses HTML formatting instead of Markdown, which is more forgiving with special characters:
{
"chat_id": "@tradingview_alerts",
"text": "<b>{{strategy.order.action}}</b> {{ticker}} on {{interval}}\nQty: {{strategy.order.contracts}}\nPrice: {{close}}\nTime: {{timenow}}",
"parse_mode": "HTML"
}
Useful placeholders include {{ticker}}, {{exchange}}, {{interval}}, {{close}}, {{timenow}} and, for strategies, {{strategy.order.action}}, {{strategy.order.contracts}} and {{strategy.position_size}}. Note the \n inside the JSON string, which creates a new line in Telegram.
Troubleshooting: TradingView Alert Not Reaching Telegram
| Symptom | Likely cause | Fix |
|---|---|---|
| Alert log shows the webhook failed | Wrong bot token in the URL, or missing /sendMessage | Copy the token again from @BotFather and keep the word bot before it |
| Error “chat not found” | Wrong chat ID, or the bot is not in the group or channel | Re-check the ID with getUpdates; add the bot as admin for channels |
| Error “can’t parse entities” | Markdown characters such as _ or * in the ticker (for example M_M) | Switch to "parse_mode": "HTML" or remove parse_mode |
| Message arrives as raw JSON text | The message is not valid JSON, so TradingView sends it as plain text | Check quotes and commas; use straight double quotes only |
| Webhook option is greyed out | Plan without webhooks or 2FA turned off | Upgrade the plan and enable two-factor authentication |
Keep Your Bot Token Safe
The token sits inside the webhook URL, so anyone who can see your alert settings can use the bot. Do not share screenshots that show the full token, use a separate bot for each purpose, and if a token leaks, generate a new one from @BotFather (the old one stops working).
Other Ways to Send Alerts to Telegram
This direct method is the simplest. If you need to transform alerts, store them, or turn them into orders, look at sending TradingView alerts to Telegram using Pipedream, automating TradingView alerts into orders with OpenAlgo, or building stock market Telegram bots in Python. Amibroker users can follow the Amibroker to Telegram guide.
Integrating TradingView alerts with Telegram without any coding or third-party tools is straightforward and highly effective for real-time trading updates. By following these simple steps, you can ensure that you never miss an important market move again. Happy trading!
Frequently Asked Questions
Can I send TradingView alerts to Telegram for free?
The Telegram side is free. Webhook alerts on TradingView require a paid plan, so the free TradingView plan cannot use this method.
How do I find my Telegram chat ID?
For a public channel, use @channelname. For a group, add the bot, send a message, then open https://api.telegram.org/bot<token>/getUpdates and copy the id in the chat object.
Why is my TradingView webhook not sending to Telegram?
The usual causes are a wrong bot token, a wrong chat ID, the bot not being an admin of the channel, invalid JSON in the message, or Markdown characters in the ticker. Check the Webhook status in the TradingView alert log.
Can I send TradingView screener alerts to Telegram?
Yes, if the screener or watchlist alert supports a webhook URL, use the same sendMessage URL and JSON message. Each triggered alert is posted as a separate Telegram message.
Learn by watching: free videos every week
Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.

