Metatrader - Safety From MQL Decompiling

We will not see anything making use of ordinary text editor. This is convenient in case if a programmer or trader offer their plan for use but doesn't want the user to know the particulars of the revenue technique.

A challenge.

Sadly, there are strategies of decompiling the EX4 information back again to MQ4 which permit seeing the software logic. This is a major challenge for people who want to retain the specifics of their buying and selling method confidential.

Decompiling makes it pointless to generate a enterprise that is dependent on profits of pro advisors or delivering them for usage. The current businesses suffer wonderful losses.

Resolution methods.

There is an impression that a very good MQL programmer can write plan in a way that would make it extremely hard to decompile. For case in point, by employing licensing method. Very well, sadly this is not the situation. The tactic can not be shielded by implies of MQL only.

Allow us see several approaches of shielding profits strategies. We will compare them and locate out their professionals and cons.

1. Pure MQL

As we have already stated, this strategy does not present safety because an EX4 file can be effortlessly decompiled. Even so, alongside with the cons, MQL programming has its pros which will be examined in comparison with the other procedures.

Pros: easy structured language that is comprehensible by traders and not only by experts. Lowest price amount as compared to other methods.

Cons: easily decompiled.

Particular attributes: relevant for private use or for refinement of the tactics logic.

two. DLL

MQL language has a very useful special feature. It permits the packages to backlink with the libraries (DLL) composed in other programming languages. Initially of all, it essentially expands the prospects and secondly, it will allow moving MQL logic into the library which tends to make decompiling of an EX4 file ineffective.

DLL can also be decompiled on the other hand it is by no means effortless and calls for particular understanding. When decompiled, the DLL code is translated into the Assembler (ASM) device language. This procedure is referred to as disassembly. Pay stage of ASM professionals is really significant, thus such costs are unreasonable for hacking most projects.

In addition, a project is made up of two elements minimal: MQL+DLL, which can make the hacking career even much more difficult, given that it calls for teamwork of two specialists.

Professionals: rather a substantial protection degree, unrestricted potential to develop choices of the MQL language.

Cons: higher development price as when compared to an MQL project. Library installation necessary.

Special features: applicable for projects of typical cost and reputation.

3. On the web World wide web

This technique implies moving of the trade logic to Net server. The user's pc will have executive interface only, with out the selection-creating module.

MQL, DLL and Internet are applied in this architecture. MQL generates a ask for, DLL sends it to Net server, and the server generates and sends a reply that will get into MQL by DLL. MQL manages the orders based mostly on the reply.

There are more simple variants, when MQL only listens to / screens the replies from Online server.

Pros: The greatest protection. mql programming

Go Back

Comment