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 carnitron, Today, 08:42 PM
    0 responses
    5 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Today, 07:51 PM
    0 responses
    6 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,974 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Today, 06:48 PM
    0 responses
    8 views
    0 likes
    Last Post rbeckmann05  
    Started by rhyminkevin, Today, 04:58 PM
    4 responses
    58 views
    0 likes
    Last Post dp8282
    by dp8282
     
    Working...
    X