New MQL4: Input description

 

Hi everybody,

I'm testing the new build 579 and it's MQL4.5 language

I've a problem with input parameter names.

Here's the mql5 guide: https://www.mql5.com/en/docs/basis/variables/inputvariables

I've write this Test indicator, with #property strict command and everything is working properly, variable names are replaced with comments.

//+------------------------------------------------------------------+
//|                                                         Test.mq4 |
//+------------------------------------------------------------------+

#property indicator_separate_window
#property strict

enum dayOfWeek 
  {
   Mon=1,      //Monday
   Tue=2,      //Tuesday
   Wed=3,      //Wednesday
   Thu=4,      //Thursday
   Fry=5,      //Friday
   Sat=6,      //Saturday
   Sun=7,      //Sunday
  };

//--- input parameter
input dayOfWeek       WD = Mon;         //Week Day 
input ENUM_TIMEFRAMES CP = PERIOD_M1;   //Chart Period
input int             AP = 12;          //Average Period  

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int OnInit()
  {
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
   return(rates_total);
  }
//+------------------------------------------------------------------+



But if I don't use #property strict, only enum parameters works..

//+------------------------------------------------------------------+
//|                                                         Test.mq4 |
//+------------------------------------------------------------------+

#property indicator_separate_window
//#property strict

enum dayOfWeek 
  {
   Mon=1,      //Monday
   Tue=2,      //Tuesday
   Wed=3,      //Wednesday
   Thu=4,      //Thursday
   Fry=5,      //Friday
   Sat=6,      //Saturday
   Sun=7,      //Sunday
  };

//--- input parameter
input dayOfWeek       WD = Mon;         //Week Day 
input ENUM_TIMEFRAMES CP = PERIOD_M1;   //Chart Period
input int             AP = 12;          //Average Period  

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int OnInit()
  {
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
   return(rates_total);
  }
//+------------------------------------------------------------------+


There is a way to show comment instead variable name in inputs without using #property strict? Referenced guide doesn't mention it.
 
No one notice this problem?