Any ideas?
The help says what it is, but says nothing about what conditions exist for true or false. Does sychronised really mean that the data is all loaded without gaps?
ENUM_SERIES_INFO_INTEGER
Identifier | Description | Type |
SERIES_BARS_COUNT | Bars count for the symbol-period for the current moment | long |
SERIES_FIRSTDATE | The very first date for the symbol-period for the current moment | datetime |
SERIES_SERVER_FIRSTDATE | The very first date in the history of the symbol on the server regardless of the timeframe | datetime |
The very first date in the history of the symbol in the client terminal, regardless of the timeframe | datetime | |
SERIES_SYNCRONIZED | Symbol/period data synchronization flag for the current moment | bool |
Jellybean
- www.mql5.com
Thank you Stringo
All is clear now.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
In trying to prevent a divide by zero error, I realised that the indicator was calculating before the data was loaded or updated. I think I need to return without calculation if the data is not ready. I saw someone else use SeriesInfoInteger( NULL, 0, SERIES_SYNCRONIZED ), but is this the correct (or good) usage? Any comments would be helpful.
Cheers
Jellybean