I have a problem calling 2 functions in my ea witch is very weird to me since I can not find anything wrong with this part of the ea
here is the function call I have
actually very simple. if the check for profit command shows enough profit it will close either buy or sell down. but wrong parameter count error occurs on compiling
int pro()
{
if (buyprofit >= range*buylot)BC();
if (sellprofit >= range*selllot)SC();
}
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.
I have a problem calling 2 functions in my ea witch is very weird to me since I can not find anything wrong with this part of the ea
here is the function call I have
actually very simple. if the check for profit command shows enough profit it will close either buy or sell down. but wrong parameter count error occurs on compiling