Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

in what type of DataSeries should be the "object" type stored?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    in what type of DataSeries should be the "object" type stored?

    There are IntSeries,BoolSeries, DataSeries...

    is the "DataSeries" correct place to store object types?
    i.e.
    xyz = new DataSeries(this)...

    Code:
    if CurrentBar=123
    xyz.Set(myObject);
    Or that is only preferred for storing of "double/float" types values, as the first sentence says here?

    What I should do when I want to store Objects?
    Last edited by ttodua; 04-30-2020, 02:24 AM.

    #2
    Hi ttodua, thanks for your question.

    In NinjaTrader 7 there is not a customizable Series<T> object like we have in NinjaTrader 8. You would need to make your own list of objects with a List<T>.

    Please let me know if I can assist any further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    618 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    419 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    293 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    414 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    367 views
    0 likes
    Last Post CarlTrading  
    Working...
    X