====== Alligator ====== FIXME ===== Parameters ===== **Logical rules for Opening Logic Condition slot.** * The Lips rises; * The Lips falls; * The Teeth rises; * The Teeth falls; * The Jaws rises; * The Jaws falls; * The Lips crosses the Teeth upward; * The Lips crosses the Teeth downward; * The Lips crosses the Jaws upward; * The Lips crosses the Jaws downward; * The Teeth crosses the Jaws upward; * The Teeth crosses the Jaws downward; **Logical rules for Closing Logic Condition slot.** * The Lips rises; * The Lips falls; * The Teeth rises; * The Teeth falls; * The Jaws rises; * The Jaws falls; * The Lips crosses the Teeth upward; * The Lips crosses the Teeth downward; * The Lips crosses the Jaws upward; * The Lips crosses the Jaws downward; * The Teeth crosses the Jaws upward; * The Teeth crosses the Jaws downward; **List box parameters** * **Smoothing method** (Smoothed). The method of Moving Average used for the calculations. Options: Simple, Weighted, Exponential, Smoothed. * **Base price** (Median). The price the indicator is based on. Options: Open, High, Low, Close, Median, Typical, Weighted. **Numeric box parameters** * **Jaws period** (13). The Moving Average period. Minimum: 1, Maximum: 200. * **Jaws shift** (8). How many bars to shift with. Minimum: 0, Maximum: 200. * **Teeth period** (8). The Moving Average period. Minimum: 1, Maximum: 200. * **Teeth shift** (5). How many bars to shift with. Minimum: 0, Maximum: 200. * **Lips period** (5). The Moving Average period. Minimum: 1, Maximum: 200. * **Lips shift** (3). How many bars to shift with. Minimum: 0, Maximum: 200. ===== Implementation ===== C# source code: [[https://github.com/PopovMP/FSB_Pro_Indicators/blob/master/Indicators/Store/Alligator.cs|Alligator]]. MQL source code: [[https://github.com/PopovMP/FSB_Expert_Advisor_Code/blob/master/Forexsb.com/Indicators/Alligator.mqh|Alligator]].