Three colored lines of the Alligator indicator tracking price movement on a chart

Alligator Indicator Explained: A Beginner's Guide

Learn how the Alligator indicator identifies market trends and filters out sideways chop. Read the full guide.

By Trader Faculty Team

Direct Answer

The Alligator indicator is a technical trend-following tool that uses three smoothed moving averages offset into the future to identify trend direction. By tracking the Jaw, Teeth, and Lips lines as they intertwine or fan out, traders can tell when a market is consolidating and when a new breakout is forming. This visual separation helps traders ride directional moves while staying on the sidelines during flat market conditions.

The Alligator indicator is a technical analysis tool created from three smoothed moving averages that are shifted forward into the future to identify trend direction and separate trending moves from choppy market consolidation.

Many new traders get caught trading during flat, quiet markets, taking repeated losses from sudden reversals before a clean move begins. This tool was designed to help you avoid that sideways chop by showing when a market is resting and when it starts to move. This guide breaks down how the indicator works, how to read its lines, and how to spot common trading traps.

Quick Takeaways

  • The Alligator indicator uses three smoothed moving averages with forward time shifts to filter market noise and spot trend direction.
  • Its core value lies in keeping traders out of sideways ranges by signaling when the market is resting rather than trending.
  • Bullish trends appear when the green line sits on top, while bearish trends push the green line to the bottom.
  • Moving average lines lag live price action and produce frequent false signals if used on their own in choppy conditions.

What Is the Williams Alligator Indicator?

The Williams Alligator indicator is a trend-following tool developed by trader Bill Williams in 1995 to help traders catch sustained directional trends while avoiding sideways consolidation.

In his book Trading Chaos, Williams noted that financial markets spend roughly 70% to 85% of their time moving sideways and only 15% to 30% of their time in strong directional trends. To trade profitably without giving gains back during quiet periods, traders needed a visual filter that separated active trends from flat ranges.

According to the CFA Institute, moving average indicators smooth price data to help analysts isolate underlying market trends. The Alligator indicator builds on this concept by combining three smoothed moving averages — that is, moving averages that give older price bars weight without sudden drops — and shifting them forward in time.

Instead of using the standard closing price, the indicator calculates its lines using the median price of each bar:

Median Price = (High + Low) / 2

The three lines are named after the anatomy of an alligator to make their behavior easy to remember:

  • The Jaw (Blue line): A 13-period smoothed moving average shifted 8 bars forward. This represents the slowest baseline of market balance.
  • The Teeth (Red line): An 8-period smoothed moving average shifted 5 bars forward. This reflects intermediate trend momentum.
  • The Lips (Green line): A 5-period smoothed moving average shifted 3 bars forward. This tracks short-term price momentum and turns first when direction shifts.

The forward shift — also called an offset — pushes each line to the right of current price action. This intentional displacement slows the indicator down, filtering out brief spikes and making it harder for brief market noise to trigger a false trend signal. Having the Alligator indicator explained in terms of its underlying math helps traders see it as an objective trend filter rather than a mystical system.

How the Alligator Indicator Works: The Three Phases

Chart showing the sleeping, waking, and eating phases of the Alligator indicator

This indicator shows market momentum by expanding and contracting its three lines across distinct behavioral phases.

Williams used the metaphor of a hunting alligator to describe how markets move between quiet consolidation — sideways price movement within a tight range — and explosive directional breakouts:

Sleeping Phase (Consolidation)

During this phase, the Jaw, Teeth, and Lips are tightly intertwined and moving horizontally, with price sitting close to all three lines. In market terms, this shows low volatility and an absence of directional bias. The longer the alligator sleeps, the more energy the market builds for its next expansion. For traders, this is a clear signal to stand aside, protect capital, and avoid breakout setups that are prone to a whipsaw — a false breakout where price reverses immediately.

Waking Phase (Trend Formation)

When price begins to break away from the range, the Green Lips cross over the Red Teeth and Blue Jaw. The three lines begin to untangle and point in a common direction. This phase signals that buyers or sellers are stepping in with conviction, warning traders that a new trend may be starting.

Eating Phase (Trend Expansion)

As momentum builds, the three lines fan out and travel parallel to one another. During an uptrend, the Green Lips stay on top, the Red Teeth remain in the middle, and the Blue Jaw stays at the bottom; in a downtrend, this order flips completely, and the wider the lines spread, the stronger the directional trend. As long as the lines remain wide and open, the alligator is feeding and traders can look to hold their trend-following positions.

Sated Phase (Trend Slowing)

Eventually, price momentum cools. The lines stop widening and begin to curl back toward each other. When the faster green line crosses back over the red line, the alligator is considered full or sated. This convergence warns traders that the current trend is losing steam and that a fresh period of sideways consolidation is likely around the corner.

How to Use the Alligator Indicator in Trading

Learning how to use Alligator indicator setups requires treating the tool as a directional trend filter rather than an automated trade entry trigger.

Because moving averages lag behind live prices, buying or selling the instant lines cross often leads to late entries. Instead, traders use the indicator to set directional bias, identify pullback opportunities, and manage open risk:

  • Establish Directional Bias: Only take long positions when price trades cleanly above all three open lines and the lines are ordered Green (top), Red (middle), and Blue (bottom). Look for short setups only when price trades below all three lines with Green at the bottom. Some traders also cap how much of the account they risk on a single setup, so one false breakout doesn't do lasting damage to the portfolio.
  • Trade Pullbacks to the Teeth or Jaw: Rather than chasing extended moves, wait for price to retrace back toward the Red Teeth or Blue Jaw during an active eating phase. These lines frequently act as dynamic support and resistance — support and resistance levels that move as price updates — offering entries with clearer risk boundaries.
  • Trail Protective Stops: The indicator provides clear visual markers for stop-loss placement. When riding an uptrend, many traders keep their trailing stop just below the Red Teeth for tighter risk, or below the Blue Jaw to give the trade wider room to breathe.

