Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
It could. Don't believe all what you read here
Yes but this:
Is kinda weird right ? it should at least be:
Yes but this:
Is kinda weird right ? it should at least be:
But i just can't figure out why he wants to do that.
Of course.
To avoid difference on 6th, 7th decimal...
Exactly for this reasonIt could. Don't believe all what you read here
Try this:
{
for(int i=1; i<fmin(50,Bars-2); i++)
{
double MA1=iMA(_Symbol,0,120,0,MODE_SMA,PRICE_CLOSE,i),
MA2=iMA(_Symbol,0,120,0,MODE_SMA,PRICE_CLOSE,i+1);
if(MA1<=MA2) return(false);
}
return(true);
}
{
// do something
}