How to Limit Account using indicator - page 2

 
anton1:
Hi mladen,

where should I put the ACCount number, to limit.

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,

anton

mladen:
It is already there (line 64)
 
anton1:
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

Replace the 1 with the account number

 
anton1:
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

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,

anton

mladen:
Replace the 1 with the account number
 
anton1:
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

Simply add Alert(text you want it to display); in that same block

 

Sorry for my bad knowledge about it. Please help.

Thanks,

anton

mladen:
Simply add Alert(text you want it to display); in that same block
 
anton1:
Sorry for my bad knowledge about it. Please help.

Thanks,

anton

Anton

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

mladen:
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?

Reason: