This function regulates the use of your Expert Advisor.


Demo-Time based usage:

string ls_0 = "2010.04.18"; // Date when EA will expire
int str2time = StrToTime(ls_0);
if (TimeCurrent() >= str2time) {
Alert("Demo license expired!"); // Text that will pop-up when expired
return (0);

Live account by account number:
if (AccountNumber() != 100762) { // Account number for this EA
Alert("This EA is not licensed to your account number!");

Booth functions must be written after Oninit()

Dear Ixbone Customers, if you have any questions, please feel free to contact us!