HOW CAN I CODE FOR SOMEBODY REQUESTING FOR MY EA. I MEAN THE CODE AS I NEED HIS ACCOUNT TO DO THAT BUT I DON'T KNOW HOW TO DO IT. I NEED YOUR HELP PLEASE.
JUST GIVE ME THE MQL4 THE WAY TO INPUT IT, I HAVE ONE HEAR BUT IS NOT PLACING TRADE AS I INPUT IT THEIR,
int hard_accnt = 11111; //<-- type the user account here before compiling int accnt = AccountNumber();
if (accnt != hard_accnt) { Alert ("You can not use this account (" + DoubleToStr(accnt,0) + ") with this program!"); return(0); } // your normal code! return(0);
JUST GIVE ME THE MQL4 THE WAY TO INPUT IT, I HAVE ONE HEAR BUT IS NOT PLACING TRADE AS I INPUT IT THEIR,
int hard_accnt = 11111; //<-- type the user account here before compiling
int accnt = AccountNumber();
if (accnt != hard_accnt)
{
Alert ("You can not use this account (" + DoubleToStr(accnt,0) + ") with this program!");
return(0);
}
// your normal code!
return(0);
THIS CODE IS NOT WORKING