Download MetaTrader 5
MQL5 ReferenceStandard LibraryTrading Strategy ClassesModules of Trade SignalsSignals of the Indicator Double Exponential Moving Average 

Signals of the Indicator Double Exponential Moving Average

This module is based on the market models of the indicator Double Exponential Moving Average. The mechanism of making trade decisions based on signals obtained from the modules is described in a separate section.

Conditions of Generation of Signals

Below you can find the description of conditions when the module passes a signal to an Expert Advisor.

Signal Type

Description of Conditions

For buying

  • Failed breakout. The price has crossed the indicator downwards (the Open price of the analyzed bar is above the indicator and the Close price is below the indicator) and the indicator rises (weak signal for a roll-back from the indicator line).

Double Exponential Moving Average - Buy Signal

 

  • Moving Average crossover. The price has crossed the indicator upwards (the Open price of the analyzed bar is below the indicator and the Close price is above the indicator) and the indicator rises (strong signal).

Double Exponential Moving Average - Buy Signal

 

  • Formed breakout. The lower shadow of the bar has crossed the indicator (the Open and Close prices of the analyzed bar are above the indicator, and the Low price is below the indicator) and the indicator rises (signal for a roll-back from the indicator line).

Double Exponential Moving Average - Buy Signal

For selling

  • Failed breakout. The price has crossed the indicator upwards (the Open price of the analyzed bar is below the indicator and the Close price is above the indicator) and the indicator falls (weak signal for a roll-back from the indicator line).

Double Exponential Moving Average - Sell Signal

  • Moving Average crossover. The price has crossed the indicator downwards (the Open price of the analyzed bar is above the indicator and the Close price is below the indicator) and the indicator falls (strong signal).

Double Exponential Moving Average - Sell Signal

 

  • Formed breakout. The upper shadow of the bar has crossed the indicator (the Open and Close prices of the analyzed bar are below the indicator, and the High price is above the indicator) and the indicator falls (weak signal for a roll-back from the indicator line).

Double Exponential Moving Average - Sell Signal

No objections to buying

The price is above the indicator.

No objections to selling

The price is below the indicator.

Note

Depending on the mode of operation of an Expert Advisor ("Every tick" or "Open prices only") an analyzed bar is either the current bar (with index 0), or the last formed bar (with index 1).

Adjustable Parameters

This module has the following adjustable parameters:

Parameter

Description

Weight

Weight of signal of the module in the interval 0 to 1.

PeriodMA

Period of averaging of the indicator.

Shift

Shift of the indicator along the time axis (in bars).

Method

Method of averaging.

Applied

A price series used for calculation of the indicator.

 


Updated: 2016.06.07