Download MetaTrader 5

iCustom - only pass some of the input parameters

To add comments, please log in or register
Toast
226
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?

Alain Verleyen
Moderator
32498
Alain Verleyen  
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  

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

Thank you!

qjol
3243
qjol  

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