# Exponential Moving Average

## Description

The exponential moving average, or exponential smoothing function, works by calculating each bar as a portion of the current input and a portion of the previous exponential moving average.

It takes one parameter, the period n, a positive integer. Larger values for n will have a greater smoothing effect on the input data but will also create more lag.[1]

## Syntax

${\displaystyle fx=BT\_I\_EMA(Input1,Period)}$