Rather than contemplate whether to publish your work or not, let’s just make it a bit more difficult for the bad guys because is it worth it for you to give away a free indicator or script or expert and have some person (jackass) decompile and give the source code away? I have heard that there is a group out there that dedicates all its time decompiling anything they can get their hands on … bastards.
This product will remove all comments from your original mql file and will also format the code in such a way that it will be very hard and it will take a lot of time to make any sense out of it.
Download the MT4 Obfuscator at the bottom of this page, copy it into your experts folder. Double click on MT4Obfuscator.exe, on the prompt window type in the name of the file to obfuscate. For example “MACD.mq4” then press enter. Note that the file name can not have a space in it … Then enter the output file name. For example “Obfs_MACD.mq4” and press enter. When the app is done press any key to exit the app.
Now in the MetaTrader 4 editor open the obfuscated file, in my example “Obfs_MACD.mq4” file and compile. Should you choose to distribute your EA, make sure to send out the obfsucated ex4 file.