Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Array of DataSeries

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

    Array of DataSeries

    Is it possible to define an array where its elements are of the DataSeries type? (I mean an array of DataSeries)
    I've tried some ways with no success at all.
    Thank you.

    #2
    Hello gofortips,

    Thank you for writing in. Here is how you would go about this in NinjaTrader 7:
    Code:
    DataSeries[] myseries = new DataSeries[3];
    for(int i = 0; i < myseries.length; i++)
        myseries[i] = new DataSeries(this);
    For more information, please see this forum post: http://ninjatrader.com/support/forum...ad.php?t=10732

    Please let me know if you have any questions or if I may be of further assistance.
    Michael M.NinjaTrader Quality Assurance

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
    27 responses
    88 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by naanku, Yesterday, 07:25 PM
    2 responses
    12 views
    0 likes
    Last Post bltdavid  
    Started by dcriador, Yesterday, 10:45 AM
    3 responses
    27 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by SnailHorn, Yesterday, 10:49 PM
    2 responses
    14 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by PaulMohn, Yesterday, 06:59 PM
    1 response
    25 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X