Parameters when using iCustom
I am writing an EA that uses a custom indicator so i am using iCustom in the code.
The book gives the format as follows:
| double iCustom( | string symbol, int timeframe, string name, ..., int mode, int shift) |
and says this about parameters (....,):
Now this indicator has 39 external parameters that can be set and I do not want to change any of them from the compiled version - iow use the parameters as is.
Do I still have to list the 39 parameters every time I use this indicator in the code or can I just set the mode and shift and leave out the parameters?
e.g. iCustom(NULL,0,"CustomIndicator",0,1)
Thanks RaptorUK! Good to see you back!
Ernest
Thanks RaptorUK! Good to see you back!
I am writing an EA that uses a custom indicator so i am using iCustom in the code.
The book gives the format as follows:
and says this about parameters (....,):
Parameters set (if necessary).
Now this indicator has 39 external parameters that can be set and I do not want to change any of them from the compiled version - iow use the parameters as is.
Do I still have to list the 39 parameters every time I use this indicator in the code or can I just set the mode and shift and leave out the parameters?
e.g. iCustom(NULL,0,"CustomIndicator",0,1)