getting the number of bars of historical data

 

Hi,

i have 1M EURUSD historical data from 1999. However when i run iBars("EURUSD",PERIOD_1M) i get always 1001 bars. Why is that?

I want to retrieve the exact number of 1M bars i have in history data, what is the function to use or how it is done?



Thanks in advance

Reason: