![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2010
Posts: 279
Thanks: 17
Thanked 4 times in 3 posts
|
Hi All,
For an indicator I'm writing I'm using an Enum that will hold all the tickers. Code:
public enum Tickers
{
AA ,
AXP,
BA,
BAC,
CAT,
CVX,
DD,
DIS,
GE,
HD,
HPQ,
}
Do you have any suggestion how to solve this? Thanks in advance! |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,569
Thanks: 262
Thanked 1,018 times in 999 posts
|
freewind, I would then just use the MasterInstrument name without individual contract expiries - http://www.ninjatrader.com/support/h...trument_na.htm
Additionally, parse should also do the trick - http://www.cambiaresearch.com/c4/1df...-Instance.aspx
Bertrand
NinjaTrader Customer Service
Last edited by NinjaTrader_Bertrand; 12-13-2010 at 06:37 AM.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Enum | Mindset | Version 7 Beta General Questions & Bug Reports | 14 | 01-14-2010 11:09 AM |
| can put 2 different futures contracts/stock symbols on on chart? | qwert12 | Charting | 1 | 11-25-2009 03:38 AM |
| Switched from FOREX to Currency Futures .WHY | johncare | Suggestions And Feedback | 0 | 11-13-2009 09:13 AM |
| New Zealand currency futures | rretch | Miscellaneous Support | 2 | 06-01-2009 10:19 AM |
| Mini Currency Futures | NickA | Miscellaneous Support | 2 | 05-24-2009 05:45 AM |