In this ea the number of bars is always zero .how can it be?

 
pascalboy:

Hello, in this ea the number of bars is always zero.how can it be?

<SNIP>

Please edit your post . . . .


Please use this to post code . . . it makes it easier to read.

 
pascalboy:

Hello, in this ea the number of bars is always zero.how can it be?

Do you have a EURUSD H1 chart open ? is EURUSD the correct symbol name ?
 
m=iBars("sym",PERIOD_H1) ;
I've never heard of a currency pair called sym
Reason: