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 SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      22 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      12 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      8 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      10 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      16 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X