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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        80 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        63 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        63 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X