![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2008
Location: Madrid, Spain
Posts: 229
Thanks: 2
Thanked 0 times in 0 posts
|
Greetings,
Is there any maximum for declaring DataSeries ? (100, 1000, ... ? ) and Which is the best solution for runtime optimizing; to use DataSeries or Windows collections: Lists, ArrayLists, Dictionaries, ... ??? ( I am developing one strategy with 60-80 DataSeries. However I could replace these dataseries by 6-10 customer-typed windows Lists. But I dont know which would be the best solution for runtime ). Thanks very much. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
>> Is there any maximum for declaring DataSeries ? (100, 1000, ... ? )
There is none. However, at some point you may hit the wall due to performance/resource issues. We don't know on when this would happen. You would need to try. >> use DataSeries or Windows collections: Lists, ArrayLists, Dictionaries, ... ??? It depends on the use model: for relative bar addressing you would need the DataSeries anyway. If not, then you could go with the .NET collections.
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Off Screen | rabidturtle | Miscellaneous Support | 2 | 10-05-2007 11:30 AM |
| Multiple Windows | pgabriel | Miscellaneous Support | 1 | 05-31-2007 08:15 AM |
| Open Windows | stargazer | Charting | 1 | 05-01-2007 02:13 AM |
| Windows Vista | ForexResearch | Miscellaneous Support | 1 | 04-24-2007 03:06 AM |
| Windows Vista | gdargento | Miscellaneous Support | 1 | 01-18-2007 01:09 AM |