Finally I found way to extract the value of the series inside the array.
Firsy I defined an Array where each component is a series()

Quote:
vars Band_Array[60];
int i;
for(i=0;i<60;i++)
Band_Array[i] = series(DominantPeriod(Price,i+10));

So then Band_Array[0] is a series with i=0
My problem was how to extract just a component of the series so that I can get some information from it.
And this is the way

Quote:
int i;
var PD[60];
for(i=0;i<60;i++){
vars r = Band_Array[i];
PD[i]=r[0];}

So then PD[0] is the value of Band_Array[0] at Price[0]

Last edited by Nanitek; 09/26/15 15:09.