Forum

Please help me. Why array out of range when I try to use iCustom for smaller timeframe.

Can anyone tell me why it print array out of range (number71,55)?Thx a lot(Want to calculate the average high minus low f or 20 days, the custom indicator in iCustom is the code itself) #property indicator_chart_window #property indicator_buffers 4 #property indicator_plots 4 double DayHigh[];

Why array out of series when I want to put array in smaller multitimeframe

Code here, mql5 newbie, can anyone tell me why it print array out of range (number71,55)?Thx a lot(Want to calculate the average high-low 20 days) #property indicator_chart_window #property indicator_buffers 4 #property indicator_plots 4 double DayHigh[]; double DayLow[]; double