I am trying to use EMA function to enter values in an array in the following way
for (i=-24 ;i==0;i++)
{
EMA_val[i]=EMA(480)[i];
EMA_sum[1]+=EMA_val[i];
}
getting an error saying that I am trying to use a field like a mathod , I looked in documantion and I am using the script as I should.
Can someone explain what I am doing worng.
Thanks
Comment