Skip to content

Slack

Version: v.1.0.0.0

Slack

Description

Elevate your trading with Slack Share Service for NinjaTrader 8. Share images and trade information in real-time with your team on Slack. Streamline communication and keep everyone on the same page with this convenient, easy-to-use solution. Say goodbye to cluttered inboxes and hello to clear, concise trading updates with Slack Share Service for NinjaTrader 8.

Sending images and messages

By clicking on the corresponding image of your service, you will send the image through the selected service. When you choose to send a window, below the service icons you will see an attached image of the window, and below that an area for you to write the sending text (up to 2000 characters).

Instructions for creating the Slack app and getting a token

Slack bot token

Here are the steps to create a Slack bot and give it permission to write messages and send files to a channel:

  1. Create a Slack workspace and sign in to your account.
  2. Go to the Apps section in the main navigation and click Build to create a new Slack app.
  3. Give your app a name and select the workspace where you want to install it.
  4. In the Add features and functionality section, click on Bots.
  5. Click Add a Bot User to create a bot user for your app.
  6. Choose a display name and default username for your bot.
  7. Install the app to your workspace: in the OAuth & Permissions section, click Install App.
  8. Select the channels you want the bot to have access to, and grant it permission to post messages and upload files.
  9. Copy the Bot User OAuth Access Token; you will need it to authenticate the bot and allow it to send messages and files.

Slack bot scopes

Note: These steps provide a high-level overview. For a more in-depth guide, see the official Slack API documentation.

Instructions for creating a Slack channel and getting a chat ID

To create a channel in Slack and copy the chat ID:

  1. Log in to your Slack workspace.
  2. Click the + symbol next to Channels on the left side of the screen.
  3. Enter a name for your channel and choose a privacy setting (public or private).
  4. Click Create.
  5. After creating your channel, click on its name; at the bottom there will be a button to copy the channel ID. This ID must be specified in the settings of your Slack Share Service in NinjaTrader 8.

Get Slack channel ID

Configure the Slack Share Service in NinjaTrader 8

  1. In NinjaTrader, go to Tools → Options → Share Services.
  2. In the Available list, select Slack and click add to move it to Configured.
  3. In the Properties panel on the right, paste your Token and Chat id copied from Slack.
  4. Click Apply and then OK to save your settings.

Slack Share Service settings

Sending a message to Slack from NinjaTrader

Once the service is configured, right-click on any chart or window, choose Share, select Slack, optionally edit the message text and click OK to send.

Share window with Slack