Close Price of Current Bar - get different Values for one time

 
Hi,

I entered in the start function the following code:

if (Hour()==10 && Minute()== 0)
Print(iClose(NULL,PERIOD_H1,0));

When I start the expert for the date 2006.06.01 - 2006.06.03 I get 16 different values
for the 2006.06.1 and no data for the 2nd and 3rd of June.

As far as I understand, the start() function is called for every bar in the graph,
I use iClose for one hour there should be only one value to my understanding, but not 16 :-)

Please could you help me to understand this?

thank you for your help
fari
 
Hi,

Sorry for my stupidity, the point is, that MetaTrader is doing a interpolation of the
minutes data, I got from alphari. Therefore I get different seconds for one minute of time.

sorry again.
fari
Reason: