Download MetaTrader 5

pls i need your help

To add comments, please log in or register
Interested in Signals activity? Come and track!
oladosu adewale
11
oladosu adewale 2010.04.09 20:32 
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
Joao Rosas
391
Joao Rosas 2010.04.09 23:05  
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.
whroeder1
14512
whroeder1 2010.04.10 20:14  
why bother, they will just decompile your ex4 and change the value whenever they like.
whroeder1
14512
whroeder1 2014.05.27 16:51  
WHRoeder: why bother, they will just decompile your ex4 and change the value whenever they like.
No longer true since Build 600
To add comments, please log in or register