LegacyEMA

Description

This study is a version of the Exponential Moving Average using calculation mechanism prior to November 13, 2010. Its difference from the updated EMA is in the way the initialization point is determined. For the Legacy EMA, the specified price of the first bar is considered the initial value, while the updated EMA study comprises historical data prefetching for that purpose. The absence of the prefetching mechanism makes the Legacy EMA study highly range-dependent.

Input Parameters

Parameter Description
price The price used to calculate the Legacy EMA.
length The number of bars to calculate the smoothing factor.
displace The displacement of the Legacy EMA study, in bars. Positive values signify a backward displacement.

Plots

Plot Description
LegacyEMA The Legacy EMA plot.

Example*

*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.

You may also like
MomentumPercentDiff
The Momentum Percent Diff is a momentum-based technical indicator. Unlike the regular Momentum ...
WilliamsAD
The Williams Accumulation/Distribution study is used to determine either the marketplace is ...
ATR
The Average True Range (ATR) study calculates the average true price range over a time period. ...