Overview
What is Williams Alligator Indicator?
The Alligator indicator, developed by Bill Williams, consists of three Smoothed Moving Averages (SMAs) with distinct periods and forward offsets, each named after parts of an alligator: the Jaw (13-period SMMA, shifted 8 bars forward), the Teeth (8-period SMMA, shifted 5 bars forward), and the Lips (5-period SMMA, shifted 3 bars forward).
The metaphor is apt: when all three lines are intertwined and flat, the alligator is "sleeping" — the market is ranging and not suitable for trend-following strategies. When the lines diverge and begin to separate, the alligator is "awakening" — a trend is beginning. When the lines are widely spread and moving together, the alligator is "eating" — the trend is in full swing and momentum is strongest.
Trading rules: enter long when the Lips cross above the Teeth, which crosses above the Jaw (all three lines fanning upward). Enter short when the Lips cross below the Teeth, which crosses below the Jaw. Exit when the lines begin to converge again (the alligator is "sated"). The beauty of the indicator is that it simultaneously identifies both trend direction and trend strength.
The offset feature is key: the forward shift means each line represents what would have been the average of those bars projected forward in time — making the Alligator a unique leading/confirming indicator hybrid rather than a purely lagging one.