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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    129 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    74 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    117 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    111 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    89 views
    0 likes
    Last Post CarlTrading  
    Working...
    X