• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:40am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:40am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Best Way to Code Trade Once per Bar at Open on MT4? 20 replies

indicator code to inside EA code 15 replies

Best Way To Code EA To Communicate Across Multiple Pairs? 6 replies

Best Way(s) To Protect Your Trade During News On Oanda FXTrade 0 replies

How do you protect an EA or Indicator?? (A working way) 12 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 2
Attachments: Best way to protect indicator code in 2015
Exit Attachments
Tags: Best way to protect indicator code in 2015
Cancel

Best way to protect indicator code in 2015

  • Post #1
  • Quote
  • First Post: Sep 22, 2015 9:10pm Sep 22, 2015 9:10pm
  •  erron
  • | Joined Oct 2007 | Status: Member | 13 Posts
Hi,

I have an indicator that I am developing as part of a course I will be releasing soon, and I want to protect it from piracy. What's the best way to go about this? A developer I have just spoken to says that the default compiling in the latest versions of MetaTrader does a fairly good job, in fact this is what he says:

"The current version of MT4 does a good job of protecting indicators. They are now compiled, compressed and obfuscated, and maybe even encrypted, and cannot be reverse-engineered easily anymore (there are no programs at present that can do so automatically; so it would take a large amount of tedious, reverse-engineering of disambled code by hand). So it should probably not be necessary to put the code in a DLL. I recommend you confirm that for yourself though. And you might want to use a DLL for contacting an authorization server. Or, to create a key, we could simply hash their MT4 account number against a private key using a simple program on your webserver or your PC, and in the indicator code hash their MT4 account number with a public key and check the hash. This would provide good security so long as no-one cracks the hash checker code. MetaQuotes has some kind of indicator market place now too that is supposed to offer secure distribution of indicators."

So is it really necessary to go to any great lengths regarding encryption these days?

Many thanks,

Erron
Enter Signature
  • Post #2
  • Quote
  • Sep 22, 2015 9:11pm Sep 22, 2015 9:11pm
  •  erron
  • | Joined Oct 2007 | Status: Member | 13 Posts
That's funny, it says that was my first post? I know I'm not prolific around the forums but I was certain I had posted here several times over the years.
Enter Signature
 
 
  • Post #3
  • Quote
  • Sep 22, 2015 9:21pm Sep 22, 2015 9:21pm
  •  FerruFx
  • Joined May 2007 | Status: MT4/MT5 EAs/Indicators/Alerts coder | 6,460 Posts
If I am not mistaken, the new MT4 builds (600+) have been cracked so .ex4 are decompilable.

That's a shame MT4 still not able to protect correctly their compiler.
MT4/MT5 EAs/Indicators/Alerts coder
 
 
  • Post #4
  • Quote
  • Sep 22, 2015 11:59pm Sep 22, 2015 11:59pm
  •  cja
  • Joined Feb 2007 | Status: Member | 2,006 Posts
Quoting FerruFx
Disliked
If I am not mistaken, the new MT4 builds (600+) have been cracked so .ex4 are decompilable. That's a shame MT4 still not able to protect correctly their compiler.
Ignored
You are not mistaken - a decompiler for the latest builds can be attained ( just did a goggle search ) so much for MetaQuotes and their secure code.
I thought that must be the case as I have had an increase in people wanting trials of software and not just 1 item but 3 to 6 items and I suspect they have the decompiler and are after free software which is the very reason I do not provide trials.
Trade what you see not what you hope
 
 
  • Post #5
  • Quote
  • Sep 23, 2015 12:17am Sep 23, 2015 12:17am
  •  FerruFx
  • Joined May 2007 | Status: MT4/MT5 EAs/Indicators/Alerts coder | 6,460 Posts
Quoting cja
Disliked
{quote} You are not mistaken - a decompiler for the latest builds can be attained ( just did a goggle search ) so much for MetaQuotes and their secure code. I thought that must be the case as I have had an increase in people wanting trials of software and not just 1 item but 3 to 6 items and I suspect they have the decompiler and are after free software which is the very reason I do not provide trials.
Ignored
Trials were never an option for me too !

I would be very curious to know if the encrypted versions available through the MQL market place are really protected ... Do you have infos about this ?
MT4/MT5 EAs/Indicators/Alerts coder
 
 
  • Post #6
  • Quote
  • Sep 23, 2015 12:21am Sep 23, 2015 12:21am
  •  SmoothTrader
  • Joined Oct 2008 | Status: Perpetual Student of the Charts | 947 Posts
Quoting erron
Disliked
That's funny, it says that was my first post? I know I'm not prolific around the forums but I was certain I had posted here several times over the years.
Ignored
That is the FIRST post on this thread, and NOT your first post.

Good luck on your quest, and GREEN pips to you.
 
 
  • Post #7
  • Quote
  • Sep 23, 2015 12:59am Sep 23, 2015 12:59am
  •  cja
  • Joined Feb 2007 | Status: Member | 2,006 Posts
Quoting FerruFx
Disliked
{quote} Trials were never an option for me too ! I would be very curious to know if the encrypted versions available through the MQL market place are really protected ... Do you have infos about this ?
Ignored
I don't know if the encrypted versions through the MQL market are able to be decompiled however if they are secure ( conspiracy theory ) then
#1 Why is this security not available to us -( MetaQuotes protecting there own sales )
#2 It makes you think who released or developed the decompiler? -( MetaQuotes protecting there own sales )
Trade what you see not what you hope
 
 
  • Post #8
  • Quote
  • Sep 23, 2015 1:11am Sep 23, 2015 1:11am
  •  FerruFx
  • Joined May 2007 | Status: MT4/MT5 EAs/Indicators/Alerts coder | 6,460 Posts
