Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Range Bar Issues

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

    Range Bar Issues

    I have two points on Range Bar charts that don't look quite right to me. It is possible these are related to the need to keep the 'range' in sync?

    1. CurrentDayOHL() does not always return values that match actual price movements:

    Using YM today as an example, session time 0930-1600EST, Range 25 ticks, candle stick style. The first bar has a tail with low of 13259 which is the value returned by CurrentDayOHL().CurrentLow, however the price has not been down there since the night before.

    2. That 1st bar has time stamp of 0930 but contains volume (8074 on my chart). Then the next 3 bars are "phantoms" as the gap open is filled which also have time stamp of 0930, and have zero volume. Should the first bar also have zero volume?

    #2
    Thanks, this has been forwarded to development.
    RayNinjaTrader Customer Service

    Comment


      #3
      Hi !

      1) When I pull up a 25 range chart on YM session time 0930 - 1600 EST and compare it to a 10 tick chart, same instrument and session time.

      I notice that the last bar of the 12/04/07 is build 9:40 PM. At 9:43 PM I see a bar on the 10 tick chart which has a low of 13259. The next range bar is not completed on this day, because the range difference is not exceeded. So ticks for the next day are added, until they are outside of the range of the last bar. So the first range bar on the next day gets a timestamp on the next day, but includes ticks from the preday (9:43 PM). So the CurrentDayOHL display should be correct.

      2) As you already suspected, this has the same reason. The first bar of the day is filled up with ticks from the preday, which have volume.

      Kind regards,
      Christian
      ChristianSenior Software Developer

      Comment


        #4
        Thanks, I think I understand your explanation Christian.
        But is there a way to modify NT so that CurrentDayOHL will return values that represent actual prices since session start, as it does on a time based chart? (obviously while still retaining correct range bar syncronisation).

        We could get very close to that if there was an option to not plot range bars that fill an openning gap, which is raised in another post.

        If nothing else can be done, then I would still question the validity of volume in that first bar. None of that volume was accumulated during my session time so would be better set at zero, then it is clearer that it is pre-session activity and is consistent with the "phantom" bars that come afterwards.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        619 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        359 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        561 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        566 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X