Guides

How to Send TradingView Alerts to Discord or Telegram (Webhook Setup) and a NinjaTrader Alternative

· 6 min read

TradingView alerts can pop up on your screen and phone, but many traders want them in a Discord channel or a Telegram chat, alone or with their group. TradingView does it through webhooks. Here is what you need, how to set it up and what usually goes wrong.

What you need

Sending alerts to Discord

  1. In your Discord server, go to Server Settings → Integrations → Webhooks, create a webhook, pick the channel and copy its URL.
  2. In TradingView, create the alert, open the Notifications section, turn on Webhook URL and paste the Discord URL.
  3. In the alert Message, write JSON with a content field, which is what Discord shows as the message text. For example: {"content": "NQ crossed {{close}} on {{interval}}"}.

TradingView sends whatever you write in the message box as the request body, so the format has to match what Discord expects. Plain text without the content field is rejected.

Sending alerts to Telegram

Telegram doesn't accept TradingView's webhook directly: it expects requests in its own Bot API format. The usual options are a small relay (a serverless function or an automation tool) that receives the webhook and calls the Telegram bot, or a third-party service built for this. You'll need a bot token from @BotFather and your chat id.

Common mistakes

Alternative: alerts from your NinjaTrader data

If you trade futures through NinjaTrader and use TradingView only for charts and alerts, you may be paying twice for the same CME data (see TradingView CME data cost). TQ Charts reads prices from your NinjaTrader and sends its own alerts to Telegram, Discord or your own webhook without a relay: paste the bot token and chat id or the Discord webhook URL, press Send test, and you're done. Alerts can watch price levels, zones, trend lines, indicators like VWAP or an EMA, or a fast move. The full setup is in NinjaTrader alerts to Telegram or Discord.

FAQ

Can I send TradingView alerts to Discord for free?

No. Webhook alerts need a paid TradingView plan, plus two-factor authentication on your account.

What message format does Discord need?

JSON with a content field, for example {"content": "your alert text"}. TradingView placeholders like {{close}} work inside it.

Can TradingView send alerts straight to Telegram?

Not with its webhook alone, because Telegram's bot API expects a different request. You need a relay or a third-party service in between.

Keep reading