Now I am compiling my MetaTrader
Attachments: How can I convert .ex4 file into .mq4?
{quote} It's good to know that there are no decompilers available, at least not yet, for the new MT4.
I wish it was true, but Rajking seems to claim (on his profile) that decompiling is his professional job ..
{quote} I wish it was true, but Rajking seems to claim (on his profile) that decompiling is his professional job ..
I never heard about any decompiled 600+ code. I met quite a few advertisements (send me money and then .. ). If it were true, at least someone would report decompiled source. But no one did afaik.Anyway, I am really curious how a 500kB decompiled indicator source with many included classes would look like, i.e. whether the variable names or class names are readable in their original names etc. I have difficulties to understand my fully commented source myself, so the question is if someone else could decipher the decompiled source.
I would doubt that someone would post their decompiled code to these forums. Decompiling code in the past was easy because everyone could just just download the necessary software online for free. Now if you actually have to pay someone to do the task he probably is going to charge a lot of money (if it is not an automated process but hours of work have to go into it it's even more pricey).
A decompilation is always possible it's just a question about if it's worth it. You can be certain that variable names will not be the same and even the structure of the code might change 'slightly'. Class names usually stay the same. If you want to reverse engineer code generating a readable code is only the first step. The next step would be to transcript your result into something understandable.
I agree its illegal, but the world is so corrupt why stop here? Its not that ludicrous what these chaps are doing, changing some code, heck they wanna make a buck theyr not stealing an idea, someones child or selling their soul to the horned muppet, its some code, i thought we were all in this together to beat the banksters, crappy governments etc, crisis now were fighting one another. Slightly off topic heres an interesting youtube vid for ya
I agree its illegal, but the world is so corrupt why stop here? Its not that ludicrous what these chaps are doing, changing some code, heck they wanna make a buck theyr not stealing an idea, someones child or selling their soul to the horned muppet, its some code
That is the moral standard we are looking for. Why should we value traffic laws if no one gets hurt. Why not just steal someones code who has put much time and thought into it just because I want to be rich. Why shouldn't we just steal all the stuff we need from the stores, they will just lay around in the storage anyways.It's the fact that you do not honor the wish of the person you are working with. If everyone thinks like this there will be no one posting code anymore. And yes decompiling code comes equal to stealing an idea. I used to put online a lot of code in the past and sometimes when I feel like it I will still do so but if someone comes along and tries to abuse this it just makes me not wanting to contribute anything. If it is so important to you to change the code and you want to make money why don't you pay this person an adequate amount of money? If I would not be able to code and want something that helps me earn money I would be happy to pay for it. People just do not understand how much time goes into coding.
{quote} I never heard about any decompiled 600+ code.
Neither do I .. Except the one who is advertising this here.
{quote} People just do not understand how much time goes into coding.
I can't agree more ..
Why you guys are confused, i say it simple in my word. What kind of problem occurs while.i do this kind of process. (protected from coder's - if not i can start working on it and if it works second problem is the codes will broken after the end of decompiling into the process) its not an easy task do it (it make much time to work on it).if i am lucky then this works become into complete position
Why you guys are confused, i say it simple in my word. What kind of problem occurs while.i do this kind of process. (protected from coder's - if not i can start working on it and if it works second problem is the codes will broken after the end of decompiling into the process) its not an easy task do it (it make much time to work on it).if i am lucky then this works become into complete position
What you still don't understand is that what you are doing isn't right. Original coders put a lot of time to develop tools .. Then you are pirating their hard work without their consent.
{quote} Excellent post. Alas, the more indicators and EAs that are shared on forums for free, the greater the impression becomes that the software is of little or no value -- and there is nothing immoral in pirating something that has no monetary value. I've been guilty in helping to propagate this notion by freely sharing indicators and EAs, and performing coding and troubleshooting on request. Like the other programmers here, my motive was to help other members, but in one sense I feel I've unwittingly betrayed my fellow developers..
I learnt to write codes from no prior computer programming background(I have a long way to go to be a competent coder). The way I do it is to cannibalize code structures from other peoples works to use them when it fits into my requirement, I have to search the web code factory for the appropriate spare part. How will this be possible for someone like me to 'write' my own codes if not for the vast number of mq4 files freely shared on the net ? I do this to explore my ideas.I can agree the work that goes into writing codes is trivialized by some but not all, we cannot expect everyone to know about the work that they are unfamiliar with, neither can we expect everyone to have a grateful attitude. Indicators and EAs that are shared on forums for free ALWAYS involves hard work, knowledge, expertise and skill, and there is someone out there who is GRATEFUL that you magnanimously and generously shared it for free, I am one such person. And the truth is I won't be where I am today if there was none of these free codes shared on the net in the 1st place, am I not forever grateful ? There is always 2 sides to consider, the good and the bad, and which is the more important will be the guide - it's in the way we look at them. About paying for the work, it is not always possible to do so. There are codes that I will be more than happy to pay for but I am not able to contact the originator or the originator refuses to sell his code. I see it as a 2 pronged issue within another 2 pronged base. One is the business of writing codes. The other is the proper accreditation given to the person who wrote the code. The code itself has 2 parts to it. One is the computer language itself. The other is the strategic part how and why the code is written. I support the protection of proprietary ideas, no one should steal another person's work. At the same time, when I think of Newton, Einstein and many, many more 'nameless' giants in their own field who if they adopted a similar approach to seek protection because of commercial potential, the world will be a much different state than it is today. If not for them..... I pin-point it down to ACCREDITATION which we seek for our works, not all of us do it for compensation. This is absent in an unorganized industry. And the commercialization of everything possible, that's the slippery slope that we moan about yet the very thing we propagate, maybe unwittingly. 'If not because of what you did, there won't be us and the way it is today.' And, 'By the combined passion, imagination and dedication of man with a common vision, uncharted frontiers are conquered that brings us closer to a known state brought right into our living room.' My 2 cents from a consequentialist pov.
{quote} I learnt to write codes from no prior computer programming background(I have a long way to go to be a competent coder). The way I do it is to cannibalize code structures from other peoples works to use them when it fits into my requirement, I have to search the web code factory for the appropriate spare part. How will this be possible for someone like me to 'write' my own codes if not for the vast number of mq4 files freely shared on the net ? I do this to explore my ideas. I can agree the work that goes into writing codes is trivialized..
i know how much hard to learn and develop a good one bcz i too learning still to become a coder but its hard then i have developed an application and its sometimes works to view a developer code how they created and involved of they hardwork to learn from it and they knowledge i am not a hacker or anything else if you all think. so i am also a coder and stiil learning about it so i know how much hard it is.
{quote} The way I do it is to cannibalize code structures from other peoples works to use them when it fits into my requirement, I have to search the web code factory for the appropriate spare part. How will this be possible for someone like me to 'write' my own codes if not for the vast number of mq4 files freely shared on the net ? I do this to explore my ideas.
There's no problem at all with that way. You are using the freely available .mq4 source codes.The discussion here is more about pirating/decompiling the .ex4 file because the original .mq4 isn't available ..
It takes me many times longer to get my ideas across in developing a piece of code - deompiling others works is highly unethical. Its best to find author and ask. I myself have to read mql reference material to get where I want to be, and it won't be nice to find someone breaking hard worked code..
It takes me many times longer to get my ideas across in developing a piece of code - deompiling others works is highly unethical. Its best to find author and ask. I myself have to read mql reference material to get where I want to be, and it won't be nice to find someone breaking hard worked code..
decompilation is illegal and morally wrong
Offering and promoting illegal activity here is against the FF rules FULLSTOP this thread should be removed I wonder how the offenders would feel if having created the program to decompile and offer such illegal services somebody came and stole it and started offering it for sale, I suspect they would be shouting at everybody they could to say how unfair they have been treated and nobody else had the right to run the program.
Well.. If you search on google you can find the decompiler from ex4 to mq4.. but It works only on older versions.
Google can solve all you problems..
Buy at the Low, Sell at the High You make money by waiting not by trading.
Well.. If you search on google you can find the decompiler from ex4 to mq4.. but It works only on older versions. Google can solve all you problems..
Finding something through Google doesn't make it legal and morally right ..
decompilation is illegal and morally wrong Offering and promoting illegal activity here is against the FF rules FULLSTOP this thread should be removed I wonder how the offenders would feel if having created the program to decompile and offer such illegal services somebody came and stole it and started offering it for sale, I suspect they would be shouting at everybody they could to say how unfair they have been treated and nobody else had the right to run the program.
Well said .. That was exactly the point here.
{quote} Finding something through Google doesn't make it legal and morally right ..
Sure 100% illegal. Anyways wasting time with EAs or various indicator. I tried a lot of them. At the end of the day i didn't find anything that really worked. Most have very low Sharpe Ratio / sortino Ratio, they generally work for a limited time. I even tried an App called Zorro based on machine learning. But even the strategy proposed but the devolper didn't work in reality. I finally understood what 'past performance is not indicatived of futures results'. It is only a way to profit for some people to sell the dream.
Buy at the Low, Sell at the High You make money by waiting not by trading.
{quote} Sure 100% illegal. Anyways wasting time with EAs or various indicator. I tried a lot of them. At the end of the day i didn't find anything that really worked. ..
Ea's are not supposed to be a junk of indicators thrown together resulting in a set and forget setting which will start printing you money as soon as they are set up. They can support your trading process when correctly applied. I have overall good experience with EA's and would not be profitable without custom code I have written.
But my Is there a command-line compiler tool I could call programmatically?
Donato SzilagyiDonato Szilagyi
3 AnswersYes, there is an executable in the install directory of the terminal. It is called metalang.exe.
DmitryDmitry
To compile a source code file from a command line, you can use MetaEditor for that. For example: For 64-bit use Ex4 To Mq4 2017 Download FullIn Linux/macOS, this can be achieved using Wine, e.g.: For mass compilation, you can specify folder, like: To specify custom MQL5/MQL4 folder with include files, you can use For additional information about the compilation process, you can use To check for the syntax only, add extra If the compilation fails, the Ex4 To Mq4 2017To specify the custom compilation log file, use Note: Display to the standard output is not supported (although on Linux you can use: For more information, check: Compilation from the Command Line Some time ago you could download the compiler of MQL4/MQL5 programs that runs separately from MetaEditor — Usage (as per MQL4/MQL5 Compiler build 1162 from 02 Jul 2015): However the standalone compiler was intentionally removed, so now links point to the installer in favor of MetaEditor. Much older version of MetaTrader prior to build 600 had However in build 616, MetaQuotes intentionally has removed the compiler ( This means if you upgrade your MT platform (>616), the compiler executable will be removed.
kenorbkenorb
This is a little late, but since I wrote a little script for UltraEdit/UEStudio and have received heaps of help from stackoverflow, here is my script. It compiles then copies the ex4 to a number of test MT4 installations: The 'Compile' button on UE does: Normally my source code is in a library tree under D:DevelopmentMQ4[Group][ExpertName][FileName].mq4 Ex4 To Mq4 2018Contents of D:DevelopmentMQ4MT4Compile.bat: All the best. Password tv game show. Shawky
ShawkyShawky
Not the answer you're looking for? Browse other questions tagged mql4metatrader4 or ask your own question.Comments are closed.
|