IFTTT Share Service NT8

IFTTT Share Service allows NinjaTrader to trigger events with IFTTT. The intent of this service is to allow NinjaTrader to send push notifications to mobile devices, however it can be used in any IFTTT applets. (IFTTT is a free app and website that allows users to connect smart devices using simple applets. NT App author has no connection with IFTTT other than as a user.)


How to use:

1. Setup IFTTT Account

  1. Register on the IFTTT website for a free account.
  2. Download the free IFTTT app to your smartphone and login
  3. On the IFTTT dashboard, click "Webhooks" then "Documentation"
  4. At the top of the page, you will see "Your key is:" followed by a long string of numbers and letters. Copy this key and do not share it publicly. It is how NinjaTrader will find your phone and other smart devices.

2. Install and Configure IFTTT Share Service in NinjaTrader

  1. Import zip file into NinjaTrader
  2. Navigate to Tools->Options->General and click "Edit Share Services" under "Preferences"
  3. Add an IFTTT Share Service and configure it by adding your IFTTT key from above step
  4. Other NinjaTrader apps can now send triggers to IFTTT.

3. Create an applet on IFTTT
You can use IFTTT to let NinjaTrader trigger any supported event, including triggering IoT devices. You can do things like blink your smartlights when you enter a trade, but a more useful applet is sending messages from NinjaTrader to your phone as push notifications.

  1. On the IFTTT website, click on your account avatar and select "Create"
  2. Click on "+This" and select "Webhooks" then "Receive a web request"
  3. For "Event Name" enter "ninjatrader" (you can change this under NinjaTrader Share Service settings if you want to create different actions)
  4. Click "Create Trigger"
  5. Click "+That" then "Notifications" then "Send a notification from the IFTTT app"
  6. Clear the default Message text and enter: NT: {{OccurredAt}} {{Value1}} {{Value2}} {{Value3}}
  7. Click "Create Action"
  8. Your applet review should look like this

The NinjaTrader IFTTT Share Service can now send push notifications to your smartphone. To see how this works, download the Watchdog Alerts indicator which will send notifications to your phone when NinjaTrader events occur.

Update 5/21/2020 - What's new:

Now works with chart alerts "send a message"

Created By pat9rb
NinjaTrader Version 8
File Size 2.0 KB
Create Date 09/30/2019
# of Downloads 370

Importing to NinjaTrader 8 is Easy!

To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:

  1. Download the app or add-on file to your desktop
  2. From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
  3. Select the downloaded file from your desktop


Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.