Metatrader.,Protection,from,MQ computer Metatrader. Protection from MQL decompiling


----------------------------------------------------------Permission is granted for the below article to forward,reprint, distribute, use for ezine, newsletter, website,offer as free bonus or part of a product for sale as longas no changes a Gone are those times when the companies and the organisations didn't need a hi-tech system to handle them. Owing to the considerable increase in the business sector and thus, an enormous increase in the complexity of the organisational struc


A little bit of theory. Expert advisors, indicators and scripts for the Metatrader system are created using the built-in MQL language. Then, the source text code MQ4 is compiled into executable binary code EX4. File with the EX4 extension contains program logic understandable to the Metatrader interpreter only. We will not see anything using ordinary text editor. This is convenient in case if a programmer or trader provide their program for usage but doesn’t want the user to know the details of the sales strategy. A problem.Unfortunately, there are methods of decompiling the EX4 files back to MQ4 which allow seeing the program logic. This is a big problem for those who want to keep the details of their trading strategy confidential. Decompiling makes it pointless to create a business that is based on sales of expert advisors or providing them for usage. The existing companies suffer great losses. Solution methods.There is an opinion that a good MQL programmer can write program in a way that would make it impossible to decompile. For example, by using licensing system. Well, unfortunately this is not the case. The strategy cannot be protected by means of MQL only. Let us see several methods of protecting sales strategies. We will compare them and find out their pros and cons. 1. Pure MQL As we have already said, this method does not provide protection because an EX4 file can be easily decompiled. However, along with the cons, MQL programming has its pros which will be examined in comparison with the other methods. Pros: simple structured language that is comprehensible by traders and not only by specialists. Lowest cost level as compared to other methods. Cons: easily decompiled.Special features: applicable for personal use or for refinement of the strategies logic. 2. DLL MQL language has a very useful special feature. It allows the programs to link with the libraries (DLL) written in other programming languages. First of all, it essentially expands the possibilities and secondly, it allows moving MQL logic into the library which makes decompiling of an EX4 file useless. DLL can also be decompiled however it is by no means easy and requires specific knowledge. When decompiled, the DLL code is translated into the Assembler (ASM) machine language. This procedure is called disassembly. Pay level of ASM specialists is very high, thus such expenses are unreasonable for hacking most projects. Moreover, a project consists of two parts minimum: MQL+DLL, which makes the hacking job even more complicated, since it requires teamwork of two specialists. Pros: quite a high protection level, unlimited capacity to expand possibilities of the MQL language.Cons: higher development cost as compared to an MQL project. Library installation required.Special features: applicable for projects of average cost and popularity. 3. Online WEB This method implies moving of the trade logic to WEB server. The user’s computer will have executive interface only, without the decision-making module. MQL, DLL and WEB are used in this architecture. MQL generates a request, DLL sends it to WEB server, and the server generates and sends a reply that gets into MQL through DLL. MQL manages the orders based on the reply. There are simpler variants, when MQL only listens to / monitors the replies from WEB server. Pros: The highest protection. Possibility of remote updates. Possibility of remote control over access to the project.Cons: Delays can occur during data synchronization. High development cost.Special features: Applicable for major or popular projects. Comparison. The comparison was made by specialists of AirBionicFX company. Explanation of the results and comparison criteria are given below each diagram. By protection level Minimum is 0, Maximum is 10. The more, the better.MQL – 1DLL – 6WEB – 9MQL has minimal protection against hacking, but 1 point is scored considering that it is not every user who knows about decompiling and not everyone knowing it would be ready to use this method. DLL has average protection level.WEB has almost maximum protection level. One point is not scored because there is a probability to hack WEB server that stores the strategy logic. Such probability is very low and even if it happens, then a specialist is needed to decompile binary code and then synchronize the logic with the MQL.The following factors were considered when estimating the protection level:Statistics of users’ awareness of the decompiling possibility;Complexity of decompiling process for each of the methods;Cost of hacking job specialists.By development costMinimum is 0, Maximum is 10. The less, the better.MQL – 1DLL – 4WEB – 10The results can be explained as follows. If we take any task and fulfill it using all methods, then MQL will be the most low-cost one, WEB is the most expensive, and DLL will have the cost a little less than average as per the maximum level. The following factors were considered when estimating the development cost:Cost of work done by specialists in each area; Complexity and time for testing a ready project. By speed of decision-making Minimum is 0, Maximum is 10. The more, the better.MQL – 10DLL – 9-6WEB – 6-1Speed of decision-making is like the other side of a coin while the first side is protection. The more components the system has, the more problems will be there with data synchronization. Accordingly, WEB method will be the slowest. DLL will be average, and MQL – the fastest. For DLL, a range of speed values is given. If DLL is used as a library for computations, then the processing speed will be practically comparable with the MQL and will have an index of 9 points. And if synchronization with the external data sources is used within DLL, then the speed index may fall to 6 points. Same for WEB. If the logic is simple and it is executed fast, then the speed index will be not lower than 6 points. And if, for example, WEB server is connected with Back Office for computation of expert advisor values, then the speed index may fall to the minimal value. The following factors were considered when estimating the speed of decision-making:Project architecture; Connection with external data sources. Conclusion When selecting a method of protection, you have to consider all the parameters described above. Then the facilities committed for the development will pay off over and above and the ill-wishers will be left with nothing! Have a nice trade!

