How To Use Alligator Indicator In Your Trading

The alligator indicator is a technical indicator that helps traders identify the direction of the trend and its strength. It consists of three moving averages that represent the jaw, teeth, and lips of an alligator. When the lines converge, it indicates that the alligator is sleeping, and when they diverge, it means the alligator is waking up and ready to hunt. Traders can use this indicator to enter trades in the direction of the trend and exit when the lines start to converge again.

bitcoin alligator indicator

The Alligator indicator was part of the Bill Williams trading system who suggested markets trend only 15-30% of the time. The other times, the market is more in a trading range condition that can be difficult to trade.  Markets trend and market range and the 3 lines of the Alligator indicator, known as the jaws teeth and lips, is designed to alert traders to the presence of either of those market states.

From those states, a trader can determine if they will use a range trading strategy, a trend trading strategy, or wait for a breakout strategy to be used.

What Is The Williams Alligator Indicator?

It is a technical analysis tool that uses a combination of three smoothed moving averages, each displaced into the future, to help traders identify the start and end of trends in the market. The term “displaced” refers to the fact that each moving average is adjusted X bars into the future, which is believed to improve the indicator’s ability to forecast future trend direction.

Traders using the Alligator Indicator can access the complete indicator on popular trading platforms like TradingView, which offers a range of customizable technical analysis tools for your strategies.

How Does The Alligator Indicator Work?

Since the market evolves from trend to range as Williams has stated, we can think of the market much like an Alligator and how it lives in the wild.

Learning how to read the market trend with the alligator indicator is simple:

Market Condition Alligator State Trading Setup
Ranging Sleeping N/A
Showing signs of a trend Waking up N/A
Moving averages start to separate (Alligator hungry) Active and Ready to Hunt Trading setup based on the separation of moving averages

You monitor the condition of the three smoothed moving averages to determine what state the “Alligator” is in.

The default settings of the 3 line of the Alligator Indicator are as follows:

  1. Green moving average = the lips of the Alligator and is set to 5 and displaced into the future by 3 periods (whatever your time frame is)
  2. Red moving average is the Alligator teeth and is set to 8 periods and is pushed 5 periods into the future
  3. Blue represents the jaws of the Alligator and is set to 13 periods and displaced 8 periods into the future

Using a Forex example, this is a daily price chart of the GBPUSD leading into December 2021.


Let’s go over what the indicator looks like in all three stages:

There is no trend in the market

When the three lines are tangled up, there isn’t really a trend to follow. This usually means there isn’t much happening in the market, and it might be a good idea for traders to look for something else to invest in.

It’s not the most exciting time for trading, as there’s low volatility and not much movement. But that doesn’t mean you should give up altogether – just be aware that you might need to switch up your strategy if you want to make some gains.

Possible trend forming

The lips of the Alligator, the green line, is the fastest moving average and will be the first one a trader will want to monitor. You want to see the green line cross both of the slower moving averages. This is a sign that the Alligator is waking up.

We will also see the lips and the jaw start to turn in the direction of the green line. Many traders will enter the market following a candle close above/below all 3 lines at this point.

Trend formed and direction

Considering an up trend, the green line (lips), crosses the red and sometimes the blue line depending on the market state. The red line (teeth) starts to head upwards crossing the blue (jaw) line and we now determine an uptrend is in place.

What Is A Williams Alligator Trading Signal

When the 3 lines of the Alligator indicator are intertwined, the Alligator is sleeping. When an Alligator is sleeping, nothing interesting is going on. The longer the Alligator sleeps, the hungrier it may be when it awakes.

Alligator Indicator Explained

Think of a market that is ranging – we know it will break out and the longer the range continues, the more violent the breakout can be

As the green line starts to cross (the lips opening), we could be looking at an Alligator getting ready to feed. This is the time that you want to be on alert for a trading opportunity.

As the green line continues in one direction, the red line which represents the teeth of the Alligator, begins to separate and move in the same direction – the teeth are opening.

Once the first 2 lines start to pull away from the blue line, the blue line trends in the same direction – the Alligator has opened it’s jaws and is looking to feast. The trader is looking to feast on the price action that is happening.

Stages Of The Alligator Indicator
Stages Of The Alligator Indicator

Long signal:  The lips (green line) cross the teeth (red) and jaws (blue line) to the upside

Short signal:  The lips cross the teeth and jaws to the downside

At this point, you have learned how to setup and use the Williams Alligator to determine the state of the market and the trend direction.

There are several trading strategies you can use and keep in mind that all indicator based strategies do lag the market.

Alligator Indicator Strategies

The indicator alerts us to 3 stages of market development and when understanding those, you can design a simple approach to trading the market:

  1. The Alligator is in a sleeping phase when the 3 lines are intertwined – market is a rest – do nothing – range trade only
  2. The Alligator is waking up when the green line (the lips) crosses the red and blue lines – possible trend forming – look for breakouts
  3. The Alligator is eating when a candle closes above/below all 3 lines – you should be in the market – pullback trading

You must keep in mind that since we are using displaced moving averages, each of the 3 lines will be plotted ahead of price by the factor of the displacement: 3, 5, and 8 periods. This may affect the trading strategies you use.

Trading Ranges and Breakouts

When the Alligator is sleeping, the market is range bound and a range trading strategy may be used which can give you a jump into the market early. Keep in mind that a market that is transitioning from a consolidation to a trend, can give false signals.

