Password protect an EA, or Work only for 1 MT4 ID. HoW?
-
Hi. I want to make an EA, but I don't want it to be just open for all. I plan to sell it, so I need to password protect it, or make it valid only for 1 MT4 account, or include a license number. Please tell me how to do it.
-
hi gino , im also trying to do same thing , im testing mqllock , u can google and check they trail , if u got something else let me know .
-
@ginogeorge try this

-
Thanks - Let me try
-
thank you... it work
-
@ambrogio Thank you so much for providing answer to this question. I also need to set this up for my EA but please I cant find blocks for "Account" and "Broker Name" as you described above. Please can you show me how to find this? Thanks you.
-
https://fxdreema.com/shared/9uztigKDc
on Init > Modify and get variable account > check if account not same as number > terminate
-
@lanrayy Hi! i just renamed a "condition" block

-
Thank you @iamtaaaro and @ambrogio I appreciate
-
cant someone just import the EA into FX dreema and find out the password?
-
or even load it into Meta Editor.
-
@jsauter86 If you are able to import the file into fxdreema or metaeditor, it means that you have the .mq4 file (the source code), so you have already passed an unnecessary password.
-
@ambrogio understandable...so why put a password on it then? If you must have the password in order to have the file, why put a password on it at that point.
Sorry, not so much questioning the reasoning...trying to see if I may be able to use that for anything. Its a nice feature to have but I personally can't think of a scenario to use it.
-
@jsauter86 The answer is this: if you need to protect your job (your EA) you have to share the executable file .ex4 password protected only (the one you put in the source code), maybe I'm explaining badly. Let me know..
-
ohhhh ok, im mistaken on how that password is implemented then. I will create an EA with it and see how it works!
-
@ambrogio Thanks a lot