Metatrader.,Protection,from,MQ

computer

Equipment Rental Software – Features And Cost

Equipment rental management software is an essential thing these days for any equipment rental company.A well-developed equipment rental software provides you with a variety of features that can really help you maintain and organise your cus ...

computer

5 Big Reasons Why I Migrated From Angularjs To React

I have 5 main reasons for my angularjs to react migration. No, it's not a comparison on which is better. A comparison between apples and oranges would make no point. React is a library, and angular is a framework. Both can do stuff in their ...

computer

How to troubleshoot McAfee error 2318?

Security software means McAfee! For many computer users, McAfee antivirus is the only choice for security software as it provides all the features and tools which are necessary for device and data protection. This robust antivirus merely sho ...

computer

Manage Multiple Counter With AlignBooks Point of Sale

Fulfilling your businesss needs which can grow your firm is our aim. AlignBooks is better known for providing a strong pillar to newly started or midway businesss. Those companies who dont want to fall back with irregularity manage the inven ...

computer

How to Autoplay Embedded YouTube Videos

Source: How to Autoplay Embedded YouTube VideosEmbedding a video or audio enables the users to share their videos with any of their preferred sites or any social networking platforms. They can do so by copying the embedded link of the parti ...

computer

3 Major Mistakes to Avoid in Retail Business

Truth be told, nearly half of the retail businesses survive longer than four years and which can be something to ponder for a newbie before stepping into the industry. However, this being said, it is also true that you can excel in the indus ...

computer

Start Your Own Computer Repair Business

1. Know your street value. In the early 90's, running a PC repair business centered around selling parts and products, with service on the side. Today, it's about selling hours. If you run a business, you need to consider the X3 rule. That m ...

computer

How Establishments Show Up in Restaurant Searches

The revolutionary rise of technology has made things easy-peasy for consumers in the restaurant industry. Unlike the old days, the availability of innumerable platforms has made it possible for diners to choose from various searching options ...

computer

GuildWars 2 :

The last expansion pack for Guild Wars 2 was Path of Fire, which was released in 2017 and brings you a new enemy-Balthazar, the evil god of war. Although this doesn't sound like another expansion pack currently in production, some fans ma ...

computer

Customer Support at the time of COVID-19 Pandemic

COVID-19 is the worst crisis of our time as we observe social distancing protocols being imposed all around the world. While these measures are a step in effectively managing the COVID-19 pandemic, Hospitality and Retail businesses are confr ...

computer

How to Choose a Contract Management Solution (CLM)?

Contract life cycle management (CLM) systems can simplify and automate contract creation, negotiation, execution and storage. They are an intelligent alternative to the tedious hand tools formerly used for these tasks, which lacked visibili ...

computer

Contacting Google Live Person to Resolve Your Issues

Users are fond of all the Google supported products and look forward to the best services. Also, Google as a whole has never disappointed its users and helped them at every point with its commendable services. Also, being a customer-oriente ...

computer

how to uninstall discord

How to Uninstall Discord in Windows 10? has supported open source technologies, our tool is secure and safe to use. To uninstall a discord from your windows, you'll use this method which is given below.USING THIRD PARTY TOOLS1. Firstly, you ...