Indicator reference › Alligator
The Alligator, created by Bill Williams, uses three smoothed moving averages of different lengths — the Jaw (13-period), Teeth (8-period) and Lips (5-period), each shifted forward in time — to visualize whether a market is trending ("awake and eating") or ranging ("asleep"). The metaphor: when the three lines are tangled together, the alligator is sleeping; when they fan out in order, it has woken up and is feeding on a trend.
When Lips, Teeth and Jaw are tangled and overlapping, the market is ranging/consolidating — a low-opportunity period for trend strategies. When the lines separate and align in order (Lips above Teeth above Jaw for an uptrend, or the reverse for a downtrend), a genuine trend is underway and typically has room to continue.
Designed as a market-regime filter first and a trend-direction tool second — its main job is telling you WHEN to apply trend-following methods, not just which direction. Works on any timeframe, part of Bill Williams' broader trading system alongside the Awesome Oscillator and Fractals.
ADX — Average Directional Index
Supertrend
Ichimoku Cloud
Aroon Indicator
A reading of Alligator can be written as an exact rule and checked against historical data — as a full strategy with entries, exits and costs, or as a single condition and what followed it:
How to backtest a trading strategy without code
Event analysis: what follows a market event
Plot it yourself. Add this indicator to a chart, change every parameter and watch the line move, then backtest how the rule would have behaved on historical data — free on the S&P 500 ETF, no card.
Create a free account or start with the lessons →