Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi mladen,
where should I put the ACCount number, to limit.
Thanks and Regards,
antonIt is already there (line 64)
if (AccountNumber()!=1 || TimeCurrent()>StrToTime("2014.01.31")) return(0);
Is this right? I just put the ACC no. in the () ?
Thanks and regards,
anton
It is already there (line 64)
if (AccountNumber()!=1 || TimeCurrent()>StrToTime("2014.01.31")) return(0);
Is this right? I just put the ACC no. in the () ?
Thanks and regards,
antonReplace the 1 with the account number
if (AccountNumber()!=1 || TimeCurrent()>StrToTime("2014.01.31")) return(0);
Is this right? I just put the ACC no. in the () ?
Thanks and regards,
antonReplace the 1 with the account number
Hi mladen,
Thanks.
It works well.
Please add:
1). an alert ("Forbidden to Use This Indi"), when wrong ACC use it?
2). an alert ("It's expired"), when the time is up?
Thanks and Regards,
anton
Replace the 1 with the account number
Hi mladen,
Thanks.
It works well.
Please add:
1). an alert ("Forbidden to Use This Indi"), when wrong ACC use it?
2). an alert ("It's expired"), when the time is up?
Thanks and Regards,
antonSimply add Alert(text you want it to display); in that same block
Sorry for my bad knowledge about it. Please help.
Thanks,
anton
Simply add Alert(text you want it to display); in that same block
Sorry for my bad knowledge about it. Please help.
Thanks,
antonAnton
Like this
if (AccountNumber()!=1 || TimeCurrent()>StrToTime("2014.01.31"))
{
Alert("first part of alert");
Alert("second part of alert");
return(0);
}
Hi mladen,
Thank you very much.
It works great.
Best Regards,
anton
Anton
Like this
if (AccountNumber()!=1 || TimeCurrent()>StrToTime("2014.01.31"))
{
Alert("first part of alert");
Alert("second part of alert");
return(0);
}I do not understand one thing : what are you going to protect if you tell that you do not know how to code?