DEMA: Double Exponential Moving Average | Valuable – Amibroker AFL



DEMA – Double exponential moving average is a measure of a security’s trending average price. This gives the most weight to recent price data. Like exponential moving average ( EMA) it is more reactive to price fluctuations than a simple moving average (SMA) thereby bringing more value to short-term traders attempting to pinpoint trend changes.

The formula  is:

DEMA = ( 2 * EMA(n)) – (EMA(EMA(n)) ), where n= period

By using Double exponential moving average formula we make modify amibroker afl. Below picture show you where to buy and where to sell. Using this afl you may make much profit if you use it properly. In picture when formula fulfill the sell condition than its show red signal. Reversely when condition fulfill buy condition than it automatically show you green signal.  Just download AFL and enjoy with happy trading.

Image of Amibroker AFL [amibroker formula language].

Double Exponential Moving Average (DEMA) Amibroker AFL


Download AFL


How to use Amibroker AFL


  • Download the Amibroker AFL.
  • Now copy the afl file and paste it to \Program Files\AmiBroker\Formulas\Custom. [For 32 bit]
  • If You have 64 bit operating system than paste it to  \Program Files(x86)\AmiBroker\Formulas\Custom.
  • Go to formula section of Amibroker and you will get the afl in Custom folder.
Don’t Know How To Set Amibroker? If not than Just Watch.


0 thoughts on “DEMA: Double Exponential Moving Average | Valuable – Amibroker AFL”

Leave a Reply

Your email address will not be published. Required fields are marked *