Hello,
I know I coud ask the MQL4 community, but spreading my issure more widely will hopefully give me better answers. So here it is:
The problem that occours says "Critical error while running expert 'TickQuote EURUSD,H1'. Array out of range. Continue in debugger?".
I am new to MQL4 programming and so don't understand what to do. My goal is to check if the value of the bid price of the current (or very last respectively) tick is higher than then previous one.
I know I coud ask the MQL4 community, but spreading my issure more widely will hopefully give me better answers. So here it is:
Inserted Code
double Bidtick[]; int i=0; void OnTick() { i = i + 1; ArraySetAsSeries(Bidtick,false); Bidtick[i] = Bid; if(Bidtick[1]>Bidtick[2]) { ... } ... }
The problem that occours says "Critical error while running expert 'TickQuote EURUSD,H1'. Array out of range. Continue in debugger?".
I am new to MQL4 programming and so don't understand what to do. My goal is to check if the value of the bid price of the current (or very last respectively) tick is higher than then previous one.
May the Pip be with you.