Gator Oscillator

The Gator Oscillator (GO) was authored by Bill Williams. The GO is based on the Alligator, also written by Bill Williams. It shows the degree of convergence/divergence of the balance lines. The top bar is the absolute difference between the Jaw and Teeth lines. The bottom bar is the absolute difference between the Teeth and Lip lines (with a minus sign to display below 0). The user may change input (midpoint), method (SMMA), period and shift lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
See also Alligator.

Gator Oscillator

How To Trade Using Gator Oscillator

No trading signals are calculated for this indicator.

How To Access in MotiveWave

Go to the top menu, choose Study>Bill Williams>Gator Oscillator

or go to the top menu, choose Add Study, start typing in this study name until you see it appear in the list, click on the study name, click OK.

Important Disclaimer: The information provided on this page is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security. Please see our Risk Disclosure and Performance Disclaimer Statement.

Calculation

//input = price, user defined, default is Midpoint
//method = moving average (ma), user defined, default is SMMA
//jawPeriod = user defined, default is 13
//jawShift = user defined, default is 8
//teethPeriod = user defined, default is 8
//teethShift = user defined, default is 5
//lipsPeriod = user defined, default is 5
//lipsShift = user defined, default is 3
//index = current bar number, abs = absolute value

jaw = ma(method, index + jawShift, input, jawPeriod); 
teeth = ma(method, index + teethShift, input, teethPeriod); 
lips = ma(method, index + lipsShift, input, lipsPeriod); 
PlotHist1: top = Math.abs(jaw-teeth);
PlotHist2: bottom = -Math.abs(teeth-lips);