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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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