I'm having trouble with missing data again. I only noticed the problem today.
One of my indicators subscribes to a symbol using the getHistory function. The "to" field is 0, meaning that I've subscribed to get the updated bars.
This has been working fine, and is very well tested. However, today I noticed that the data display by my indicator was not up to date, and I found out that my data seems to run out early this morning (no more data for several hours). I don't see this on the charts themselves - they seem fine. Only on the data requested by my indicator do I see the problem.
More weird, is that this only seems to be the case for some data periods, e.g. m5. If I use the same indicator settings except us m1 data it gets the last minute of data. m15, also seems to work, but H1 does not.
I don't know what's behind the scenes of the getHistory function, can it really be that it gets different data for for m1, m5, m15, etc. Can it really have some period's data missing but not for others?
Any help or ideas would be appreciated.
Many thanks.