Password and security

 

Hello everyone

I'm trying to put a password on a indicator, can anyone explain to me what base code to use and how to do it?

Can you write the example of the base code please?

 
sinput string password="Insert Password Here";
:
int OnInit(){
   if( password != "1029384756"){ Alert("invalid password"); return  INIT_FAILED; }
   :
Was that "base code" so hard that you couldn't attempt it?
 
whroeder1:
Was that "base code" so hard that you couldn't attempt it?
Thank you very much
Reason: