Please explain what does it mean LipsTeethDiff(-1) versus LipsTeethDiff(1). Which positions in buffer correspond to -1 and 1?
Thanks.
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
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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:
Author: MetaQuotes Software Corp.