Gator Oscillator — Gator
Gator Oscillator is based on the Alligator and shows the degree of convergence/divergence of the Balance Lines (Smoothed Moving Averages).
The top bar chart is the absolute difference between the values of the
blue and the red lines. The bottom bar chart is the absolute difference
between the values of the red line and the green line, but with the
minus sign, as the bar chart is drawn top-down.
 Calculation:
MEDIAN PRICE = (HIGH + LOW) / 2
ALLIGATORS JAW = SMMA (MEDIAN PRICE, 13, 8) ALLIGATORS TEETH = SMMA (MEDIAN PRICE, 8, 5) ALLIGATORS LIPS = SMMA (MEDIAN PRICE, 5, 3)
Where:
HIGH — is the maximum price;
LOW — is the minimum price;
SMMA (A, B, C) — smoothed moving average. Parameter А — smoothed data, В — period of smoothing,
С — Shift in the future.
Source Code
Full MQL4 source of Gator Oscillator is available in Code Base: Gator Oscillator
|
Warning:
All rights on these materials are reserved by MetaQuotes Software Corp. Copying or
reprinting of these materials in whole or in part is prohibited.
|