DEMA (Function)

image\trumpet2.gif Disclaimer

The DEMA series function gets the value for the DEMA (Double Exponential Moving Average).

Syntax

DEMA(Price, Length)

Returns (Double)

A numeric value representing the double exponential moving average (applying an exponential moving average to the price data two times in succession).

Parameters

Name Type Description
Price NumericSeries Specifies which bar value (price, function, or formula) to consider for the exponential moving average.
Length Numeric Sets the number of bars over which to calculate the exponential moving average.

Reference

Patrick G. Mulloy, "Smoothing Data With Faster Moving Averages," Technical Analysis of Stocks and Commodities Magazine, Volume 12, Issue 1, January, 1994 (11-19).