NexusFi: Find Your Edge


Home Menu

 



Categories Help    

Search Results
Searching for entries matching ping, looking in keywords for any words
Found 1 matching entries

Sort by

Entries
Ping Indicator 5 *
I've created this indicator, which pings various websites provided by the user at the end of each bar, based on the ConnectionMonitor from MXASJ ( see this thread).

Features
This indicator has the following features:
  • Ping as much websites as entered by the user,
  • Display an error to the NinjaTrader Control Center Log tab when an ping fails,
  • Custom number of milliseconds for the timeout of the ping,
  • The results of the pings (successful and unsuccessful) can be displayed in the Output Window,
  • Text box with data from the last pings (time of last pings and roundtrip time in milliseconds for each site),
  • An configurable text box (opacity, font size, background color, and an on/off setting).
As soon as there is a ping time out, you'll see an spike downwards in the indicator (i.e. there is no milliseconds response time) and a red dot drawn on the indicator panel to highlight the error. Also will the textbox print 'error' besides the website which failed to ping successfully. In that way, you can see if it's just an website which couldn't be contacted or, if all websites give errors, an potential problem with your internet connection.

Any feedback or questions are more than welcome.

Version 1.0 - exported with NinjaTrader version 7.0.1000.2.

(A special thanks for MXASJ for providing an great example with the ConnectionMonitor to learn from).


Category The Elite Circle 
 
Suggest other entries I might like
Details: Ping Indicator
Category: The Elite Circle 


March 9th, 2011
Size: 3.67 KB
Downloaded: 282 times

Keywords: ping
 


 
Category
 




© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top