Bill Williams’ Alligator is three smoothed moving averages, shifted forward, that look like a pair of jaws on the chart. When the mouth opens, “the alligator woke up and went hunting”: you enter with the trend. When the mouth closes, it’s asleep: you stay out. The indicator comes with every MetaTrader, and people love it for how visual it is: in the history, every big trend looks like an open mouth. I wrote a robot with Williams’ rules and ran it on seven markets over 72 months. I’ll show you what came out and which robot makes more sense to use instead.
- The classic barely makes money. The Alligator on D1 over 72 months: BITCOIN +36.1%; on the other six markets, from +10.2% to −5.2%. Almost all of bitcoin’s profit came from a single trade in early 2021.
- The reason: the mouth opens too often. Most of the “awakenings” are short impulses that end at the stop. Only 22% to 46% of trades close in profit.
- Optimization didn’t save it: on BITCOIN H4 the best parameter set earned +45.7% in the forward test, but a single trade in August 2026 gave more than the entire forward period. Without it, the two unseen years would have ended in the red, and before that trade the balance went 14.5 months without a new high.
- What works better: the Williams fractals robot, from the same “Trading Chaos” system: +203.5% in 72 months on USDJPY H4 with a 7.3% drawdown, and +47.3% in the forward test with a profit factor of 1.96.
📊 Download the “Williams Fractals” robot for free, the one that actually works

The strategy rules
Bill Williams described the Alligator in his book “Trading Chaos” (1995) and developed it further in “New Trading Dimensions”. The indicator consists of three smoothed moving averages (SMMA) on the median price, each shifted forward:
- Jaw (blue): SMMA 13, shifted 8 bars. Teeth (red): SMMA 8, shifted 5. Lips (green): SMMA 5, shifted 3.
- Buy: when the mouth opens upward: the Lips above the Teeth, the Teeth above the Jaw, and the candle closes above the Lips. Entry at the open of the next candle.
- Sell: the mirror image: the Lips below the Teeth and the Teeth below the Jaw.
- Exit: when the Lips cross back through the Teeth: according to Williams, the alligator has “eaten” and goes back to sleep.
- Stop: 2 ATR from the entry, in case of a sharp reversal. Position size: based on a risk of 1% of the balance per trade.
Williams used the Alligator together with fractals and oscillators, but he gave it the leading role: it shows whether the market is trending. The classic timeframe is D1.
What it looks like on the chart
Below are two real trades from the robot, from the best parameter set the optimizer found on BITCOIN H4 (Alligator 10/6/3, buys only), both from the forward period. The yellow circle marks the moment the mouth opened.

The trade that makes many people like the Alligator. On August 18, 2026, after a week of ranging, the lines opened upward. The robot bought bitcoin at 64,265, with a stop at 63,881, 1 ATR from the entry. In three days the price rose more than 20%, the Lips pulled far away from the Teeth, and the robot held the trade until August 27, when the Lips dropped below the Teeth. Exit at 78,650: +$5,754, more than the robot earned in the entire two years of the forward test.

The trade that eats those wins. On March 2, 2025, bitcoin rose almost 10% in a single candle, and by the morning of March 3 the mouth had opened upward. The robot bought at 93,337, with a stop at 91,491. In less than an hour the price collapsed and hit the stop: −$148. Most of the system’s trades look like this: only 31% closed in profit, and in 2025–2026 there were 9 losses in a row.
By hand it looks like this: add the standard Alligator indicator to the chart. When the green line rises above the red, the red above the blue, and the candle closes above the green, buy at the open of the next candle, with the stop 2 ATR below the entry. Close when the green line drops below the red. In the history it’s easy to find open mouths that produced a big trend. The hard part is telling them apart in advance from the ones that close within a few hours.
How I ran the test
MetaTrader 5 Strategy Tester, FxPro demo account with its quotes, spreads, commissions and swaps. Period: October 2020 to October 2026, 72 months. $10,000 deposit, 1:500 leverage, “1 minute OHLC” mode. Why exactly 72 months, I’ll tell you at the end of the article.
The Alligator over 72 months: positive only where there was a big trend

| Instrument (D1) | Result | Profit factor | Max drawdown | Trades |
|---|---|---|---|---|
| BITCOIN | +36.1% | 1.98 | 14.9% | 71 |
| USDJPY | +10.2% | 1.50 | 7.1% | 52 |
| GOLD | +8.5% | 1.87 | 13.1% | 32 |
| GBPUSD | −0.2% | 0.99 | 6.9% | 50 |
| EURUSD | −0.9% | 0.96 | 7.7% | 55 |
| USDCHF | −3.4% | 0.88 | 13.0% | 61 |
| WTI (oil) | −5.2% | 0.70 | 9.9% | 41 |
Over six years on daily charts there were 32 to 71 trades per market. The classic doesn’t manage to burn the deposit, but it doesn’t manage to make money either: on four markets out of seven it ends up near zero or in the red, and bitcoin’s profit is a single step in January 2021, when it multiplied several times over. There are three reasons:
- False awakenings. The Alligator’s lines are smoothed averages and they separate after any notable move. Most of those “open mouths” are short impulses, and the trade closes at the stop or on the first pullback.
- Late entry. The forward shift makes the indicator look clear, but not fast: by the time the three lines line up, a notable part of the move has already happened.
- Swaps. Trades last several days, and carrying positions from one day to the next takes its share: on bitcoin, $1,572 over six years; on USDCHF, $643.
On H4, where there are more trades, the classic looks even worse: on BITCOIN H4, +10.4% in 72 months with a 40.7% drawdown.
What if optimization saves it?
I let the optimizer go through what is normally changed on the Alligator: the periods of the three lines, the minimum mouth opening at entry (to filter out the weak “awakenings”), the exit on the Lips–Teeth cross or on a close beyond the Jaw, a stop of 1 to 3 ATR, take profit, buys only or both sides. Markets: BITCOIN and USDJPY on H4. The optimization was done only on 10/2020–09/2024, and afterward I checked what it found on 10/2024–09/2026, months the optimizer never saw. The best result came on bitcoin:
- Of 80 profitable sets in training, 57 stayed positive in the forward test; at first glance, not bad.
- The best set: Alligator 10/6/3, buys only, entry only if the mouth is open at least 0.75 ATR, 1 ATR stop. In training, +47.8% with a profit factor of 1.83; in the forward test, +45.7% with a profit factor of 2.71. Over the full 72 months, +116.4% with a 15.8% drawdown.
- But all that profit is a handful of trades. 5 trades out of 108 gave almost 90% of the gains, and one, the August 2026 trade, gave +$5,754, more than the entire forward test (+$4,572). Without it, the two unseen years would have ended in the red.

