Help - how to write its code - EA Locked MT4
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); }
EA should verify all three things and how to write its code