Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-29-2006, 03:57 AM
Junior Member
 
Join Date: Oct 2006
Posts: 8
Greentooth is on a distinguished road
How to mask external input value with *** sign?

Dear Boaders,
Does anyone have any idea how to mask external input value with ***** sign while keying in? The reason is that i wanted to password protect my EA for distribution. The current method will allows preying eyes seeing the password being typed.

The code i'm using now is this.

extern string Please_Enter_Password="0";
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-29-2006, 09:46 AM
Nicholishen's Avatar
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
Quote:
Originally Posted by Greentooth
Dear Boaders,
Does anyone have any idea how to mask external input value with ***** sign while keying in? The reason is that i wanted to password protect my EA for distribution. The current method will allows preying eyes seeing the password being typed.

The code i'm using now is this.

extern string Please_Enter_Password="0";
No matter what, anyone with fifty bucks can have your EA decompiled.
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-31-2006, 06:33 AM
cubesteak's Avatar
Senior Member
 
Join Date: Jul 2006
Location: Southern California
Posts: 163
cubesteak is on a distinguished road
Quote:
Originally Posted by Greentooth
Dear Boaders,
Does anyone have any idea how to mask external input value with ***** sign while keying in? The reason is that i wanted to password protect my EA for distribution. The current method will allows preying eyes seeing the password being typed.

The code i'm using now is this.

extern string Please_Enter_Password="0";
Its impossible, as far as I know. In regular programming, this requires special Password handling that isn't supported in MQL4. Since they don't make it available in the language, your EA can't do it. Technically, it would be the EA properties dialog box that MT4 uses to set the extern values that needs to change to support it. They would then have to provide a new MQL4 password type (meaning, rather than a string) that would then be hidden by the dialog.

There really isn't anything you can do about this other than ask the MT4 people to make it possible, somehow. And, frankly, I wouldn't hold my breath on this one... I don't think they would give it a high priority...



-CS
__________________

Join the MultiBroker M1 and TICK Data Bank Project

Imagine 90-99% modeling quality in MT4 back testing with free data from your broker!
Come see our current list of covered brokers.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EA input screen pete36 Metatrader 4 2 11-25-2006 11:57 PM
How can I making sign ?? F.M Setup Questions 4 10-27-2006 08:19 PM
I need help on creating an Icustom statement for my EA using this indicator as input! iscuba11 Expert Advisors - Metatrader 4 4 09-11-2006 07:18 PM


All times are GMT. The time now is 04:59 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.