Quoting cja
Disliked
{quote} I don't know if the encrypted versions through the MQL market are able to be decompiled however if they are secure ( conspiracy theory ) then #1 Why is this security not available to us -( MetaQuotes protecting there own sales ) #2 It makes you think who released or developed the decompiler? -( MetaQuotes protecting there own sales )
Ignored
You're asking the right questions
MT4/MT5 EAs/Indicators/Alerts coder
 
 
  • Post #9
  • Quote
  • Sep 23, 2015 1:55am Sep 23, 2015 1:55am
  •  erron
  • | Joined Oct 2007 | Status: Member | 13 Posts
Quoting SmoothTrader
Disliked
{quote} That is the FIRST post on this thread, and NOT your first post. Good luck on your quest, and GREEN pips to you.
Ignored
lol, thanks. Who says I'm dumb...
Enter Signature
 
 
  • Post #10
  • Quote
  • Sep 23, 2015 2:07am Sep 23, 2015 2:07am
  •  broketrader
  • Joined Oct 2012 | Status: Member | 1,683 Posts
Hi,

I think that as for now the best solution is to put the code in a DLL and if possible obfuscate it.

For the licensing problem, some time ago I worked in a large software project that we had to protect against piracy too.

Our final solution was to create a tool that had to be run on the customer's machine. That tool then collected hard disk serial number, network mac address and some additional data, a file was generated from that info and sent to us, from that file we then generated a licence file that was sent to the customer which contained some encrypted keys to allow the software to run.

I think it's an alternative to web server scheme.

Good luck / BT
Simplicity is the Ultimate Sophistication.
 
 
  • Post #11
  • Quote
  • Sep 23, 2015 3:00am Sep 23, 2015 3:00am
  •  honestknave
  • Joined Nov 2014 | Status: Member | 1,300 Posts
The only way to completely secure your code is to not distribute it... if someone has enough time and inclination, code can be cracked.

As already stated, Metaquotes have made build 600+ much more robust and do offer additional encryption through the marketplace for those who want to use that service.

The DLL route probably remains the safest option (as it always has) but it does introduce its own headaches.

Has anyone actually seen build 600+ cracked? Since the start there have been scammers claiming to decompile build 600+ in return for some advance $$$, but to my knowledge nobody actually came up with the goods
 
 
  • Post #12
  • Quote
  • Jan 5, 2016 1:31pm Jan 5, 2016 1:31pm
  •  shopster
  • | Joined Dec 2011 | Status: Member | 19 Posts
http://forum.mql4.com/61103

.............................

http://www.xpworx.com/metatrader-pro...mqlpatriot.php

https://mqllock.com/

http://dev4traders.com/mql-code-protection-web-service/

http://jmi8.com/


s
 
 
  • Post #13
  • Quote
  • Apr 15, 2016 12:01pm Apr 15, 2016 12:01pm
  •  tanwt
  • | Joined Feb 2016 | Status: Member | 76 Posts
if you put your EA in vps, won't that allow the VPS admin to steal your EA and decompile it?
 
 
  • Post #14
  • Quote
  • Jun 5, 2016 5:48am Jun 5, 2016 5:48am
  •  Luckyt
  • | Joined Jun 2016 | Status: Junior Member | 2 Posts
Quoting erron
Disliked
Hi, I have an indicator that I am developing as part of a course I will be releasing soon, and I want to protect it from piracy. What's the best way to go about this? A developer I have just spoken to says that the default compiling in the latest versions of MetaTrader does a fairly good job, in fact this is what he says: "The current version of MT4 does a good job of protecting indicators. They are now compiled, compressed and obfuscated, and maybe even encrypted, and cannot be reverse-engineered easily anymore (there are no programs at present...
Ignored
Hi Erron, I use this free tool YPY MQ4 Code Protector Basic

Allso you can use free YPY MQ4 Code Protector online service for encryption and licensing a of source code in *.mq4 format
https://www.ypy.cc/code-protector-online-service.php
Attached File(s)
File Type: zip YPY_MQ4_Code_Protector_Basic.zip   2.0 MB | 2,705 downloads
File Type: pdf YPY_MQ4_Code_Protector_(English_user_guide).pdf   282 KB | 2,980 downloads
 
1
  • Post #15
  • Quote
  • Aug 24, 2016 9:56am Aug 24, 2016 9:56am
  •  PMak
  • | Joined Nov 2014 | Status: Member | 76 Posts
Just wondering if any of the mentioned methods in this post work and it is possible to protect mql code?
 
 
  • Post #16
  • Quote
  • Aug 24, 2016 11:55am Aug 24, 2016 11:55am
  •  Luckyt
  • | Joined Jun 2016 | Status: Junior Member | 2 Posts
Quoting PMak
Disliked
Just wondering if any of the mentioned methods in this post work and it is possible to protect mql code?
Ignored
Hi PMak!

The only sure way to check the reliability of the protection is to order a break-in each protection from a professional hacker.

Preview the result of hacking and learning it the real cost of hacking, You will be able to understand what protection the most reliable.
 
 
  • Post #17
  • Quote
  • Last Post: Edited 8:51am Dec 4, 2020 8:21am | Edited 8:51am
  •  trendyguy
  • | Joined Feb 2016 | Status: Junior Member | 1 Post
Hi Erron!
Try this:
https://barmenteros.com/protect-mt4-...ms-simple-way/
https://www.mql5.com/en/articles/1572
https://www.metatrader5.com/en/metae...loud_protector
 
 
  • Platform Tech
  • /
  • Best way to protect indicator code in 2015
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • X
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • X

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023