Hello Developers!
Do you know how to set password for the EAs?
yeah
input string pass = ""; // enter a password string passwd = "hellobaby" void OnInit() { if (pass != passwd) { ExpertRemove(); } }
You have to hardcode it, because MT doesn't allow to hide a file somewhere deep in the system file. It's also possible to add some encryption stuff, but that's the basic way to do it.
See there for more advanced secure tips depending on your setup, you may choose a licence key on the net or whatever ...
https://www.mql5.com/en/articles/359
- 2012.02.17
- investeo
- www.mql5.com
yeah
You have to hardcode it, because MT doesn't allow to hide a file somewhere deep in the system file. It's also possible to add some encryption stuff, but that's the basic way to do it.
See there for more advanced secure tips depending on your setup, you may choose a licence key on the net or whatever ...
https://www.mql5.com/en/articles/359
Thank you very much @Icham Aidibe
You're welcome.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello Developers!
Do you know how to set password for the EAs?