problem getting the next tick on current bar

 

Hi Guys,

I'm working on the current bar(j=0)..I know that Time[0] and Open[0] remain the same while the current bar is developing. I'm unable to get the next bid price which comes on the next tick on this current bar.. I like to be able to get the next current price(bid) which comes with the next tick(on this current bar) so I can compare it with the initial open price that was provided by Open[0]. My problem is the loop(s) for or while do not work(..do not get the next tick) so I don't get the next bid price, and when I use Refreshrates nothing happens, I know that for a tick to come, the start() function must be restarted.. any ideas/suggestions? It would be very much appreciated.

Pano

 

Bid

start is called WHEN the next tick arrives . . .