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 ZenCortexCLICK, Today, 04:58 AM
    0 responses
    5 views
    0 likes
    Last Post ZenCortexCLICK  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    172 responses
    2,280 views
    0 likes
    Last Post sidlercom80  
    Started by Irukandji, Yesterday, 02:53 AM
    2 responses
    17 views
    0 likes
    Last Post Irukandji  
    Started by adeelshahzad, Today, 03:54 AM
    0 responses
    7 views
    0 likes
    Last Post adeelshahzad  
    Started by Barry Milan, Yesterday, 10:35 PM
    3 responses
    13 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X