Download MetaTrader 5
To add comments, please log in or register
Trade with MetaTarder 5. Download it right now!
Gabriel Viali
201
Gabriel Viali 2015.02.06 04:08 

Hello guys, i tried this as its specified in the MQL4 Documentation at: docs.mql4.com/basis/variables/inputvariables

 but it's not showing the commentary in the parameters window as it should..

//--- input parameters
input int            InpMAPeriod=13;         // Smoothing period
input int            InpMAShift=0;           // Line horizontal shift
input ENUM_MA_METHOD InpMAMethod=MODE_SMMA;  // Smoothing method	
Keith Watford
Moderator
8007
Keith Watford 2015.02.06 04:35  

As I recently learned you have to have

#property strict
Gabriel Viali
201
Gabriel Viali 2015.02.06 05:35  
GumRai:

As I recently learned you have to have

 

Ok, then I have a lot of: "possible loss of data due to type conversion"

Keith Watford
Moderator
8007
Keith Watford 2015.02.06 06:26  
gviali:
Ok, then I have a lot of: "possible loss of data due to type conversion"

Yes, they can be annoying. I have mostly got into the habit of properly converting data type to avoid these warnings.

Note that they are only warnings and will not affect the operation of your code. 

/
To add comments, please log in or register