Download MetaTrader 5

Expert Advisors: MQL5 Wizard - Trade Signals Based on Crossover of Lines of the Alligator Indicator

To add comments, please log in or register
Do you need a programmer? Make an order to let the developer find you!
Automated-Trading
Admin
99084
Automated-Trading 2011.01.14 18:35 

MQL5 Wizard - Trade Signals Based on Crossover of Lines of the Alligator Indicator:

MQL5 Wizard provides the automatic creation of Expert Advisors (see MQL5 Wizard: Creating Expert Advisors without Programming).

It's time consider the trading signals, based on the Alligator technical indicator, presented by B.Williams in "Trading Chaos". The strategy called "Signals based on the Alligator" (when creating EA automatically in MQL5 Wizard).

The system is based on three moving averages (Lips, Teeth and Jaw lines), and oscillators, calculated using the difference between them. The trading signals are generated after crossover of the Alligator lines, depending on trend, determined by order of these lines. In the case of upward trend the Lips line (with minimal period) is the highest, the next is the Teeth line, and the lowest is the Jaw line. The similar but opposite case in the case of downward trend.

The trade signals:

  • Open long position: crossover of the Alligator lines and increase of the distance between them in the case of the upward trend;
  • Close long position: upward crossover of Lips line with the Jaw line;
  • Open short position: crossover of the Alligator lines and increase of the distance between them in the case of the downward trend;
  • Close short position: downward crossover of Lips line with the Jaw line;


Trade signals, based on the Alligator technical indicator

Testing Results of the Expert Advisor with trading signals, based on the Alligator indicator

Author: MetaQuotes Software Corp.


ypopov
9
ypopov 2011.01.20 18:13  

Please explain what does it mean LipsTeethDiff(-1) versus LipsTeethDiff(1). Which positions in buffer correspond to -1 and 1?

Thanks. 

Automated-Trading
Admin
99084
Automated-Trading 2011.01.21 10:40  
ypopov:

Please explain what does it mean LipsTeethDiff(-1) versus LipsTeethDiff(1). Which positions in buffer correspond to -1 and 1?

Thanks. 

Indexes:

  •  1 - future bar (Jaw(1), Teeth(1) and Lips(1) <> EMPTY_VALUE because of the shift of the Alligator lines)
  •  0 - current (uncompleted) bar
  •  1 - last completed bar


To add comments, please log in or register