Metatrader5 expert not receiving last price and volume.
There is no Last price or Volume for forex symbols tick.
Alain Verleyen:
There is no Last price or Volume for forex symbols tick.
There is no Last price or Volume for forex symbols tick.
Thanks for the answer.
But the graph keeps changing showing the last price.
How do I get it?
Maybe (bid +`ask)/2? Would that be a sensible thing to do?
thanks again.
HI.
I am running the following code for GBP/JPY:
or:
In both cases all the info is ok except last price which is always zero (and volume also zero en the 2nd example).
I have run to see if there were errors with GetLastError() but it gives 0 as LastError.
How can I get the last price?
Thanks.