![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jul 2007
Posts: 101
Thanks: 6
Thanked 18 times in 14 posts
|
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?
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
An indicator should run as you can compile it -> please try to compile.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2007
Posts: 101
Thanks: 6
Thanked 18 times in 14 posts
|
Thanks for the reply. I'll create a NT version parameter.
|
|
|
|
|
|
#4 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Hint: you may want to play with
Code:
this.GetType().Assembly.GetName().Version
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |