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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    54 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    34 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    94 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    56 views
    0 likes
    Last Post PaulMohn  
    Working...
    X