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 samish18, Today, 11:26 AM
    0 responses
    1 view
    0 likes
    Last Post samish18  
    Started by Trader146, 03-29-2024, 01:22 PM
    2 responses
    14 views
    0 likes
    Last Post Trader146  
    Started by tsantospinto, 04-12-2024, 07:04 PM
    7 responses
    126 views
    0 likes
    Last Post aligator  
    Started by futtrader, 04-21-2024, 01:50 AM
    5 responses
    56 views
    0 likes
    Last Post NinjaTrader_Eduardo  
    Started by PeakTry, Today, 10:49 AM
    0 responses
    2 views
    0 likes
    Last Post PeakTry
    by PeakTry
     
    Working...
    X