Originally Posted by bot
One thing that isn't clear to me is where to add the custom indicators? in indicators.c file?

Also, in the same file most of the indicators call SETSERIES, as in example below:

// Awesome Oscillator
var AO(var* Data)
{
var R = SMA(Data,5)-SMA(Data,34);
SETSERIES(Data,34);
return R;
}

That is the reason I want too know what is the purpose of SETSERIES function?
Zorro ignores the indicators.c file completely, and therefore you should ignore indicators.c. It is impossible for you (the script-writer) to use SETSERIES, so ignore that too.

You put your custom indicator function either in a header file and include it, or put it above the run() function. Both have the same effect of working.