How Can We Help?
Exponential Moving Average
ExponentialMovingAverage(Vector, Periods)
EMA(Vector, Periods)
MA Type Argument ID: EXPONENTIAL
Overview
An Exponential Moving Average or EMA is similar to a Simple Moving Average. An EMA is calculated by applying a small percentage of the current value to the previous value, therefore an EMA applies more weight to recent values.
Interpretation
A Moving Average is most often used to average values for a smoother
representation of the underlying price or indicator.
Example
set BUY = CLOSE > EMA(CLOSE, 30)
Evaluates to buy when the close is greater than a 30-day EMA.