If i print Values ill get : 0
case MultiMA1types.MTYCMA:
Values[count][0] = MTYCMA(i)[0];
Print(Values[count][0]);
break;
if (CurrentBar < 10)
return;
int count = 0;
for (int i = LowPeriod; i <= HighPeriod; i += StepAverage)
{
Print(i);
switch (MaToUse)
{
for(int barIndex = (mybar - Period); barIndex <= CurrentBar; barIndex++)
{
double closePrice = Bars.GetClose(barIndex);
double volumes = Bars.GetVolume(barIndex);
double clovol = closePrice * volumes;
sum1 += clovol++;
sum2 += volumes++;
cma = sum1 / sum2;
Value[0] = cma;
Print(Value[0]);

How do i get to separate them.
Comment