EA Remote control MQL4

 

Hello everyone,

I am looking for a way to remotely control my EA copies. Lets imagine i gave out few EA's to somebody, i want to be able to turn it on and off remotely, (kind of licensing). Selling it via website market is not an option. Main condition is that to be able to control them seperately. Please help...

Perhaps something like here  https://www.mql5.com/en/articles/359 5. Remote licenses

But for mql4! 

Securing MQL5 code: Password Protection, Key Generators, Time-limits, Remote Licenses and Advanced EA License Key Encryption Techniques
Securing MQL5 code: Password Protection, Key Generators, Time-limits, Remote Licenses and Advanced EA License Key Encryption Techniques
  • 2012.02.17
  • investeo
  • www.mql5.com
Most developers need to have their code secured. This article will present a few different ways to protect MQL5 software - it presents methods to provide licensing capabilities to MQL5 Scripts, Expert Advisors and Indicators. It covers password protection, key generators, account license, time-limit evaluation and remote protection using MQL5-RPC calls.
 
you want to create a bot net to eventually move markets.
 
Marco vd Heijden:
you want to create a bot net to eventually move markets.
What do you mean? Is that an answer to Georgiy's question?
 
Georgiy Liashchenko:

Hello everyone,

I am looking for a way to remotely control my EA copies. Lets imagine i gave out few EA's to somebody, i want to be able to turn it on and off remotely, (kind of licensing). Selling it via website market is not an option. Main condition is that to be able to control them seperately. Please help...

Perhaps something like here  https://www.mql5.com/en/articles/359 5. Remote licenses

But for mql4! 

Can that of MQL5 be applied to MQL4?
 
Irwan Adnan:
Can that of MQL5 be applied to MQL4?
Thtas what i want to know!
 
Georgiy Liashchenko:
Thtas what i want to know!
MQL4 and MQL5 are pretty much the same. The only exception is trading functions. You can change extensions for the codes from the article and try to compile them under MT4. Chances are they will compile ok, and even if not, you'll be able to resolve errors by simple patches.
 
Stanislav Korotky:
MQL4 and MQL5 are pretty much the same. The only exception is trading functions. You can change extensions for the codes from the article and try to compile them under MT4. Chances are they will compile ok, and even if not, you'll be able to resolve errors by simple patches.
Could be possible. What about WebRequest() function? If i understood correctly, the ea can send request to login to websites, if fail it returns fail. Basically this can be used as license. Just ban or unban clients password.
 
Georgiy Liashchenko:
Could be possible. What about WebRequest() function? If i understood correctly, the ea can send request to login to websites, if fail it returns fail. Basically this can be used as license. Just ban or unban clients password.
WebRequest works in MT4. You can use it for websites requiring authentication, but not all methods of authentication can be supported.
 

I have been using the start-stop control for my clients, and actually I do not have real problem with using the webrequest. It is a simple command and works well when you are happy with its synchronized behaviour,i.e. your EA stops until the request is returned or expires (may take half a minute sometimes).

On the other hand I have problem with identifying the user's computer, which sent the webrequest. I did not find any reliable method, which would give me a unique identifier of the computer. There are cloned systems on VPS returning the same HW and SW data, Unix and Mac emulators which have often dummy implementation of core Windows data functions.

 
Ovo Cz:

On the other hand I have problem with identifying the user's computer, which sent the webrequest. I did not find any reliable method, which would give me a unique identifier of the computer. There are cloned systems on VPS returning the same HW and SW data, Unix and Mac emulators which have often dummy implementation of core Windows data functions.

Your only resort is probably identification of a user instead of a PC, and then you can limit a number of simultaneous connections every logged in user can establish on your back-end and use your service.
 
Ovo Cz:

I have been using the start-stop control for my clients, and actually I do not have real problem with using the webrequest. It is a simple command and works well when you are happy with its synchronized behaviour,i.e. your EA stops until the request is returned or expires (may take half a minute sometimes).

On the other hand I have problem with identifying the user's computer, which sent the webrequest. I did not find any reliable method, which would give me a unique identifier of the computer. There are cloned systems on VPS returning the same HW and SW data, Unix and Mac emulators which have often dummy implementation of core Windows data functions.

I was thinking, that we can sell license in such way, using WebRequest() to login to website. If we want to cancel subscription, just change account password and EA won't work. And vs if we want to turn ea in, just resume account password. Could you please explain how to work with other servers, websites. In the info there is only mql5.com login method. For example if i want to make it login to my website to do some actions.
Reason: