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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    151 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    304 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    244 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    345 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    175 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X