Decompiler… Is it the greatest way to get your EA free by decompiling it and then change the settings in order to be free from license requirement?
Well, I just found out that the answer is both yes and no. Yes, in a way that you can change the codes to take out the license requirement.
And no it’s because of the EA that is being decompiled is not the full 100% version of the original EA that it was build on.
Let me explain. I got an email from a visitor and he asked me if the decompiler will be able to decompile an ex4 to it’s original version which includes the original variable name. I told him I do not know. I just decompile, read the codes and find out how it makes sense and then just adjust it accordingly.
Then he brought to my attention that there is a possibility that when you decompile an ex4 file, the original variable name would not be printed out into the mq4 file.
So he gave me an original source code file with all the variable name in tact.

I then, compile it and decompile it… and compare.

So you can see, the some of the variables are lost. So how accurate will this be when you browse through the files or rather when you execute the file?
I do not know… so now there is a great uncertainty with all the decompiled EA out there. One can decompile but one can not be certain if the EA will work 100% as per it’s original build. After comparing both of these EA, I would say that it would be 95% accurate.
Why? Because of the variables. While I do check that some of the variables are unique as per the original variables. I find that some sub-routine programs carry the same variables. Sub-routine variables are independent on the main overall program. In most original programs, variables send to sub-routine programs are meant to be different, but it seems to used the same variables in the decompile file.


So when it returns a value to the sub-routine variable, I am not sure if there will be a conflict to the main program. Again, I am not a well verse programmer to be certain of this.

*Have to squeeze the image so that you can see and compare properly
Risk is about not knowing anything and entering it. In this case when one uses a decompile EA, one is running a risk of not knowing if the decompile version will be 100% sames as the original version.
So as risky as it is… it’s the price you have to pay with your forex account if this proves to be correct.
Sighhhhh……………………….
————————————
Spread Trading
Spread trading is an alternative way to make money in the stock market. Spread trading allows a trader to wager on up or down moves in the market, and also allows traders to put up only a fraction of the cost of the share. Manage your risk, and make tax free earnings when you give spread trading a try.
————————————








great insight. That goes to show that if you wanna trade on a live account, then investing in an EA instead of getting a pirated one is safer
Sure,
but for demo its OK and we can easily can detect some fake EA’s before buying.
True.. true… but if anyone wants to trade live with decompile or free version… it’s up to them to assume the risk isn’t?
Anyhow… those who seek free or decompile version like me are risk takers…
Ok… don’t mean to generalize… but some might be because they can’t afford it and with so many BS around on the internet… you can’t blame them for trying to get their hands of free copy no??
Casey, it’s great to have such a person like you taking initiative to scrutinze decompiled EA file. I see alot decompiled commercial EA and have no way to compare it with original build as what you did here.
Those same variable name you spotted in sub-routine, they are safe to do in that way as variable declared in sub-routine is local to it only, so long as the variable being declared and used in that sub-routine, it doesn’t conflict with the globale variable although both has the same variable name. This is the beuty of C++ style programming.
If we can eliminate this variable name issue, I dont’ see any other decompile error prone problem, perhaps someone could scrutinze deeper to find out more. But this ex4 decompiler has its own weak point, not all ex4 file it can decompiles succesfully, I don’t want to point out here.
I am a programmer and I can ensure you, that “variables are NOT lost”
after decompilation process . Only the names have changed what makes no difference. The “95% accuracy” is your imagination. If you have doubts, just write some code with local and global variables, decompile it and compare the results. You can also make some backtests to be sure that nothing has lost.
Funny article, the author does not know what he is talking about. It is appartent, that only variable names are lost for obvious reason – they are not stored in EX4 file. Their names are replaced by unique handles, which are also taken from the EX4 file.
Hahaha… yes carloss… I don’t know what I am talking about coz I am no programmer.
So the conclusion is that… when an EA is decompiled. Nothing is lossed. So you get 100% mq4 codes from the original ex4.
Thanks for enlightening me guys…
where can one get the decompiler ?
You can get it here http://purebeam.biz/