Call 3_Level_ZZ_Semafor indicator using iCustom function

 

Hi,
Does anyone know how to call the 3_Level_ZZ_Semafor indicator using the iCustom function with all the default parameters? Its giving me the error message that it has the wrong parameter count.

iCustom(NULL,0,"3_Level_ZZ_Semafor" ,true,false,false,false,false,false ,false,false,false,false,false,fals e,10,false,1,5,false,false,100,1,20 ,20,5,50,Red,0,2,"ahooga.wav",Blue, 0,2,"siren.wav",Orange,2,1,Magenta, 2,1,Violet,2,1,Red,0,3,Blue,0,3,Red,1,1,Blue,1,1,0.24,0.382,0.5,0.618,0.76,Red,Khaki,Gray,Khaki,Red,4,1,3,1,5,13,34,"1,3","8,5","13,8",140,141,142,1,2,4,1,1) - using example of Buffer = 1 positon = 1

I have attached the indicator.


Thanks in advance

Files:
 
sonipipster:

Hi,
Does anyone know how to call the 3_Level_ZZ_Semafor indicator using the iCustom function with all the default parameters? Its giving me the error message that it has the wrong parameter count.

iCustom(NULL,0,"3_Level_ZZ_Semafor" ,true,false,false,false,false,false ,false,false,false,false,false,fals e,10,false,1,5,false,false,100,1,20 ,20,5,50,Red,0,2,"ahooga.wav",Blue, 0,2,"siren.wav",Orange,2,1,Magenta, 2,1,Violet,2,1,Red,0,3,Blue,0,3,Red,1,1,Blue,1,1,0.24,0.382,0.5,0.618,0.76,Red,Khaki,Gray,Khaki,Red,4,1,3,1,5,13,34,"1,3","8,5","13,8",140,141,142,1,2,4,1,1) - using example of Buffer = 1 positon = 1

I have attached the indicator.


Thanks in advance

   iCustom(NULL,0,"3_Level_ZZ_Semafor",1,1) - using example of Buffer = 1 positon = 1
 
angevoyageur:



Thanks, I will try it. I thought that you had to always specify the parameters.

 
sonipipster:


Thanks, I will try it. I thought that you had to always specify the parameters.

 

 

No, please read the documentation :

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.