Heiken ash iCustom error please help
-

Play videoPlease edit your post.
For large amounts of code, attach it. - double lowHigh = iCustom(NULL,0,"Heiken Ashi",Low/High,High/Low,Open,Close,0,0);High, Low, Open, and Close are arrays. What does an array divided by an array mean?
- You should write a self documenting function instead of calling iCustom directly, see Detailed explanation of iCustom - MQL4 forum
Hi,
I'm getting errors on my heiken ash ea on tick part. What is the problem? The error says " invalid array access"
Please help, thanks.
/ Tick event handler
void OnTick()
{
double lowHigh = iCustom(NULL,0,"Heiken Ashi",Low/High,High/Low,Open,Close,0,0);
double highLow = iCustom(NULL,0,"Heiken Ashi",Low/High,High/Low,Open,Close,1,0);
double opEn = iCustom(NULL,0,"Heiken Ashi",Low/High,High/Low,Open,Close,2,0);
double clOse = iCustom(NULL,0,"Heiken Ashi",Low/High,High/Low,Open,Close,3,0);
Thanks.