Alligator

The Alligator was authored by Bill Williams. It is a combination of balance lines (Moving Averages) that use fractal geometry and non linear dynamics. They consists of 3 lines: Jaw, Teeth and Lips. Typically a smoothed moving average (SMMA) is used with periods/shifts of (13/8, 8/5, 5/3) for the lines respectively. 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.

Alligator

How To Trade Using Alligator

No trading signals are calculated for this indicator.

How To Access in MotiveWave

Go to the top menu, choose Study>Bill Williams>Alligator

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

Plot1: jaw = ma(method, index + jawShift, input, jawPeriod);
Plot2: teeth = ma(method, index + teethShift, input, teethPeriod);
Plot3: lips = ma(method, index + lipsShift, input, lipsPeriod);