Triage Network Inspector for NT
From Triage Documentation
The Triage Network Inspector indicator will check the quality of your internet network from your computer to the last reachable “hop” before you reach the data and trade servers. The indicator reports your network latency (the time it takes to reach target servers).
When any internet connection along the network route is slow to respond within an acceptable response threshold you will receive a Triage alert.
You will know immediately when your internet network route is causing you to get slow data or sluggish responses from servers. A voice phone, SMS, email, fax, instant messenger, RSS, Twitter or Facebook alert is sent whenever your network quality deteriorates so you can take preventative actions.
IMPORTANT: Please follow all steps carefully!
32-Bit and 64-Bit NinjaTrader Instructions:
- 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.
- You should then import the TriageNetworkInspector.zip package into NinjaTrader 7.0 as described by the NinjaTrader instruction manual. To import:
- From the Control Center window select the menu File > Utilities > Import NinjaScript to open the Import NinjaScript dialog window
- Select the file you want to import, in this case the TriageNetworkInspector.zip found in a folder on your computer similar to: C:\Users\<your username>\My Documents\NinjaTrader7.0\bin\Custom
- Alternatively, you can import the TriageAllIndicators.zip, which includes all Trade Watch indicators for NinjaTrader.
- Press the "Open" button and follow the directions until the import is completed.
- After importing the TriageNetworkInspector.zip into NinjaTrader 7.0, you should see in your indicators list an indicator called: TriageNetwork.
- Please make sure you are in TradeWatch “test” mode (which can be set with the TradeWatch program tray-icon on your Windows taskbar).
- Insert the TriageNetwork indicator into your chart, and alert messages will be sent to your message destination via TradeWatch.
- Set the input parameters to your desired settings. You can use the defaults to see it in action.
NetTarget = What is the target network address you want to reach? You may type in your own custom IP address such as "184.108.40.206". Or you may choose the following inputs, and the indicator will automatically find the NinjaTrader servers that you are connected to. "-1" = NinjaTrader Trade Server "-2" = NinjaTrader Data Server "-3" = NinjaTrader Historical Trade Server "-4" = NinjaTrader Historical Data Server Be sure to include the quote characters " " in your parameter setting.
NetChkTime = How often to check network quality, in seconds. How often in seconds to check the network path to NinjaTrader servers? We recommend a setting not less than 20 seconds. This is because it takes time for each internet connection along the network path to respond. Also, if you check too often, those internet servers at peer points may refuse to respond.
BadResponse = Value considered a bad response time, in milliseconds. What is the network latency (measured in milliseconds) that is considered a bad response time from a network hop? If any network hop exceeds this bad response time, you will get an alert. We recommend setting this to somewhere between 300 to 500ms. You may have different network response requirements. Some traders may have extremely fast response times under 100ms, while others normally experience 100ms to 200ms. What is considered a bad response may be subjective from trader to trader. Please try out different settings and find one that best suits your network latency expectations for your internet connection.
ShowHops = Show Each Hop? If set to true, it will show all the network hops and their latency along the network path to the target network address. Most clients choose this setting. If set to false, it will just show the longest response time for the worst hop.
PlotColor = Plot Color
StackPlot = Stack Indicator Plots. If set to true, then stack each hop latency time on top of the previous. This allows you to see each hop. If set to false, then show each hop plot as an absolute latency time value. This is the default setting for most users.
MsgType = Message Type Choose the message type you are sending: "printlog" = message is sent to NinjaTrader print log "phone" = voice message to phone "sms" = text message to mobile phone "fax" = text page to fax machine "email" = message to email "yahoo" = message to Yahoo IM "msn" = message to MSN IM "aim" = message to AIM (AOL) IM "icq" = message to ICQ IM "gtalk" = message to Google Talk IM "rss" = message to RSS Feed "twitter" = message to Twitter account "facebook" = message to Facebook account Please see Triage Messaging User’s Guide for more information about this parameter and how to use it.
MsgDest = Message Destination 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 email@example.com Yahoo Instant Messenger yahoousername AOL ("AIM") Instant Messenger AOLusername Microsoft MSN or Live Instant Messenger firstname.lastname@example.org Google Talk Instant Messenger email@example.com ICQ Instant Messenger 570102039432 Twitter™ Account Twitter Alias Facebook™ Account Facebook Alias