You can see in this graphic the 3 lines mixed together. When this occurs, section of the previous high and low and using your entry tactics, trade inside the range.

Range Trading - Alligator Indicator
Range Trading – Alligator Indicator

Also note on the far right, price has broken from the range and pulled back – classic breakout/pullback trade. At the same time, the spacing of the Alligator lines is supporting your short trade.

Trading Pullbacks In Price

Once the lines have shown a direction, you can resort to using a price pattern that is a staple of all traders – pullbacks.

You want to see all lines pointed in the same direction, in order. This example shows a strong uptrend is underway.

Alligator Pullbacks
Alligator Pullbacks

You can determine the length of pullback needed by choosing where price has to pull back to. Here you can see obvious pullbacks that have pulled to the green and red line while the blue kept the upwards slope.

The horizontal line is not a perfect pullback but the tail on the lower green candlestick is a price action reversal near the first pullback low.

On the far right, you can see this pullback failed however there was not break above the yellow line before price began to close under the 3 lines.

Alligator Line Cross

The simplest trading strategy and trade signal for the Alligator is to trade the close of a candlestick after it crosses the lines. I would suggest that traders look at support and resistance to ensure the buy and sell signal is not right into a previous cluster of price.

Candlestick Cross and Close
Candlestick Cross and Close

Note the the green line has crossed over the red to the downside. Remember, these lines are displaced into the future and would have plotted in front of the candlestick we are shorting.

  1. Green line has crossed the red to the downside
  2. Short at the low of the candlestick that closed below all 3 lines
  3. Close your position when a candlestick closes above all 3 lines

As for a stop loss when using the Alligator, consider using a multiple of the average true range or use previous swing high and lows.

Frequently Asked Questions

How does the Alligator indicator work?

The Alligator indicator uses a combination of moving averages to determine whether there is a trend or not. It helps traders identify the start and end of trends in the market.

What indicators complement the Alligator indicator?

The MACD, RSI, and stochastic oscillator are some indicators that complement the Alligator indicator in trading.

What are the pros and cons of the Alligator indicator in trading?

The Alligator indicator is a useful tool for identifying trends, but it can also produce false signals during choppy market conditions.

What are some popular Alligator indicator strategies?

Popular strategies for using the Alligator indicator include trading ranges and breakouts, pullbacks in price, and cross of the Alligator lines.

How do you effectively trade with the Alligator indicator?

To trade effectively with the Alligator indicator, traders should consider using it in conjunction with other technical analysis tools, setting stop-loss orders, and taking into account market conditions and news events.


The most important part of the Bill Williams Alligator is when the 3 lines are mixed together. This is when the Alligator is considered to be sleeping and no trading signals are present. You should keep these instruments on your radar especially if price action is hinting at an increase in momentum. The best time to get on board a trend move is just before it happens.  This is one of the better trend indicators out there if you are looking for both range trading and with trend setups.

While you may not be able to pick the exact price the trend begins, getting in as close to the beginning as possible should be your goal.

When the Alligator is feeding, watch for pullbacks against the main trend direction and trade those moves with a pullback strategy.

As with any trading strategy, it is vital that you test it, lay out a trading plan, and ensure risk management is priority one. Trading the financial markets is not as easy as many make it out to be.

Trading With Overused Technical Indicators?

Try something different and get the “Ultimate Guide to Price Pattern Trading” ABSOLUTELY FREE!
Learn how to trade with precision accuracy, find ideal entry points with low risk, and create a lifetime of trading income using patterns and price action.
Download your FREE guide now
Start mastering the art of successful trading!

Updated:  May 2023

Author: CoachShane
Shane his trading journey in 2005, became a Netpicks customer in 2008 needing structure in his trading approach. His focus is on the technical side of trading filtering in a macro overview and credits a handful of traders that have heavily influenced his relaxed approach to trading. Shane started day trading Forex but has since transitioned to a swing/position focus in most markets including commodities and futures. This has allowed less time in front of the computer without an adverse affect on returns.


  • Bruno

    Thanks a lot for the teaching

  • John

    Great video. What time frame do you suggest?

    • Hey John. I personally trade daily charts. Any timeframe you choose, make sure to test it. With moving averages on lower time frames, you can get a ton of whip back and forth.

  • ASHOK V.

    Thanks for explaining Alligator indicator in detail ! It has increased my knowledge & hoping, it can increase my profit too !!



  • LimorN

    i use yahoo fiancé and i try to figure out stuff, and some i follow, but the alligator i couldn’t figure out, so i deleted it. now i put it back and it’s nice. i have with bb bands, and moving averages. so thanks.

  • Brian Nyandiko

    personally i love and you use it,Anyway thanks for explaining Alligator indicator in detail ! It has increased my knowledge & hoping, it can increase my profit too !!


    Great teaching on the Gator – even though i am a BUCKEYE. Question: I get a bit mixed up on which time frame is best for swing and day trading. Your thoughts please.
    Thank you very much. g.m.

    • Appreciate the words Gary. Not to be glib but there isn’t a best anything. As well, if you’ve read some of my other pieces, swing trading is not a time (in my opinion), but is exactly what is says: swing trading. Trading one clean swing the instrument. Given that, a 5 minute swing is going to be a lot smaller, generally, than a daily chart swing. Make sense? For the record, I trade setups off the daily charts and have been for many years. I will use 15-60 for an entry at times. In my day trading days, I generally used range, tick and volume bars.

Comments are closed.