Want some Information regarding licensing.
-
I want to know that, if we use licensing method to restrict the EA to 1 specific account. I understand this method but if a user have 5 accounts then how this method can be used to restrict the EA file for those 5 accounts.
Do it work if i put those 5 account numbers in condition block separated with comma's -
@forexbob-0 No. Commas work in other places (symbol names, group names), but in this case it's one whole value.
-
@fxdreema I didn't understand, I will appreciate your effort, if you show an example
-
@fxdreema I have done this, and asking for adding other account no here.

-
@forexbob-0 to check multiple numbers, you need some custom code instead of that condition block:
if(StringFind("12324235, 987654, 234234234, 233321342", AccountInfoInteger(ACCOUNT_LOGIN),0) == -1) ExpertRemove();

-
@roar This is only thing that it need to be done ?
and should we use "terminate block" below the "custom MQL code" block ? -
@forexbob-0 that is all you need.
ExpertRemove() function in the code does the same thing as "terminate" block.
-
@roar Thank you, for the help.