Calculates the Gator oscillator and returns its value.
[in] Symbol name on the data of which the indicator will be calculated. NULL means the current symbol.
[in] Timeframe. It can be any of ENUM_TIMEFRAMES enumeration values. 0 means the current chart timeframe.
[in] Blue line averaging period (Alligator's Jaw).
[in] Blue line shift relative to the chart.
[in] Red line averaging period (Alligator's Teeth).
[in] Red line shift relative to the chart.
[in] Green line averaging period (Alligator's Lips).
[in] Green line shift relative to the chart.
[in] MA method. It can be any of Moving Average method enumeration value.
[in] Applied price. It can be any of Applied price enumeration values.
[in] Indicator line index. It can be any of Indicators line identifiers enumeration value.
MODE_GATORJAW - blue line (Jaw line),
[in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Numerical value of the Gator oscillator.
The oscillator displays the difference between the Alligator red and blue lines (the upper histogram) and that between red and green lines (the lower histogram).