On the chart you see it right away: before the last step, the balance spent 14.5 months, from June 2025 to August 2026, without a new high, sliding down little by little. Only 31% of trades closed in profit; the longest streak was 10 losses in a row. Bitcoin swaps took $1,849 over 72 months. A robot like this is a lottery ticket: for months it hands its money to the stops and waits for one big trend. If it catches it, you get a nice step up; if not, a year of losses. I don’t recommend this set: the forward result depends on a single trade, not on a stable edge.

What to use instead of the Alligator: robots that passed the test
If you like Williams’ system, use the fractals robot, its second part. It passed the test on data the optimizer didn’t see and doesn’t win on a single trade: in the test it finished in the green every full year from 2021 to 2026.
| Robot | Over 72 months | Max drawdown | Forward 10/2024–09/2026 |
|---|---|---|---|
| Williams Fractals, USDJPY H4 | +203.5% | 7.3% | +47.3%, profit factor 1.96 |
| EMA 13/50 crossover, USDJPY H1 | +310.9% | 24.8% | +36.9%, profit factor 1.43 |
| Previous day high breakout, USDJPY H1 | +120.8% | 13.6% | +32.8%, profit factor 1.49 |
| For comparison: the classic Alligator (7 markets, D1) | from +36.1% to −5.2% | up to 14.9% | — |
📊 Download the “Williams Fractals” robot for USDJPY
📊 Download the “EMA Crossover” robot for USDJPY
Where to run them and how to download them
The robots work on MetaTrader 5 with any broker. My test was done on FxPro. The other brokers in my ranking also work: RoboForex and Tickmill. The robots are free for clients of these brokers:
- Open a MetaTrader 5 account with one of the brokers above (or use the one you already have).
- Go to the Telegram bot with the button and send your account number.
- After verification, the bot sends you the file: the robot, ready-made parameters and instructions. Run it in your broker’s tester, it takes you an afternoon, and put it live on a VPS.
If you want to test the Alligator yourself, the bot also has the “Alligator” robot, with the classic and the optimized parameters, to experiment with in the tester. It’s not something to put on a real account.
My conclusion
The Alligator explains the market very well after the fact: on any chart you can see where the mouth opened and where the alligator “ate”. But over 72 months you see something else. The mouth opens after any notable move, most signals are short impulses, and the system lives off huge, infrequent trends. Over six years the classic stayed near zero on six markets out of seven, and the best optimized set on bitcoin made its forward test with a single trade, after 14.5 months without a new high. Protect your deposit: waiting for the next big trend with a robot that the rest of the time hands its money to the stops is expensive. To trade, use a robot that has passed the test, for example the Williams fractals robot: the same “Trading Chaos” system, but with an edge verified in the current market.
Today I also published the analysis of the “Williams Fractals” robot, which passed the test on USDJPY. Other trend indicators I’ve tested: Ichimoku, Parabolic SAR + ADX, Supertrend and the triple EMA 4/9/18.
Why 72 months?
The market changes fundamentally every 3–5 years: the participants and the volatility change, and trends give way to ranges. That’s why I don’t run 10–20 year tests: they mix different markets into a single average figure, and after the market changes you have to change the strategy anyway. The Alligator is a clear example. Williams created it for the futures markets of the 90s, where trends lasted months. In 2020–2026 long trends were rare: bitcoin had a few runs, and currencies moved more in ranges. And the same system lived off a single trade on some markets and sat still on others. You have to trade the market that exists today.
To look for strategies for the current market I built my app “Find your strategy”, in the browser or in Telegram. There you can test any idea on a history of up to 72 months, and every 2 weeks the app runs tens of thousands of strategies on its own and shows you the ones that work over the last 6, 12 and 36 months. It doesn’t promise profits: it helps you notice in time that the market has changed and that an old idea has stopped working.
Backtest results do not guarantee future results.
Sources
- Bill Williams: “Trading Chaos: Applying Expert Techniques to Maximize Your Profits” (Wiley, 1995), the Alligator indicator and the entry and exit rules.
- Bill Williams: “New Trading Dimensions: How to Profit from Chaos in Stocks, Bonds, and Commodities” (Wiley, 1998), the Alligator within the trading system together with fractals.
- Own tests in MetaTrader 5 on the FxPro demo server, November 2026.
Where to trade
These are the brokers and exchanges I use that work with clients from Latin America. Always check that the service is available in your country and start small.
Risk warning: CFDs, Forex and crypto derivatives carry a high risk of losing money due to leverage. This article is not investment advice.


