Exponential Moving Average
MA Type Argument ID: EXPONENTIAL
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.
A Moving Average is most often used to average values for a smoother
representation of the underlying price or indicator.
set BUY = CLOSE > EMA(CLOSE, 30)
Evaluates to buy when the close is greater than a 30-day EMA.