How can i make it so a EA can only be used with the said account numbers?

 
How would i be able to do this?
So the EA will only be usable on the accounts i want it to.
So maybe add account numbers in the EA, so only those which are in it will work.
 
MichaelT wrote >>
How would i be able to do this?
So the EA will only be usable on the accounts i want it to.
So maybe add account numbers in the EA, so only those which are in it will work.

Mike,

see the following:

if (AccountNumber()!=123456)
{
  if(AccountNumber()!=123456)
  Comment("\nYou are trying to do illegal, unethical and criminal by using this EA on your non-registered Account No: "+AccountNumber()+" under your name "+AccountName()+". \nIf caught, you will face the court penalty that could bring a big loss to you. I think you are good and ethical man, hence, please purchase this EA by email me at azizan8@gmail.com");

return(0);
}

Pls put this code just after

int start()

{

//code here

Alternatively, you can visit this link:- Block EA using Account Number

I hope it helps everyone here.

Regards,

 
thanks a lot azizan that going to help me a lot.
And i am sure other people also