Hey, thank you so much for the coding and explanation on everything to password protect my EA :)
I just have a couple questions for anyone who can answer...
1. When I 'compile' my source code after going through the 'password_check' process of putting in all the codes you have given, I always
get some errors. I get an error that says ''init -
function
already defined and has body"'.. How do I fix that? 2. Secondly, how exactly does that "password_generate" part work?
Where do I place that code (separate from the other coding?)? Also, how exactly do I run it? I guess I'm slightly confused.
It works perfectly fine when i include it into an EA which is really good but it doesn't seem to work on an indicator (MT4) file. Is there changes
that need to be done to the code to get it to work with an indicator file or is it for EA's only?
If everyone download the generate_password code from this page , can get password of any ex4 files who we create and set its password with this method!!!!
If everyone download the generate_password code from this page , can get password of any ex4 files who we create and set its password with this method!!!!
What we can do for this problem????
That's why is there a MasterKeyvariable. You can put any 7 characters password there. Put in in both files - Password_Generate.mq4 and Password_Check.mq4.
I have a question, is there any way to revoke a password from users that have been inactive after several months? or just by cherry pick from the person in charge of the password_generate? (let's say I saw he is not following the policy to use my EA)
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hey, thank you so much for the coding and explanation on everything to password protect my EA :)
I just have a couple questions for anyone who can answer...
1. When I 'compile' my source code after going through the 'password_check' process of putting in all the codes you have given, I always get some errors. I get an error that says ''init - function already defined and has body"'.. How do I fix that?
2. Secondly, how exactly does that "password_generate" part work? Where do I place that code (separate from the other coding?)? Also, how exactly do I run it? I guess I'm slightly confused.
Any and all help is greatly appreciated. Thanks,
-Tyler
Show your code.
Already defined is self explanatory.Hi Claude,
Thank you very much for this great script.
It works perfectly fine when i include it into an EA which is really good but it doesn't seem to work on an indicator (MT4) file. Is there changes that need to be done to the code to get it to work with an indicator file or is it for EA's only?
Best regards,
Rod
Thanks (again) Mohammad!
Cheers!
Hi, do you have a version for MT5/MQL5 ?
Thanks so much
I have a question, is there any way to revoke a password from users that have been inactive after several months? or just by cherry pick from the person in charge of the password_generate? (let's say I saw he is not following the policy to use my EA)
every time you open MT4 it returns an incorrect password message, even if it was already typed in the indicator, is it possible to fix this?
thx