initialize sequence for 'struct MqlRates' expected
-
Hello, I'm having an issue compiling an EA, an error appear to be existing and is described as follows :
- initialize sequence for 'struct MqlRates' expected
- see declaration of 'struct MqlRates'
See the code below with the underlined source of error element :

The "firstBar" structure array is declared and initialized in the same line appearently I dont know what is wrong.. An idea ?
-
@seb-0 the only thing I can think of is you can't logically say 1 = 0?
-
@tipsywisdom
The 1 number refers to the number of variables that the array "firstBar" will contain(array size), the 0 number is the value it will take by default. Apparently the problem comes from the fact that there is no structure sequence recognized preceding the array declaration, but as the file code isn't mine I don't know what is missing..