Account Number Error

 

When I changes the account number, ex) 1234->1238

There is mismatch in 1-2 seconds.

EA's arrays and variables are from 1234's calculation but AccountNumber and order data are from 1238. (OrdersTotal is 0 before login succesfully)

And there is mismatch and error order entrys between 1234 and 1238.

I think that this is mistakes.

I have prevention code but, I want this error fixed in mt4.

//code


int startaccountnumber;

int init()
{

startaccountnumber=AccountNumber();

///...

}


int start() {

if(startaccountnumber!=AccountNumber()) return(0);

//...

}

int deinit () {

if(startaccountnumber!=AccountNumber()) return(0);

//...

}

Thanks.

 
tlswn128:

I have prevention code but, I want this error fixed in mt4.

Given that MT5 is on the verge of being tradeable, I can't see much more development of MT4. Don't hold you breath waiting for it to be fixed.