Triage Ping for NT

From Triage Documentation

Jump to: navigation, search



Triage Ping will send ping “heartbeat” signals to Triage Ping servers. If there is a period of lost contact with your Triage Ping indicator, then an alert is sent to your voice phone, SMS, email, fax or RSS feed. Even if your data, network or internet fails!

With the Triage Ping indicator, you can set the frequency of pings and the timeout to trigger an alert. You can apply the Triage Ping indicator to any number of charts, and give each indicator instance a unique name for the Triage Ping servers to watch.

Simply install TradeWatch -- that’s all it takes to start sending NinjaTrader ping alerts any time and anywhere you go.


IMPORTANT: Please follow all steps carefully!

32-Bit and 64-Bit NinjaTrader Instructions

  1. You must first add the Triage_NinjaTrader_Msg.dll as described in NInjaTrader 7.0 manual under NinjaScript\Educational Resources\Tips\Using 3rd Party Indicators. The dll can be found in your /user account/My Documents/NinjaTrader7.0/bin/Custom folder.
  2. You should then import the package into NinjaTrader 7.0 as described by the NinjaTrader instruction manual. To import:
    1. From the Control Center window select the menu File > Utilities > Import NinjaScript to open the Import NinjaScript dialog window
    2. Select the file you want to import, in this case the found in a folder on your computer similar to: C:\Users\<your username>\My Documents\NinjaTrader7.0\bin\Custom
    3. Alternatively, you can import the, which includes all Trade Watch indicators for NinjaTrader.
    4. Press the "Open" button and follow the directions until the import is completed.
  3. After importing the into NinjaTrader 7.0, you should see in your indicators list an indicator called: TriagePing.

Quick Start

  1. Please make sure you are in TradeWatch “test” mode (which can be set with the TradeWatch program tray-icon on your Windows taskbar).
  2. Insert the TriagePing indicator into your chart, and ping alerts will be sent to you.
  3. Set the input parameters to your desired settings. You can use the defaults to see it in action.
  4. When you manually close down your chart, the ping will be automatically unloaded at the Triage Ping servers.
  5. If you would like to remove all active pings from the Triage Ping servers, you can run TriageClearAllPings and this will clear ALL pings. You would have to reload your chart or re-add the TriagePing indicator again to set a new ping.

Input Parameters

IntervalSeconds: How often to send a "heartbeat" ping signal to the Triage Ping Servers?

We recommend you don't set this to less than 20 seconds to prevent getting too many false positives. This is especially true on data that may not come in as quickly or is known to have intermittent delays. 

Also, setting the ping checking interval at a reasonable value will conserve your bandwidth and prevent overloading your allocated ping buffer at the Triage Ping servers. 

For most traders, 30 seconds is more than adequate.
MsgDest: Send messages to one or more destination addresses or numbers.

Please see Triage Messaging User’s Guide for more information about this parameter and how to use it.
Messaging Service Example Destination
Mobile Phone or Device via Short Message (SMS) 14155551111
Text-to-Voice Phone Message to any Telephone or Cell Phone +14155552222
Text Fax to any Facsimile Device +1-415-555-3333
E-mail Relay bypassing tradition SMTP and Mail Clients
Yahoo Instant Messenger yahoousername
AOL ("AIM") Instant Messenger AOLusername
Microsoft MSN or Live Instant Messenger
Google Talk Instant Messenger
ICQ Instant Messenger 570102039432
Twitter™ Account Twitter Alias
Facebook™ Account Facebook Alias
MsgText: What is the message text you want to include in the ping notification message?
MsgType: Choose the message type you are sending:

"phone"        = voice message to phone
"sms"          = text message to mobile phone
"fax"          = message to fax machine
"email"        = message to email
"rss"          = message to RSS Feed

Please see Triage Messaging User's Guide for more information about this parameter and how to use it.
PingName: What unique name do you want to call this Ping so that the Triage Ping Servers can recognize what chart is sending out a heartbeat ping signal?

If you use the "*" character then a simple name is created for you in this format:

<Symbol Name> added at <Date and Time You Added TriagePing>
If you use the same ping name more than once, then each instance of the TriagePing indicator with the same name will send a signal to the Triage Ping servers. We do not recommend you do this.
Retry: How many times to timeout and send an alert message before giving up? So that you don't get continuous failure messages after your first timeout.

we will retry monitoring your ping signal "Retry" times before giving up notifying you and have you correct the problems at your trading platform preventing the TriagePing indicator from running.

Setting this to -1 means keep retrying and sending notifications to you.
Session: When should the ping service go live?

For example, you can create a session string in this format:

"T=[<Time Range>];DoW=[<Days of Week>];M=[<Days of Month>]" 

Where Day of Week: 	1=Sun .. 7=Sat separated
Where Days of Month: 	any days of the month [1..31]

If this is left blank, then ping service is on all the time.

For 9:30AM to 12PM and 1PM to 4PM, Monday through Friday:
TimeoutSeconds: How many seconds to wait before missing a ping interval before sending an alert to you about a ping failure?

As an example, if you set the timeout to be 60 seconds, then when your chart or trading platform doesn't report within 60 seconds of the last ping signal received, you will get an alert notifying you that the Triage Ping servers have lost contact.

Your timeout value should never be less than your IntervalSeconds value or you will always get a timeout alert.
Personal tools