Computer User System ID Number

 

If I want my ea to be run on one computer only, how can I, using MQ4, capture the computer system number (or serial number)??

Dave??

 
1Dave7:
If I want my ea to be run on one computer only, how can I, using MQ4, capture the computer system number (or serial number)?? Dave??

Dave, the most appropriate would be to query the user accountnumber.

Use below syntax to hard code the allowed accountnumber inside the EA.

int AccountNumber( )

Returns the number of the current account.

E.g.

if(AccountNumber() != 12345) return(0);

Cheers

 

Use DLL

1Dave7:
If I want my ea to be run on one computer only, how can I, using MQ4, capture the computer system number (or serial number)?? Dave??
 

It's in your BIOS, you could then enter it as a hard coded password.

See this link for other security coding options: MQL4 programs protection! | www.metatrader.info

Reason: