-
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
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.