The current value of the average of a price series using exponential smoothing. Applies weighting so that more recent stock movement have more impact on the EMA value.
Syntax: EMA(Source, Length, Offset, Interval, [Ref], [Symbol])
Source = Required.
Length = Required. The number of bars in the average.
Offset = Required. Allows you to adjust the moving average left (negative values) or right (positive values).
Interval = Required.
[Ref] = Optional.
[Symbol] = Optional.
Examples:
EMA(C, 20, 0, D, YHOO)
20 Day EMA using the Closing price with no offset for YHOO.
EMA(C, 10, -2, 5, YHOO)
10 period 5-minute EMA using the Closing price offset 2 periods to the left for YHOO.