Name

CalcEMA — Exponential moving average

Synopsis

CalcEMA (ARRAY,
  ARRAY_OR_NUMBER);

Returns

ARRAY

Parameters

Name Type Default Description
ARRAY array
ARRAY_OR_NUMBER array_or_number

Description

This function is inspired by AmiBroker function: www.amibroker.com/guide/afl/ema.html

Difference from AmiBroker: Collective2 implementation does not use an array as the second parameter.

Exponential moving average