Skip to contents

Exponential Moving Average

Usage

ema(price, n, wilder = FALSE)

Arguments

price

A numeric vector of prices

n

The period for the EMA

wilder

Whether to use Wilder's smoothing

Value

A numeric vector containing the EMA values