Edit Your Comment
Array out of Range error?
Oct 13, 2017 at 17:17
会员从Oct 23, 2012开始
349帖子
Why am i getting this error on this code?
array out of range in 'EA.mq4' (194,14)
bool IsBarPattern()
{
bool res=false;
if(
Open[3]<Close[3] &&
Open[2]>Close[2] &&
Open[1]<Close[1]
)res=true;
if(
Open[3]>Close[3] &&
Open[2]<Close[2] &&
Open[1]>Close[1]
)res=true;
return(res);
}
array out of range in 'EA.mq4' (194,14)
bool IsBarPattern()
{
bool res=false;
if(
Open[3]<Close[3] &&
Open[2]>Close[2] &&
Open[1]<Close[1]
)res=true;
if(
Open[3]>Close[3] &&
Open[2]<Close[2] &&
Open[1]>Close[1]
)res=true;
return(res);
}
if you follow the flock like sheep you always end up stepping in shit!
会员从Aug 20, 2009开始
266帖子
会员从Aug 20, 2009开始
266帖子
*商业用途和垃圾邮件将不被容忍,并可能导致账户终止。
提示:发布图片/YouTube网址会自动嵌入到您的帖子中!
提示:键入@符号,自动完成参与此讨论的用户名。