User Friendly Input Variable Names

 

Hi,

 

I've seen this feature in MQL4 post build 600 -

It is possible to set another way to display names of input parameters in the Inputs tab. To do this, a string comment is used, which should be located after the description of an input parameter in the same line. Thus, names more understandable for a user can be matched to input parameters."

Example:

//--- input parameters
input int            InpMAPeriod=13;         // Smoothing period
input int            InpMAShift=0;           // Line horizontal shift
input ENUM_MA_METHOD InpMAMethod=MODE_SMMA;  // Smoothing method

 

 However I can't seem to get it to work.. Here is my code:

 

input int level=25; // Alert Level
input int adxp=14; // ADX Period
input enum_TimeFrame TimeFrame=15;// Time Frame
input bool popup=true; // Use Popup Message
input bool sms; // Use Cellphone Alert
input bool email; // Use Email Alert
bool AlertOn=false;

 

 

 

Any idea what I am doing wrong? I am using version 4 build 840.

 

Thanks

 

Richard 

 
#property strict
 
You have probably not included this
 
Perfect! Thank you GumRai!
Reason: