heyigeng:
the result is 'if' - too complex expression
what should i do of that? please help, thanks.
You should put semi colon at the end of this line
macd[i]=iCustom(Symbol(),0,"MACD",5,13,1,0,i)
oh, thanks. god, i make so...stupid mistake.
we've all made those mistakes lol
It's not a stupid mistake, its just a silly typo ... and annoying mql4 compiler and stupid MetaEditor telling you have err but not helping pointing to the typo :D
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
when i wrote:
for(i=0;i<10;i++)
{
macd[i]=iCustom(Symbol(),0,"MACD",5,13,1,0,i)
}
if(macd[0]>macd[1])
Print("yes");
the result is 'if' - too complex expression
what should i do of that? please help, thanks.