PDA

View Full Version : Range Bar Issues


MJT
12-05-2007, 11:41 AM
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?

NinjaTrader_Ray
12-05-2007, 11:46 AM
Thanks, this has been forwarded to development.

NinjaTrader_Christian
12-06-2007, 03:33 AM
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

MJT
12-06-2007, 06:20 AM
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.