Hello Guys,
I coded password on my expert advisor but i want to change the values to be seen in the input window as asterisk. The "link101" should be (*******)
extern string PIN ="-------";
if(PIN != "link101") {Alert ("Invalid PIN");return(0);}
if(AccountFreeMargin()<(1000*Lots)) {Print("Not Enough Money"); return(0);}
if(Bars<100) {Print("-----NO BARS "); return(0);}
Can anybody help me code the problem. Thank you.
newlink55
Actually it is. megaDroid does exactly that. It's just not easy.
If the external is not asterisks, Create a file indicating a valid password was seen (include a hash codes so it can't forged.)
Then replace the expert .ini file substituting the pin with asterisks. (can't be done with standard file calls, File Operations via WinAPI - MQL4 Articles, File Operations without Limitations - MQL4 Code Base)
Actually it is. megaDroid does exactly that. It's just not easy.
If the external is not asterisks, Create a file indicating a valid password was seen (include a hash codes so it can't forged.)
Then replace the expert .ini file substituting the pin with asterisks. (can't be done with standard file calls, File Operations via WinAPI - MQL4 Articles, File Operations without Limitations - MQL4 Code Base)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello Guys,
I coded password on my expert advisor but i want to change the values to be seen in the input window as asterisk. The "link101" should be (*******)
extern string PIN ="-------";
if(PIN != "link101") {Alert ("Invalid PIN");return(0);}
if(AccountFreeMargin()<(1000*Lots)) {Print("Not Enough Money"); return(0);}
if(Bars<100) {Print("-----NO BARS "); return(0);}
Can anybody help me code the problem. Thank you.
newlink55