How to lock EA/Script based on the login account number ? (I WILL PAY YOU)

Back to topics list To post a new topic, please log in or register
avatar
10
chenhan 2007.07.10 23:09
 
Hello

I need a help how to lock my EA/Script based on my login account number ?

example:
my login number in my broker is 12345 , and I want my EA/Script can run only in that login number.

also how to lock the EA/Script that can run in one broker only ?
(example: my EA/Script can run only in FXDD)

is it possible for the compiled EA or Script to decode it so I can see the programming code again ?

please help

NOTE:
better if you can give me an example of one EA and script that contains about this and how to put it -> because I'm a newbie and need a help to lock my EA/Script

You can also e-mail me at indosby@gmail.com

(I have some rewards for you if you can explain very clear and very good for me.
If have more than 1 person that explain to me very good then I will give the rewards randomly for 1 person or for the best one -> I'm using e-gold or e-bullion to give the rewards)

I need it immediately

thank you


Han

 
avatar
1752
DxdCn 2007.07.11 07:53 #
 

change your EA code as below:

_________________________________

int ccc= 12345;

int start()

{

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

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

}

_____________________________

avatar
10
chenhan 2007.07.11 18:55 #
 
DxdCn wrote:

change your EA code as below:

_________________________________

int ccc= 12345;

int start()

{

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

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

}

_____________________________

For Script, is it same ?

thank you


avatar
10
chenhan 2007.07.11 22:13 #
 
DxdCn wrote:

change your EA code as below:

_________________________________

int ccc= 12345;

int start()

{

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

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

}

_____________________________

how to make the this script can run only in FXDD Broker with account name of John Doe for the example ?
thank you
 
avatar
126
Zap 2007.07.12 01:42 #
 
AccountCompany() function returns broker's name.
AccountName() returnes the name associated with your account.

if (AccountCompany != "Interbank FX, LLC" && AccountName() != "John Doe") return(0);

(you need to check the correct returned company name, I just wrote Interbank FX, LLC there)
 
avatar
10
chenhan 2007.07.12 23:05 #
 
Zap wrote:
AccountCompany() function returns broker's name.
AccountName() returnes the name associated with your account.

if (AccountCompany != "Interbank FX, LLC" && AccountName() != "John Doe") return(0);

(you need to check the correct returned company name, I just wrote Interbank FX, LLC there)
thank you
avatar
2
traderluka 2015.11.02 11:35 #
 
DxdCn:

change your EA code as below:

_________________________________

int ccc= 12345;

int start()

{

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

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

}

_____________________________

 

where should I put it?

oF the beginning or the end?

avatar
26
ankit_fx 2015.11.05 11:12 #
 
Zap:
AccountCompany() function returns broker's name.
AccountName() returnes the name associated with your account.

if (AccountCompany != "Interbank FX, LLC" && AccountName() != "John Doe") return(0);

(you need to check the correct returned company name, I just wrote Interbank FX, LLC there)

where shall one put this after cord in indicator. If one need to lock indicator with account number 

thanks 

Back to topics list  

To add comments, please log in or register