The Alligator Forex strategy—developed by Bill Williams—uses three smoothed moving averages to help traders identify trending markets, filter out range-bound noise, and time entries and exits. This guide covers how the Alligator works, how to read its signals, where to source reliable data, which timeframes to use, and how to manage risk when applying the strategy to currency trading.
The Alligator Forex strategy is a trend-following approach introduced by the late trader and author Bill Williams in his book Trading Chaos (1995)[reference:0]. Williams designed the Alligator indicator to help traders distinguish between trending and non-trending market conditions. The core metaphor is simple: financial markets spend most of their time ranging (the Alligator sleeping) and only trend about 15–30% of the time[reference:1][reference:2]. The longer the Alligator sleeps, the hungrier it becomes—and the stronger the eventual trend is likely to be[reference:3].
The indicator consists of three smoothed moving averages (SMMA) that Williams called “balance lines”[reference:4][reference:5]:
These three lines are based on Fibonacci numbers (5, 8, 13) and are shifted into the future to reduce noise and provide a clearer view of the underlying trend[reference:8][reference:9]. The strategy does not rely on price crossing the moving averages in the conventional way; instead, it focuses on the relationship between the three lines and their divergence or convergence.
The Alligator indicator is calculated using the median price of each bar (High + Low) / 2,
then applying a smoothed moving average (SMMA) with the periods and shifts described above[reference:13].
Most trading platforms—MetaTrader 4, MetaTrader 5, TradingView, and cTrader—include the Alligator as a
built-in indicator, so you do not need to calculate it manually[reference:14][reference:15].
The three lines move at different speeds. The Lips (green) react fastest to price changes, the Teeth (red) are intermediate, and the Jaw (blue) is the slowest[reference:16]. When these lines are intertwined and close together, the Alligator is “sleeping”—the market is in a consolidation or range-bound phase[reference:17][reference:18]. When the lines diverge and fan out in the same direction, the Alligator is “awake” and “eating”—a strong trend is in progress[reference:20].
Bill Williams advised traders to follow a simple rule: “Don't trade when it sleeps, bite when it opens its mouth, and collect your profits when it closes.”[reference:21][reference:22] This means you should only enter trades when the Alligator lines are clearly diverging and pointing in the same direction, and you should exit when they begin to converge again.
A bullish signal occurs when the Alligator lines are arranged from top to bottom as: green (Lips) > red (Teeth) > blue (Jaw)[reference:23][reference:24]. The price should be trading above the Alligator's mouth. This configuration indicates that the market is in an uptrend, and traders may consider opening long positions[reference:25].
A bearish signal appears when the lines are ordered as: blue (Jaw) > red (Teeth) > green (Lips)[reference:26][reference:27]. The price trades below the Alligator's mouth. This signals a downtrend, and traders may consider short positions.
When the three lines are intertwined and crisscrossing, the Alligator is sleeping. This indicates a ranging or consolidating market. Bill Williams recommended staying out of the market during these periods[reference:28][reference:29]. Trading during the sleeping phase often leads to whipsaws and losses.
Scenario: EUR/USD on the H4 timeframe
You observe that the Alligator lines have been intertwined for several days—the Alligator is sleeping. Suddenly, the green line (Lips) crosses above the red (Teeth) and blue (Jaw) lines, and the three lines begin to fan out in the order green > red > blue. The price breaks above the Alligator's mouth and closes with a strong bullish candle.
Entry: You enter a long position at the market open after the breakout candle closes, or you place a buy stop order above the recent fractal high[reference:32].
Stop-loss: You place your stop-loss below the Alligator's Jaw (blue line) or below the most recent swing low, whichever gives a reasonable risk distance.
Take-profit / Exit: You hold the position while the Alligator lines remain diverging and the price stays above the Lips. When the green line begins to turn back toward the red line or crosses below it, you close the trade to lock in profits[reference:34].
Outcome: The trend continues for several days, and you capture a significant portion of the move. By exiting when the Alligator shows signs of “closing its mouth,” you avoid giving back profits when the trend exhausts.
This example illustrates the core logic: wait for the Alligator to wake up, enter with the trend, and exit when it goes back to sleep.
To apply the Alligator Forex strategy effectively, you need reliable, low-latency price data for your chosen currency pairs. Most retail traders obtain data through their forex broker's trading platform (MetaTrader 4/5, cTrader, or proprietary web platforms). These platforms typically provide real-time and historical OHLCV (Open, High, Low, Close, Volume) data[reference:35].
For those who prefer independent data sources, the following are commonly used:
The Alligator strategy can be applied to any timeframe, but the choice of timeframe significantly affects the quality of signals. Bill Williams originally designed the indicator for longer-term trend following, and many traders prefer the H4 (4-hour) or D1 (daily) timeframes for more reliable signals[reference:38].
Produce fewer but more reliable signals. The Alligator sleeps longer, and when it wakes up, the trend tends to be more sustained. Suitable for swing traders and position traders.
Produce more frequent signals but also more false signals due to market noise[reference:39]. Some short-term traders use lower timeframes with additional confirmation from other indicators such as CCI or Fractals[reference:40].
A common multi-timeframe approach is to use a higher timeframe to determine the trend (e.g., H4 or D1) and a lower timeframe for entry timing (e.g., H1 or M30)[reference:41]. This helps align your trades with the dominant trend while improving entry precision.
The table below summarizes the key decision criteria when using the Alligator Forex strategy. Use it as a quick reference for evaluating potential trades.
| Market Condition | Alligator Lines | Price Position | Recommended Action |
|---|---|---|---|
| Sleeping (Range) | Intertwined / crisscrossing | Inside or near the lines | ❌ No trade |
| Bullish Trend | Green > Red > Blue (diverging) | Above Alligator's mouth | ✅ Consider long |
| Bearish Trend | Blue > Red > Green (diverging) | Below Alligator's mouth | ✅ Consider short |
| Trend Exhaustion | Green line turning back toward Red | Approaching or crossing the lines | ⏳ Exit / take profit |
| Fake Cross | Green crosses Red then reverses | Price rejects the crossover | ⏳ Wait for confirmation |
Fake crosses occur when the green line briefly crosses the red line but then turns back. If such a cross happens during an existing trend, you may consider entering once the green line returns above (for uptrends) or below (for downtrends) the red line[reference:45][reference:46].
Before entering a trade using the Alligator Forex strategy, run through this checklist:
According to the Commodity Futures Trading Commission (CFTC) and the National Futures Association (NFA), retail forex traders should be aware that past performance is not indicative of future results, and no strategy guarantees profits. The NFA provides investor education resources on forex trading risks, and traders are encouraged to review these materials before trading【CFTC/NFA investor education】.
Trading forex carries a high level of risk and may not be suitable for all investors. Leverage can work against you as well as for you, and you may lose more than your initial investment. The Alligator Forex strategy, like all technical analysis tools, does not guarantee profits and is subject to market volatility, liquidity, and other risks.
This guide is for educational purposes only and does not constitute financial, legal, or tax advice. Always consult with a qualified financial advisor before making any investment decisions. Past performance does not guarantee future results.
Readers are strongly encouraged to verify all current rules, fees, spreads, rates, broker availability, and platform terms with the relevant authority or provider. The Financial Industry Regulatory Authority (FINRA) and the Federal Reserve provide educational materials on exchange-rate risks and forex market structure that can help traders better understand the environment in which they are operating.
Never risk more than you can afford to lose.