Input strings not working in here

Back to topics list To post a new topic, please log in or register
avatar
16
gviali 2015.02.06 05: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	
avatar
Moderator
3416
GumRai 2015.02.06 05:35 #
 

As I recently learned you have to have

#property strict

 

avatar
16
gviali 2015.02.06 06: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"

avatar
Moderator
3416
GumRai 2015.02.06 07: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. 

Back to topics list  

To add comments, please log in or register