" 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 inputint InpMAPeriod=13; // Smoothing period inputint InpMAShift=0; // Line horizontal shift inputENUM_MA_METHOD InpMAMethod=MODE_SMMA; // Smoothing method
However I can't seem to get it to work.. Here is my code:
inputint level=25; // Alert Levelinputint adxp=14; // ADX Periodinput enum_TimeFrame TimeFrame=15;// Time Frameinputbool popup=true; // Use Popup Messageinputbool sms; // Use Cellphone Alertinputbool email; // Use Email Alertbool AlertOn=false;
Any idea what I am doing wrong? I am using version 4 build 840.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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:
Any idea what I am doing wrong? I am using version 4 build 840.
Thanks
Richard