Help - how to write its code - EA Locked MT4

 

EA should verify all three things and how to write its code

 if (AccountName()!="Shabaz Shah" && AccountNumber()!=1234534 && AccountCompany()!="Bank")
 
shabazshah23:

EA should verify all three things and how to write its code

int OnInit()
 {
   if(AccountName()!="Shabaz Shah")
   {
      Print("wrong account name!")
      return INIT_FAILED;
   }
   if (AccountNumber()!=1234534)
   {
      Print("wrong account number!")
      return INIT_FAILED;
   }
   if (AccountCompany()!="Bank")
   {
      Print("wrong account company!")
      return INIT_FAILED;
   }
   return(INIT_SUCCEEDED);
 }
Reason: