How to protect EA from decompilation?

 
How do hackers decompile the EA from ex4?
how to protect ex4 from decompilation?
 

with more encryption and a setup executable;

there is much to help with dlls and databases.


newer codes are encrypted and supposedly unbreakable.

especially when tied to an MT4 account from market.

 
 

And from this announcement (it is working for MT4/ex4 as well because MetaEditor is the same one for MT4 and MT5) - 

MQL5: New online service MQL5 Cloud Protector has been added to provide additional protection for MQL5 programs. Protection is similar to the option used in the largest store of trading applications MetaTrader Market, where the EX5 product files submitted by sellers are additionally compiled to native code.

Now, this type of protection is available to all platform users. To protect your files, execute the following command in MetaEditor: Tools—MQL5 Cloud Protector. The only difference of MQL5 Cloud Protector from the mechanism used in the Market, is that the file is not linked to the user's computer. Protected via MQL5 Cloud Protector files can be run on any computers similar to common EX5 files.

MQL5 Cloud Protector is a secure service. Additional protection is only applied to a compiled file. The source code is not passed to the service. At the first step, a program is compiled to an EX5 file on the user's computer; after that the compiled file is sent over an encrypted channel to the service, where it is protected and returned to the user.


Example (I protected one indicator now) -


 
Abdul Manan:
How do hackers decompile the EA from ex4?
how to protect ex4 from decompilation?

putting a lot of effort into making the code unreadable even to you helps secure leaks.

without layers of encryption there is no fool proof way of keeping it a secret.

..i think compression is better than encryption and can be involved in memory use.

basically the encryption is already becoming harder to crack -usually done manually.

that is the most you could hope for even if you had a priceless code cost 250 to crack.

even when a file is encrypted if the file can be loaded in memory it can be decrypted.

your better off moving to mt5 mql5 to benefit from the extra layers of protection.

 
Aside from the facts above explained well by both guys,i dont think you having such a dangerous and or serious secret,so in general and with usual users they cant access once compiled (ex4/5) but if the matter is taken as project to must be solved then there is no guarantee to be safe any thing that is functioning live/online but it cost as much as nobody willing to afford.
 
Sergey Golubev:

And from this announcement (it is working for MT4/ex4 as well because MetaEditor is the same one for MT4 and MT5) - 

Example (I protected one indicator now) -


Does this method reduce the efficiency and speed of the expert?

 
Don't share your code with anyone and keep it to your self and by this way your code defenitely should be safe! 
 
Overweight:

Does this method reduce the efficiency and speed of the expert?


This is same method which is used for the Market (same cloud protection).

 
You can use  MQL5 cloud protector.
Reason: