More questions regarding to iCustom indicator

 
Hi:

With the help from this forum, I was able to write a custom indicator that plot 3 traces. When I looked closely to the return argurment of the "int start()" function, I was amazed. How can the start function return "double" when the declaration indicated "int"? I am guessing that the function return a single value of the plot buffer(double). What happen if I have more than one plot buffers? Which buffer will be the return value? Can the function return other data types(int or string)?

Hope one of the forum "guru" can help.

Thanks
 
Custom indicators return their values from indicator buffer(s) via iCustom function call. See bottom of 'Features of Custom Indicators Creation'
 
Thank stingo. You save me a lot of time.
Reason: