How to Limit Account using indicator - page 3

 
on my own:
I do not understand one thing : what are you going to protect if you tell that you do not know how to code?

Isn't that obvious?

 
sebastianK:
Isn't that obvious?

Well, I guess so

 
sebastianK:
Isn't that obvious?

Maybe he starts learning from the protection part first :):)

 
hello, how can i do this for mql5 please ,   if (AccountNumber() != 123456789) return(0);
 
Mladen Rakic #:

Put this as a first line in start :

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

replace the number with your own

hello, how can i do this for mql5 please .   if (AccountNumber() != 123456789) return(0);
 
Behzad Abbasi #: hello, how can i do this for mql5 please .   if (AccountNumber() != 123456789) return(0);

Read up on the documentation for AccountInfoInteger and ENUM_ACCOUNT_INFO_INTEGER.

if( AccountInfoInteger(ACCOUNT_LOGIN) == 123456789 ) ...
Reason: