![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jun 2007
Posts: 72
Thanks: 0
Thanked 0 times in 0 posts
|
Ray,
When I try to add sp500, I have problem. Add("SP500", PeriodType.Minute, 5) Error is, Add() method with an invalid instrument. Either 'SP500' does not exist in the Instrument Manager or the specified exchange has not been configured. Could you please tell me how to add this index. Thanks |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
This happens to me for any index too. Hmm.
|
|
|
|
|
|
#3 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
You would need to note the index as you see it e.g. in your default instrument list: ^SP500
Add("^SP500", PeriodType.Minute, 5)
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Line "names" in Indicator Box change to "Line" after modification | higler | Charting | 3 | 05-02-2007 06:05 AM |
| Multiple Simultaneous Trades at "Exit on Close" With Setting "1 Entry Per Direction&q | KBJ | Strategy Analyzer | 1 | 04-27-2007 05:34 AM |
| Problem with opening application and trying to preserve prior "workspace" | Greg1 | Miscellaneous Support | 8 | 04-14-2007 01:49 PM |
| Control center "strategies" tab, "Positions tab, and "Market Analyzer" not | funk101 | Strategy Development | 6 | 04-10-2007 03:44 AM |
| Entry: "CIT" and "Chase" | wagross | Miscellaneous Support | 1 | 12-15-2004 03:43 AM |