Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

B6 GetBar(..) returns wrong bar for time when only 2 sessions are visible

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

    B6 GetBar(..) returns wrong bar for time when only 2 sessions are visible

    Repro steps -

    1) Create the chart shown, don't forget to select the CME US Index Futures ETH session template
    2) Add the attached test script to the chart
    3) Pan/rescale the chart to include the bars in the screen shot (or something close to it)
    4) When the current session and part of the last session are visible GetBar(...) always returns the first bar of the current session no matter what time you pass as a parameter. Example output, which is not correct, see the times:

    Asked for 10/29/2015 6:50:00 AM and got 10/29/2015 3:01:00 PM

    GetBar() appears to work like expected otherwise - except in this particular scenario.
    Attached Files
    Last edited by RanchoDinero; 10-30-2015, 07:51 AM.

    #2
    Hello,

    Thank you for reporting this. I am not able to reproduce the issue so far on my end -- the two values are always identical. However, it is possible that I am not using the exact chart settings as you. Can you please post a screenshot showing every chart property in the Data Series window?
    Dave I.NinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by xepher101, 05-10-2024, 12:19 PM
    6 responses
    67 views
    0 likes
    Last Post xepher101  
    Started by gbourque, Today, 04:11 PM
    0 responses
    1 view
    0 likes
    Last Post gbourque  
    Started by James650, 05-07-2024, 08:25 AM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by Vitamite, Yesterday, 12:48 PM
    3 responses
    19 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by aligator, Today, 02:17 PM
    0 responses
    17 views
    0 likes
    Last Post aligator  
    Working...
    X