Skip to content

Slack

v.2.0.0.0

Slack

Overview

Sends NinjaTrader shares - chart screenshots, alerts and messages from strategies - to a Slack channel through a bot token of your own Slack app.

Create the Slack app

  1. Go to api.slack.com/apps → Create New App → From scratch, name it and choose the workspace.
  2. Under OAuth & Permissions → Bot Token Scopes, add chat:write and files:write.
  3. Click Install to Workspace and copy the Bot User OAuth Token (it starts with xoxb-).
  4. In Slack, open the channel, add the app to it (Integrations → Add apps), and copy the Channel ID from the channel details.

Copy the bot token

Copy the channel ID

Add it in NinjaTrader

  1. Control Center → Tools → Options → General → Sharing Connections (Configure).
  2. Select Slack under Available and click add.
  3. Fill in its properties (below) and click OK.

Slack share service settings

Send

Right-click a chart or another window → Share → Window, Tab contents, Position or Price → choose Slack, edit the text and send. Strategies and alerts can send through it too.

Share window with Slack

The share in Slack

Parameters

Parameter Default What it does
Bot token — Your Slack app's Bot User OAuth Token (xoxb-...), with the scopes chat:write and files:write.
Channel ID — Where to send: open your app in Slack > About and copy the ID shown there. To post into another channel, use that channel's ID (channel name > About) and add the app to it.

Version history

v.2.0.0.0 - October 2026

  • Changed: screenshots upload with Slack's current file upload; the token is sent securely; Slack's errors are reported plainly.