I was wondering whether someone could help me with something.
I have compiled 2 lists:
1. The first lists organises the data in 2 columns
2. the second list calculates 2 variables from the first list
Is there any way to sum the columns in the second list?
Doing it as follows works but it is going to take forever with larger datasets:
Code:
dataRows.Add(new LadderRow(Close[(int)center+idx],Close[(int)center-idx]));
for (int idx = 0; idx < (int)center; idx++)
seqRows.Add(new LadderRow(dataRows[idx].C2+dataRows[idx].C1,dataRows[idx].C2-dataRows[idx].C1));
seqsumC1=SUM(seqRows.C1, (int)center)[0];
//seqsumC1=seqRows[0].C1+seqRows[1].C1+seqRows[2].C1+seqRows[3].C1+seqRows[4].C1;
Comment