Not easily done with Edition 1, however, with Edition 2, the bars are broken apart into ticks where 4 ticks would be sent per bar (Open, High, Low, Close). So in that case you'd handle NewTick and you'd keep track of which tick came through and process.
Off the top of my head, something like;
int tickCount = 1;
public void override NewTick(Symbol symbol, BarData partialBar, TickData tick)
if (tickCount == 1)
// This is my opening price tick
if (tickCount == 4)
// this is my closing price tick.
public void override NewBar()
// Reset the counter now that we've received a full bar
tickCount = 1;
I've just started to use Right Edge and I find it a little bit too simplistic. I have used OpenQuant before which has methods for different events on a bar, e.g. open and close. This works well for me as I would like to test some simple strategies where I enter on open and exit on close of a bar. Is it possible to do this in RE as well, as I haven't been able to figure it out yet.