To improve reliability, experienced traders never use the Alligator in isolation. Pairing the Alligator with a momentum tool like the Aroon indicator helps confirm whether a waking crossover has enough buying or selling power to turn into a sustained move. If the Alligator lines start to fan out while the Aroon Up line reaches 100, the probability of a genuine trend breakout is far higher than if the crossover happens with weak momentum.

Tip💡
Many traders lose patience when the Alligator stays intertwined for days, and they end up taking low-quality trades out of boredom. Waiting for the lines to fully fan out and confirm a clear directional gap keeps you out of choppy ranges where small accounts slowly bleed capital.

Alligator Indicator vs. Standard Moving Average Crossovers

This trend filter differs from traditional moving average crossover systems by incorporating forward bar displacement and calculating averages from median prices rather than closing prices.

While a standard two-line exponential moving average (EMA) or simple moving average (SMA) crossover focuses primarily on generating trade signals when two lines intersect, the Alligator was designed to identify market condition first and foremost.

FeatureWilliams Alligator IndicatorStandard 2-Line Moving Average
Price InputMedian Price ((High + Low) / 2)Close Price
Line SmoothingSmoothed Moving Average (SMMA)Simple (SMA) or Exponential (EMA)
Time OffsetShifted forward (8, 5, 3 bars)Zero shift (aligned with current bar)
Primary FunctionMarket phase and trend filterEntry and exit crossover trigger
Lag ProfileHigher lag to filter consolidationLower lag with more false signals

The forward offset on the Alligator intentionally delays crossover signals. While this delay means you will not catch the exact bottom or top of a move, it reduces the number of false breakouts you face compared to standard, unshifted moving averages.

Common Mistakes When Trading with the Alligator Indicator

The most common mistakes when trading with the Alligator indicator come from misunderstanding its lagging design and misreading the sleeping phase.

Trading Every Crossover in a Range

When price moves sideways, the three lines cross over each other repeatedly in a tight space. Treating each cross as a fresh trade signal causes severe whipsaws, leading to a string of rapid losses. If the lines are not angled and spreading apart, there is no trade.

Entering Trades When Lines Are Overextended

When the gap between the Green Lips and the Blue Jaw becomes unusually wide, the move is often near exhaustion. Buying at the peak of an expansion leaves your stop-loss far away, giving you a poor risk-to-reward ratio just as price is ready to snap back.

Expecting the Indicator to Predict Turns

The Alligator is a lagging trend-following tool, not a predictive crystal ball. It reacts to past price movement and cannot forecast news events, sudden liquidity shocks, or sharp market reversals.

Conclusion

This tool gives traders a structured, visual method to determine whether a market is trending or resting in a choppy range. By waiting for the three smoothed lines to wake up and expand before entering, you can align your positions with dominant momentum while avoiding unnecessary trades during flat consolidation. To build a well-rounded strategy, explore how other technical indicators measure volume and volatility alongside trend direction. Trading always carries the risk of losing money, so treat this indicator as an educational guide to help your market analysis rather than a promise of trading results.

Frequently Asked Questions

Is the Alligator indicator a leading or lagging tool?

The Alligator indicator is strictly a lagging tool. Because it is calculated using past median prices and shifts the smoothed moving average lines several bars into the future, it cannot predict market tops or bottoms before they occur. Instead, its purpose is to confirm an established directional trend and filter out choppy consolidation once momentum has already started moving.

What are the best timeframe settings for the Alligator indicator?

The Alligator indicator was designed to work across all timeframes using Bill Williams' standard default settings: 13, 8, and 5 periods with 8, 5, and 3 forward bar shifts. Swing traders frequently apply it to daily or four-hour charts where trends last longer and market noise is lower, while day traders use it on shorter charts alongside volume or momentum filters to confirm intraday moves.

How is the Alligator indicator different from the Williams Fractals indicator?

The Alligator indicator is a trend-following filter that shows overall market direction and momentum through three smoothed moving averages. In contrast, Williams Fractals are breakout markers that highlight local price highs and lows across five-bar patterns. Bill Williams designed both tools to work together, using the Alligator to establish the trend direction and Fractals to pinpoint specific breakout entry triggers.

Why does the Alligator indicator produce false signals in sideways markets?

During sideways consolidation, price repeatedly moves up and down across a narrow horizontal band. Because moving averages track average past price, the Jaw, Teeth, and Lips lines cross over each other constantly in a tight cluster. Trading these frequent line crosses as breakout signals results in whipsaws and repeated losses, which is why traders treat an intertwined Alligator as a signal to stay out of the market.

Can the Alligator indicator be used as a standalone trading system?

Relying on it alone is not recommended. While it excels at identifying whether a market is trending or resting, moving average crossovers lag live prices and do not measure volume or trade exhaustion. Pairing the Alligator with complementary technical tools, such as momentum oscillators, support and resistance levels, or candlestick price action, creates a much more balanced strategy.

Keep learning

TA Masterclass

Reading charts one article at a time? Get the full method, in order.

10 lessons quiz

Start TA Masterclass
TF
Trader Faculty Team

The Trader Faculty Team writes and reviews every guide together — pairing hands-on market experience with a curriculum-first approach to trading education. One good syllabus, taught in the order that makes you better.