NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 01-14-2008, 09:38 PM   #1
Jim W.
Senior Member
 
Join Date: Jul 2007
Posts: 101
Thanks: 6
Thanked 18 times in 14 posts
Default Testing for NT 6.5

Is there a test that can be done in an indicator script so that it can determine the version of NT it is running under?
Jim W. is offline  
Reply With Quote
Old 01-14-2008, 10:53 PM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

An indicator should run as you can compile it -> please try to compile.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 01-16-2008, 01:35 AM   #3
Jim W.
Senior Member
 
Join Date: Jul 2007
Posts: 101
Thanks: 6
Thanked 18 times in 14 posts
Default

Thanks for the reply. I'll create a NT version parameter.
Jim W. is offline  
Reply With Quote
Old 01-16-2008, 01:51 AM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Hint: you may want to play with
Code:
this.GetType().Assembly.GetName().Version
Note: this is beyond what we support
NinjaTrader_Dierk is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
back testing mary reed Strategy Analyzer 1 01-13-2008 07:23 PM
Testing for null zoltran General Programming 7 11-25-2007 05:09 PM
Testing for 'equal' zoltran General Programming 1 11-23-2007 07:01 AM
Testing for a color Mike Winfrey Indicator Development 6 09-19-2007 05:08 AM
Re Back testing John_Aus Miscellaneous Support 6 03-15-2005 01:54 AM


All times are GMT -6. The time now is 12:53 AM.