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 futtrader, 04-21-2024, 01:50 AM
    4 responses
    41 views
    0 likes
    Last Post futtrader  
    Started by Option Whisperer, Today, 09:55 AM
    1 response
    12 views
    0 likes
    Last Post bltdavid  
    Started by port119, Today, 02:43 PM
    0 responses
    8 views
    0 likes
    Last Post port119
    by port119
     
    Started by Philippe56140, Today, 02:35 PM
    0 responses
    7 views
    0 likes
    Last Post Philippe56140  
    Started by 00nevest, Today, 02:27 PM
    0 responses
    7 views
    0 likes
    Last Post 00nevest  
    Working...
    X