PureBytes Links
Trading Reference Links
|
Thomas:
>Etrade Pro only alows the input of a smoothing constant when choosing a
>length for the Exponential Moving Average. Is there a handy table of
>formula to convert any length you need for an EMA by inputting the
>smoothing constant for the series. I want to use either a 2, 8, 13, 21,
>34, 50, 100, 200 as lengths for the EMA, but need to know the smoothing
>constants to apply to the simple series to get those resulting lengths.
The EMA smoothing constant is w=2/(N+1) where N is the number of
bars. The EMA formula, then, is EMA=w*P+(1-w)*EMA[1] where P is the
current data value and P[1] is the prior EMA value.
This results in approximately the same spectral response envelope as
a SMA over N bars.
--
,|___ Alex Matulich -- alex@xxxxxxxxxxxxxx
// +__> Director of Research and Development
// \ Unicorn Research Corporation -- http://unicorn.us.com
// __) HTML FORMATTED MAIL SENT HERE WILL BE REJECTED AS SPAM.
|