coolazice / Publications
Forum
Sum multiple elements of a large array
Hi, I am looking for help with writing a small custom code (MQL4) to sum some elements (about 25 to 35 elements) of an array with 100 elements. I tried the following code but it did not work and I'm not sure how else to go about it. for (int iArray = ArraySize(array) - 1; iArray >= 0; iArray--)