MT4: Observed Discrepancy between Bar Data and Tick Data - please help
In the meantime I realized that the problem described above seems to be a broker issue.
I executed the same EA on several demo accounts of a number of brokers and the output was how I expected: no discrepancies between tick data and bar data.
I only have this problem on a demo account of FXCM broker.
Matthias/Bobcat
Hi alltogether!
I'm using Metatrader 4 Version 4.00 Build 902. And I'm trading on a demo account of FXCM broker.
Here a short ea-program outputting the bid and ask prices for every tick and after completion of the M1 bars their belonging OHLC data. The ea worked on a EURUSD M1 chart.
Here an extract of the output:
Obviously the OHLC bar data of the bar at 2015.11.10 18:56:00 do not match with the tick data (bid values) shown before????
Regarding these tick data I would expect the following OHLC data: Open 1.07166 High 1.07166 Low 1.07154 Close 1.07161. The delta seems to be 0.00011 ?????
I observe similar discrepancies for the other bars too.
I do not understand this. What I'm doing wrong? Is there a misunderstanding somewhere?
The funny thing is: I presented quite the same program in forum https://www.mql5.com/en/forum/59295 in a different context, and here the output was as I would expect!
Unfortunately I forgot the Metatrader version I used :-(
I'm a bit confused now and I'm grateful for every answer. Thanks
Matthias/Bobcat