• 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 ptertich, Today, 07:56 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by aslane, Today, 08:24 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by Capablanca, Yesterday, 05:51 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by jackt, Today, 07:43 AM
    3 responses
    13 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by zachiatrist, Today, 07:11 AM
    3 responses
    9 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X