Download MetaTrader 5
To add comments, please log in or register
Order the development and track its status via your mobile phone.
LaBrute
113
LaBrute 2010.08.22 19:04 
Hi All,

Does someone know how to lock or secure the code of a EA?

I have a profitable EA that I use and would like to join the ATC 2010 but I am not comfortable with sending my mq5 nor ex5 files

I know that ex5 files can be decompiled. DLL is not 100% safe and it's not allowed during the ATC 2010.

Does someone have a solution ?

Thanks.
sagiko
5
sagiko 2010.08.22 19:13  

I am not sure whether this works on ex5 files, but traditionally we can use those executable packing techniques to protect against RE (Reverse Engineering) - http://en.wikipedia.org/wiki/Executable_compression .  But again there is always anti-packing in RE so no 100% proof methods but just another layer of protection. 

Executable compression - Wikipedia, the free encyclopedia
  • en.wikipedia.org
Executable compression is any means of compressing an executable file and combining the compressed data with decompression code into a single executable. When this compressed executable is executed, the decompression code recreates the original code from the compressed code before executing it. In most cases this happens transparently so the...
Vladimir Batrudinov
4917
Vladimir Batrudinov 2010.08.22 19:17  
LaBrute:
Hi All,

Does someone know how to lock or secure the code of a EA?

I have a profitable EA that I use and would like to join the ATC 2010 but I am not comfortable with sending my mq5 nor ex5 files

I know that ex5 files can be decompiled. DLL is not 100% safe and it's not allowed during the ATC 2010.

Does someone have a solution ?

Thanks.

At this time ex5 files are not subject to decompilation.

So you can safely participate in the championship.

LaBrute
113
LaBrute 2010.08.22 19:54  

Thanks for your response.

As I am making money from my EA and would not really appreciate that my code could be used by someone else, I am considering to drop out of the contest.

It's a shame that there is no "Offical" bailiff to ensure that rules of  the competition are respected and that my EA won't be used by someone else.

Anyway let's stay in the dark.

Johnny
140
Johnny 2010.08.23 05:52  

Hi Labrute,

you can feel free to join the champion by limit your ea work on your account number rang only, example: between 600 000 to 650 000 , so your ea will be able to run on champion only, and ex5 is safe from decomplication.

i am sybmitting one of my proftiable ea too, cya in the race

cheers.

Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Account Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Environment State / Account Properties - Documentation on MQL5
bdwezensky
20
bdwezensky 2010.09.21 21:28  

I tried this bit of code tucked into my init section and the log variable nested in my order execution.  Howerver it only seems to see the account number as "12345".  So even if I change its range to include my current MQL5 test account it sill blocks the execution of the program.  Help!

 

 int OnInit()
  {
 
 
//---
   long login=AccountInfoInteger(ACCOUNT_LOGIN);
   Print("account number  ", login);
   log = false;
  
//--- The account does not belong to the Championship group, so quit
   if (login>=600000 && login<=650000)
       {
       log = true; 
      }
     else
         Print("account number out of range ", login);
    return(0);

 }

Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Account Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Environment State / Account Properties - Documentation on MQL5
Alexey Da
Moderator
6613
Alexey Da 2010.09.22 11:36  
bdwezensky:

I tried this bit of code tucked into my init section and the log variable nested in my order execution.  Howerver it only seems to see the account number as "12345".  So even if I change its range to include my current MQL5 test account it sill blocks the execution of the program.  Help!

 


 

It is default account number in strategy tester.

You can specify your own account in INI file.

[Tester]
Login=222222

Please read this topic of terminal help.


Jinsong Zhang
15352
Jinsong Zhang 2010.09.22 16:35  
yster:

Hi Labrute,

you can feel free to join the champion by limit your ea work on your account number rang only, example: between 600 000 to 650 000 , so your ea will be able to run on champion only, and ex5 is safe from decomplication.

i am sybmitting one of my proftiable ea too, cya in the race

cheers.

  

if someone decompile your code, they will remove the limiation.
/
To add comments, please log in or register