Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bars.BarsSinceNewTradingDay Returns -1

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

    Bars.BarsSinceNewTradingDay Returns -1

    Not sure if this got reported yet but when "Tick replay" option is selected, the last bar of the session generates a value outside of the expected domain for "Bars.BarsSinceNewTradingDay". It returns "-1".

    I have attached a simple Indicator that will print to the output window when the event occurs.

    To recreate:
    1) Setup a chart for CL 07-15 (don't think it matters) Range 1 (Happens on minute charts too)
    2) Select "Tick replay" option
    3) Add indicator to chart
    4) review output window for logged events

    Do the same above only without "tick replay" option, there is no -1 passed on the last bar of the session.
    Attached Files

    #2
    Sorry for the late response here - we have reproduced and reported in #8508.

    Thanks for beginning to our attention.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    238 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    382 views
    1 like
    Last Post Gavini
    by Gavini
     
    Started by oviejo, Today, 12:28 AM
    0 responses
    1 view
    0 likes
    Last Post oviejo
    by oviejo
     
    Started by pechtri, 06-22-2023, 02:31 AM
    10 responses
    125 views
    0 likes
    Last Post Leeroy_Jenkins  
    Started by judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    59 views
    0 likes
    Last Post DynamicTest  
    Working...
    X