Description Usage Arguments Details See Also Examples
dema
performs exponential smoothing twice on the same vector.
This is not the same as the DEMA
typically used in technical
trading.
1 |
x |
a numeric vector |
a |
numeric; smoothing factor |
direction |
character; should the two moving averages be run
|
The moving averages are done as in ema
, except that the
root-two'th root of a
is used, to make the outputs more comparable.
That is
a* = a^(1/sqrt(2))
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.