Create trial version of EA?

 

Hi, Is it possible to create a trial version of an EA (for example make it run for 30 days only? Also can it be bound to a particular account number on MT platform to only work on that account number?

 
 
 
hoosain:
Hi, Is it possible to create a trial version of an EA (for example make it run for 30 days only? Also can it be bound to a particular account number on MT platform to only work on that account number?

Ofcourse yes.

For check account number use AccountNumber( ); function and for check trial use date functions.

Example:

//set this to the begining of start function

if(AccountNumber() != 1234 || CurTime( ) > 102390132)

exit();

It is very simple. And U give only compiled version of your ea to client.

Regards

Kale

 

Hi Kale, Many thanks for your answer. I had an ea written for me and the guy who did it somehow tied it to an account number. was just curios as everyone else seems to simply share their ea's for free...

 

Hi Kale

I tried your suggestion but get an error message "exit" - function is not defined. Created an EA using http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/ and am trying to get it to work with a specific account number only. hope you can help.

Best regards

Reason: