Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
AddDataSeries string
Collapse
X
-
AddDataSeries string
Hi, is it possible to call AddDataSeries using either a string variable holding a valid instrument name, or an expression that evaluates to a string that is a valid instrument name? Thanks...Tags: None
-
Hello stephensams,
Thank you for your post.
It is possible to pass a string into the AddDataSeries() method. For information on AddDataSeries please visit the following link: http://ninjatrader.com/support/helpG...dataseries.htm
-
Great, thanks. I realized I have a different issue...
I have a Market Analyzer row in the instrument column populated with ES ##-##. The second column finds the highest volume among the continuous contract Instrument.MasterInstrument.RolloverCollection elements (e.g. ES 03-16, since it's heaviest traded at the moment).
I don't think I can AddDataSeries in State.Configure using Instrument.MasterInstrument since ES ##-## hasn't loaded yet. If this is true, can I AddDataSeries in a later State, or elsewhere, like OnMarketData?
If I can't, can you think of another way to access volume data (Series, VolumeSeries) in OnMarketData?
Thanks so much...Last edited by stephensams; 01-12-2016, 03:01 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
142 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
81 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
125 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
120 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
98 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment