i am new ? i want put password to my ea
-
hello
How do I put password to my ea ?It must be entered every month ؟
at the end of the month, a new password must be entered to continue the work.
And if it is not entered after the end of the month, it stops working -
@new1

Is this method correct? PLEASE -
I recommend you to do like this:
https://fxdreema.com/forum/topic/5657/ea-password-protection
-
@l-andorrà Thank you, but I want to change the password every month, and stop the EA until the new password is entered
-
Easy. Just remove the EA from the chart, choose a new password through fxDreema and run it again on the chart at the end of the month.
-
@new1 good idia
P/s: How can I find the "Terminate"? Thanks -
You can find it at the bottom of all blocks (grey colour).
-
@l-andorrà Thanks
-
@l-andorrà said in i am new ? i want put password to my ea:
Easy. Just remove the EA from the chart, choose a new password through fxDreema and run it again on the chart at the end of the month.
But how to do if there are more 100 user?
-
Did u figure this out? How to put password for multiple users?
-
@ranjayforex I would create a list of hashes, like 100 different hashes, and those would act as "licenses" for the EA. Before the EA starts (OnInit) put a loop that compares the user-input hash to the listed hashes, and if no match is found -> terminate
This would still allow users to share their own "passwords" to other users, but anyway I would say MQL is not the best for cryptographic purposes....
-

U can create a list of login ID to compare. If it does not match, then it terminate.
i am still trying to find a way how to allow the login to expire.. -
@ranjayforex Thank you I do not mean this, I found previous topics contain the same.
I mean, I want to put a secret number or code that ends every month, so that when selling EA, I can close it after a month when the buyer does not pay. This is what I mean.
That is, the expert will stop working after a month, and a secret number must be entered in order to work again. -
@roar Thank you I do not mean this, I found previous topics contain the same.
I mean, I want to put a secret number or code that ends every month, so that when selling EA, I can close it after a month when the buyer does not pay. This is what I mean.
That is, the expert will stop working after a month, and a secret number must be entered in order to work again -
@roar Thank you for your interaction, and I apologize for the delay, because I am a doctor and my time is very busy, so I am late in responding, but I expect to find a solution to my problem with you.
Thanks for your efforts again -
Of the topic... just could,nt hold myself....... I thought doctors are by nature servants to the population and make enough money for a good living? and now you want to sell EA,s... so for you its about money... all good... just strange.... I must very be naive.
-
@alphaomega said in i am new ? i want put password to my ea:
Of the topic... just could,nt hold myself....... I thought doctors are by nature servants to the population and make enough money for a good living? and now you want to sell EA,s... so for you its about money... all good... just strange.... I must very be naive.
Thank you, I can gladly answer you. Easily .
Forex gives you an opportunity to earn a lot of money with ease. Medicine is a humanitarian profession, not a financial profession.
So in my spare time I try to do something good. We all need to develop ourselves.
I hope to be your answer. -
Forex gives you an opportunity to earn a lot of money with ease. Medicine is a humanitarian profession, not a financial profession.
Boom! Just in the face, AlphaOmega! XD
Now on the topic. The problem is if that EA is supposed to be removed from the platform or not once the month has passed. What is the user supposed to do?
-
@l-andorrà said in i am new ? i want put password to my ea:
Boom! Just in the face, AlphaOmega! XD
Now on the topic. The problem is if that EA is supposed to be removed from the platform or not once the month has passed. What is the user supposed to do?I want the expert to stop working after a month.
Or any way to re-subscribe? -
One possibility is creating a counter variable for value 30 (ie for 30 days). Then you add +1 to the variable every day (every daily bar). Once teh value of the variable is more than 30, the EA can selfterminate.
That counter can be conditioned by a password as per the examples above. That way the EA will automatically terminate for the period the password is valid. You can change the password from mont to month.