Download MetaTrader 5

iCustom - only pass some of the input parameters

To add comments, please log in or register
How to earn at MQL5.community? Come and find out!
Toast
226
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
30752
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
226
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