WilliamsAlligator

Description

The Williams Alligator study is a moving average based trend-following indicator. It consists of three lines: Jaw, Teeth, and Lips, each being a moving average of price. Jaw line is the slowest average shifted by longest distance forward. Teeth and Lips averages use smaller periods and forward displacements, with Lips being the fastest of the three and shifted by shortest distance.

Arrangement of the lines is used for trend detection: in uptrend conditions, Lips line is higher than Teeth line which is in turn higher than Jaw; reverse order of lines is indicative of downtrend. When the three lines join together, it might indicate a buying or selling opportunity, depending on the preceding trend.

Input Parameters

Parameter Description
price The price used in calculation of averages.
jaw length The number of bars used in calculation of Jaw average.
teeth length The number of bars used in calculation of Teeth average.
lips length The number of bars used in calculation of Lips average.
jaw displace The displacement of the Jaw average, in bars. Negative values signify a forward displacement.
teeth displace The displacement of the Teeth average, in bars. Negative values signify a forward displacement.
lips displace The displacement of the Lips average, in bars. Negative values signify a forward displacement.
average type The type of moving average used in calculations.

Plots

Plot Description
Jaw The Jaw average plot.
Teeth The Teeth average plot.
Lips The Lips average plot.

Example*

*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.