ema: Exponential Moving Average

Description Usage Arguments See Also

View source: R/RcppExports.R

Description

Exponentially weighted moving average aka EMA is exponentially weighted SMA. EMAs have faster response to recent value changes than SMAs.

Usage

1
ema(x, n)

Arguments

x

numeric vectors

n

window size

See Also

Other technical indicators: bbands, crossover, roll_lm, roll_percent_rank, roll_range, roll_sd, roll_volume_profile, rsi, sma, stochastic


QuantTools documentation built on Oct. 23, 2020, 7:54 p.m.