What I am trying to do is using multiple instruments (9 stocks), calculate each instrument's SMA and assign the value to its corresponding dataseries. Such as SMADataSeries[i][j][k], where i refers to the instrument index, j means its SMA value, while k stands for BarAgo.
How can I do it in variable declaration and initial part?
like this?
private DataSeries [8][][];
Thanks a lot!

Comment