Asked many times before - try using the search facility in future.
Hello Palash,
You can code a simple and similar security feature below in SRC to an EA. Once the .mq4 EA file contains this code, you can choose to provide only the .ex4 EA file. The .ex4 EA file shouldn't be crackable unless code cracking pros decide to do what they do. Anything can be cracked but this doesn't mean anything should be cracked.
Add an external string like so-
extern string key = "password";
Next, implement an 'if' condition to both buy/sell entry signals like so-
if(key=="Palash") if(...) if(...) if(OrdersTotal()==0) OrderSend(Symbol(),OP_BUY,Lots,Ask,30,StopLoss,TakeProfit,"",MagicNumber,0,Blue);
At your convenience, provide only .ex4 EA file and that's it.
Thank you
until someone decompiles it and removes the protection.
Just because a person could potentially do something doesn't necessarily mean they'll do it. I try to give people a benefit of doubt.
Thank you for your post
Just because a person could potentially do something doesn't necessarily mean they'll do it. I try to give people a benefit of doubt.
Thank you for your post
LOL
You should have a look and see how easy and inexpensive it is to get an ex4 decompiled . . .
LOL
You should have a look and see how easy and inexpensive it is to get an ex4 decompiled . . .
I agree, it's a common practice for .mq4 files to be decompiled. I'm also familiar with more thorough methods to crack highly protected code however I have no interest in discussing code cracking methods. I believe there's a phrase, "What goes around comes back around". BTW, congrats on your recently added code to the MQL5 market. I expected you'd have no trouble at all transitioning from C to C++. Two thumbs up pro :)
Thank you
I agree, it's a common practice for .mq4 files to be decompiled. I'm also familiar with more thorough methods to crack highly protected code however I have no interest in discussing code cracking methods. I believe there's a phrase, "What goes around comes back around". BTW, congrats on your recently added code to the MQL5 market. I expected you'd have no trouble at all transitioning from C to C++. Two thumbs up pro :)
Thank you
I've edited your post, Advertising isn't allowed.
I haven't transitioned to mql5 yet, I have a very, very, very long way to go . . . I'm nowhere near being happy and comfortable around structures or classes.
I've edited your post, Advertising isn't allowed.
I haven't transitioned to mql5 yet, I have a very, very, very long way to go . . . I'm nowhere near being happy and comfortable around structures or classes.
"I've edited your post, Advertising isn't allowed."
Apologies for the advertisement, rule-breaking isn't my intent and I'm grateful to you for your polite intervention.
"I haven't transitioned to mql5 yet, I have a very, very, very long way
to go . . . I'm nowhere near being happy and comfortable around
structures or classes."
Simon... I understand some of us
(Simon) truly struggle with programming more than others. I'd humbly
take the liberty and make a personal sacrifice to place you under my
wings to be your programming savior and guide. I know you struggle
tremendously with programming and could use a A LOT of assistance. Sigh.... I'll just come out and say the facts... Yeah, I'm a
professional and would gladly share a few pointers with you ;) Hahahaha!
If you celebrate Easter, Happy Easter to you. If not, no-comment.

- 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,
I want mql4 code to set user id and password to protect my EA, when user call the EA it shows a windows which want user id and password. if this user id and password match then it will work otherwise not.
Please help me to give such code