PureBytes Links
Trading Reference Links
|
You can't really do that.
The exponential *moving* average depends on replacing one point in a series (the last) with a new end point then recalculating and repeating the process... You can't just take 20 values and calculate an XAverage of them... Does only one value in your array change on each bar?
---- you wrote:
> Good afternoon all,
> Question for the EL Guru's!
>
> I Have an single dimensional Array called TR, within this array are 20
> values. I would like to compute the exponential average of the 20 values
> starting with the TR[0]. Any help here would be greatly appreciated.
>
> Thanks
> Gaston
>
|