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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    30 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    17 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    9 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    16 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    19 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X