Download MetaTrader 5
To add comments, please log in or register
All MQL5.community events are grouped together. Have a look at the Wall!
Toast
220
Toast 2014.03.16 17:43 

Just a quick one - with iCustom must you pass every input parameter (or none at all)?

Example: the indicator has 10 input parameters.

Can you pass just the first 4, and iCustom will use the defaults for the remaining 6?

Alain Verleyen
Moderator
28648
Alain Verleyen 2014.03.16 19:28  
toast:

Just a quick one - with iCustom must you pass every input parameter (or none at all)?

Example: the indicator has 10 input parameters.

Can you pass just the first 4, and iCustom will use the defaults for the remaining 6?

None, all, or the first x.
Toast
220
Toast 2014.03.16 19:46  

Great, so it is OK to pass only some of the parameters (provided they are the first parameters)

Thank you!

qjol
3243
qjol 2014.03.16 23:37  

iCustom

[in] Custom indicator input-parameters, separated by commas.

The passed parameters and their order must correspond with the declaration order and the type of extern variables of the custom indicator. If the values of input parameters is not specified, the default values will be used.

/
To add comments, please log in or register