pls i need your help

 
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);

THIS CODE IS NOT WORKING
 
it may not be working if you put this code inside the init() function, which runs only once. Try coding it inside the start() function, instead.
 
why bother, they will just decompile your ex4 and change the value whenever they like.
 
WHRoeder: why bother, they will just decompile your ex4 and change the value whenever they like.
No longer true since Build 600
Reason: