![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
|
In the thread: http://www.ninjatrader.com/support/f...ead.php?t=2646
Customer support shows how to create a pull-down list in parameters using a public enum. I would like to generate a pull down list that allows the user to select one of several strings. In particular: "auto" "0" "0.00" "0.000" "0.0000" "0.00000" (Essential number formats for displaying information). These CANNOT be used as "enums" (enum names must begin with a letter and cannot have embedded '.'). Any suggestions? Thank you for your help! |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
SharkCub, unfortunately this is outside of the scope we can support here, however if you google this issue there are several workarounds being shown so you should find snippets to start from -
http://www.codeproject.com/KB/cs/stringenum.aspx
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sending strings from indicator... | jonmoron | Indicator Development | 7 | 04-08-2013 02:56 AM |
| European date format and strings | eDanny | General Programming | 6 | 03-15-2011 12:04 PM |
| User defined Variables: Font? Enum Pull-Down list? | Lost Trader | General Programming | 20 | 08-30-2010 06:59 AM |
| Why can't I pull up a daily chart? | BrianNC | Miscellaneous Support | 1 | 10-07-2009 03:21 AM |
| OrderID and custom strings | furedde | Miscellaneous Support | 3 | 11-06-2006 08:27 AM |