Quote:
|
Originally Posted by babarmughal
Guys,
Still the idea is not clear please explain in detail how can I do this Lock..
Thanks
|
If we are talking about ex4 file so you may insert in original mql4 code any account number, for example (in the beginning of the code just below the settings):
Code:
int Account = 111111;
And below
may be the following:
Code:
if (Account != AccountNumber()){
Comment("Trade on account :"+AccountNumber()+" FORBIDDEN!");
return(0);
}else {Comment("");}
As to trial version so you may do the following (below
int start):
Code:
if (CurTime()>1113609600) { //16.04.2005
Alert("My EA was expired! Please re-new your licence");
return;
}