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 mangel2000, Today, 02:23 AM
    0 responses
    2 views
    0 likes
    Last Post mangel2000  
    Started by mangel2000, Today, 01:30 AM
    0 responses
    8 views
    0 likes
    Last Post mangel2000  
    Started by Doxxxx, Today, 01:24 AM
    0 responses
    5 views
    0 likes
    Last Post Doxxxx
    by Doxxxx
     
    Started by ezekilany, Today, 01:10 AM
    0 responses
    4 views
    0 likes
    Last Post ezekilany  
    Started by usjavaburn, Today, 12:59 AM
    0 responses
    3 views
    0 likes
    Last Post usjavaburn  
    Working...
    X