NinjaTrader

NinjaTrader 8 Alerts to Telegram or Discord: How to Get Them on Your Phone

· 6 min read

You don't need to stare at the chart all day waiting for NQ to reach your level. A better setup is an alert that reaches your phone. NinjaTrader 8 has alerts, but it can't send them to Telegram or Discord. Here is what NinjaTrader can do on its own and how to get alerts on your phone.

What alerts NinjaTrader 8 has

NinjaTrader 8 has an Alerts window (New → Alerts) where you set conditions on price or an indicator. When a condition is met, the alert can:

To get a text message, many traders use their carrier's email-to-SMS address. Telegram and Discord aren't built in: you need a NinjaScript script or a third-party add-on.

Email often arrives seconds or minutes late, and some email providers block automated sending. If an alert doesn't arrive, check the Log tab in the Control Center.

Telegram or Discord: which one

How to create the Telegram bot

  1. In Telegram, open a chat with @BotFather and send /newbot. Pick a name and it gives you the bot's token.
  2. Open a chat with your new bot and send it any message.
  3. Find your chat id: for example, open https://api.telegram.org/bot<TOKEN>/getUpdates in your browser and copy the number in "chat":{"id":…}.

Keep the token private: anyone who has it can post as your bot.

How to create the Discord webhook

  1. In your Discord server, go to Server Settings → Integrations → Webhooks.
  2. Create a new webhook, pick the channel and copy its URL (it starts with https://discord.com/api/webhooks/).

Phone alerts with TQ Charts

TQ Charts reads prices from your NinjaTrader and has its own alerts, which can notify you on Telegram, Discord or a webhook:

  1. On the chart, Alt + A creates an alert at the cursor price. You can also create one from the right-click menu or on a drawing (line, trend line, rectangle, Fibonacci…).
  2. In the Alerts menu, turn on Also send to phone (Telegram / Discord).
  3. Paste the Telegram token and chat id, the Discord webhook or your own webhook, then press Send test.

What an alert can watch:

Each alert can fire once or every time the condition is met. Your own webhook receives JSON with the symbol, condition, level, price, note and time.

The Free plan includes 10 active alerts with sound and Windows notifications. Telegram, Discord and webhook notifications are part of the Pro and Elite plans. Alerts are checked on your PC, so TQ Charts has to be open and connected to NinjaTrader. The steps are in the alerts tutorial.

FAQ

Can NinjaTrader 8 send alerts to Telegram?

Not natively. NinjaTrader 8 sends alerts through its Share Services, such as email. For Telegram or Discord you need a NinjaScript script, a third-party add-on, or an app such as TQ Charts that reads your NinjaTrader data.

How do I get NinjaTrader alerts on my phone?

With NinjaTrader alone, set up an email Share Service under Tools → Options and use the share action on the alert. For instant notifications, use a Telegram bot or a Discord webhook.

Does an alert place an order?

No. TQ Charts alerts only notify you: they don't open or close positions.

Keep reading