Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Series<T> with custom Object

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

    Series<T> with custom Object

    Hello,

    I would like to know if it is possible to use a Series<T> to store custom objects instead of simple double, int etc. in it.
    From the help guide, it looks like this should be possible:



    I have tried it with an object which uses a dictionary but when i try to access the Series i get an error. Any ideas?

    Thank you

    #2
    Hello mk77ch,

    For future reference, below I am including a link to the NinjaTrader 8 section of the forums.


    To confirm, you are trying to make a series of dictionaries?

    As in one dictionary per bar, is this correct?

    I'm finding that this does work in a test script.
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      thats exactly what i meant!

      Thank you very much

      Originally posted by NinjaTrader_ChelseaB View Post
      Hello mk77ch,

      For future reference, below I am including a link to the NinjaTrader 8 section of the forums.


      To confirm, you are trying to make a series of dictionaries?

      As in one dictionary per bar, is this correct?

      I'm finding that this does work in a test script.

      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
      116 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