I'm working on an indicator in which a data series is created. This works out fine.
Now I'd like to get the sum of all the values of the series: i.e:
dataseries[1] + dataseries[2] + ... + dataseries[n].
I'm sure I could do this using a 'While Loop' but is there a more direct way of accomplishing this? I've tried some c# research but haven't found anything yet.
As ever, any advice greatly appreciated.
Comment