Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MultiSeries - Loading data for x days

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

    MultiSeries - Loading data for x days

    i am creating a multi-series indicator.

    the primary chart is a daily chart with say 500 days of data, while the secondary data-series is of one minute granularity.

    now currently the issue is the secondary data also loads 500 days of data which takes a lot of time when connected. now for the secondary series say 30 days of data is sufficient for my indicator. so can i have a method from where i can define the number of days to load.

    like currently i am using

    Code:
    protected override void Initialize()
            {
                Add(PeriodType.Minute,1);
                Overlay                = true;
             }
    what i want is

    protected override void Initialize()
    {
    Add(PeriodType.Minute,1, 30);
    Overlay = true;
    }
    the 30 as defined in red tells the script to load 30 days of data for the secondary series. do remember the primary series is a daily bar with 500 days of data.

    thanks in advance.
    Last edited by bukkan; 11-22-2010, 08:25 AM.

    #2
    Hello,

    Thank you for your forum post.

    Unfortunately using Add() will always add in the enter amount of data for the master data series. There are no functions currently to limit this. You would need to resuce the number of days loaded in the chart. I will submit this into development however.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thanks Brett for the prompt reply.

      appreciate for sending the same to development for consideration. hope it will get implemented in some future version as the same will save a lot of data throttling issue when loading a high number of days of data in the primary series.

      thanks again.

      Comment


        #4
        Hello,

        No problem. Have a good rest of the day.

        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        619 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        359 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        562 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        566 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X