• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddDataSeries - isResetOnNewTradingDay parameter

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

    AddDataSeries - isResetOnNewTradingDay parameter

    AddDataSeries can have the below syntax.
    Code:
    AddDataSeries(string instrumentName, BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName, bool? isResetOnNewTradingDay)
    The parameter "isResetOnNewTradingDay" is defined as a nullable bool determining if the Bars object should Break at EOD.

    Please further explain what this parameter does.
    Please illustrate with a scenario when it should be used.

    #2
    Hello Shansen,

    When Break EOD is true, a range bar that was halfway built at the end of a session will be closed and a new bar will be opened with the first tick of a new session.

    When Break EOD is false, a range bar that is halfway built at the end of a session, will continue building as a new session starts.

    Below are publicly available link to the help guide.
    https://ninjatrader.com/support/help...eak_at_eod.htm
    https://ninjatrader.com/support/help...dataseries.htm
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by dkbyond, Today, 04:11 PM
    0 responses
    5 views
    0 likes
    Last Post dkbyond
    by dkbyond
     
    Started by markus3500, Today, 03:29 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by bohenriksen, Today, 04:00 AM
    1 response
    21 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by brett0, Today, 12:33 PM
    3 responses
    14 views
    0 likes
    Last Post marcus2300  
    Started by lordvader34, Today, 11:12 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Working...
    X