Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

multi time frame days to load

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

    multi time frame days to load

    Can one have different days to load for different time frames?

    ie

    1 minute bar 3 days to load //adddataseries 1
    5 minute bar 5 days to load //add dataseries 2

    #2
    Hello ballboy11,

    Thanks for your post.

    If the time frames are for different Instrument added dataseries then yes, otherwise no.

    For example, a chart of ES, if you add additional time frames of ES then this warning note from the helpguide applies: "When adding multiple Data Series of the same instrument and the same Bar Type, the 'barsToLoad' property will only be effective on the first added series. Subsequent series with a different barsToLoad setting will not load a different number of bars then the first series."

    Continuing the example, if the added dataseries is another instrument then yes you can have and specify a different bars to load using the method overload of: AddDataSeries(string instrumentName, BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName, bool? isResetOnNewTradingDay)

    Reference: https://ninjatrader.com/support/help...dataseries.htm

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 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