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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      154 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      306 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
      176 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X