Alan Ross

Alan Ross Forex

Free Forex Indicators, MetaTrader Tools and Honest Trading Guides

Manual Strategies

Alligator vs Moving Average Crossover: EMA 9/21 Came First 86% to 93% of the Time and Passed on 2 of 4 Charts, the Wake-Up Signal on None

Key takeaways

  • I put the Bill Williams Alligator against two plain EMA crossovers, 9/21 and 5/13, on EURUSD and gold, M5 and M15, with the same exit and the same cost for every rule.
  • The EMA 9/21 cross came before the Alligator woke up 86% to 93% of the time, by a median of 5 bars. The Alligator’s own lines without the shift came first 85% to 88% of the time, by 3 bars.
  • EMA 9/21 passed all three checks on 2 of 4 charts (EURUSD M15 and gold M5). The Alligator awakening passed on none, and its lips and teeth cross passed on 1.
  • Head to head, the Alligator awakening and EMA 9/21 each won on 2 charts. The faster EMA 5/13 lost after cost on all 4.
  • Nothing beat the spread on EURUSD M5: every one of these four rules lost there, from -0.86 to -1.68 pips a trade.

Under the jaws and teeth, the Alligator is three moving averages. Lengths 13, 8 and 5, a smoothed average instead of an exponential one, and a shift to the right. So the honest question for anyone deciding between the two is simple: does all that dressing make it any better than the moving average crossover you already know?

I took the same three ideas a trader would use in practice. The Alligator “wakes up” when its lips, teeth and jaw become stacked in order. An EMA 9/21 cross is the common swing setting from moving average settings for MT4. EMA 5/13 uses two of the Alligator’s own lengths, without the smoothing and the shift. How the Alligator behaves by itself is in Alligator indicator tested.

How was the comparison set up?

A trading screen with moving average lines over the price chart
  • Data: EURUSD M5 from June 3 to August 26, 2026, 16,926 bars; gold M5 from June 16 to August 26, 13,736 bars; M15 built from them.
  • Rules: Alligator 13/8/5 with shifts 8/5/3, entering when it wakes up; the Alligator’s lips crossing its teeth; EMA 9 crossing EMA 21; EMA 5 crossing EMA 13. All on the closed bar.
  • Exit and pass: stop 1.5 ATR, target 3 ATR, 48 bars at most, one trade at a time. Cost 1 pip on EURUSD and $0.30 an ounce on gold. A pass means money after cost, in both halves (split July 15), and above the 95th percentile of 200 random-entry runs, the method in algorithmic rule vs random entry.

Which one signals first?

A close up of a chart comparing the Alligator with an EMA crossover
Matched signals, same direction, within 24 barsEURUSD M5EURUSD M15Gold M5Gold M15
EMA 9/21 cross came first85.7%90.1%89.5%92.6%
Same bar2.4%2.5%2.4%0.6%
Alligator woke up first11.9%7.4%8.2%6.8%
Median lead of EMA 9/21, bars5555
Alligator without the shift came first86.6%85.1%85.4%88.1%
Median lead of the unshifted lines, bars3333

The Alligator was the slow one on every chart. Its awakening needs three lines in order, and the slowest of them, the jaw, is a 13-bar smoothed average that shows the value from 8 bars ago. A 9/21 EMA cross reacts to the same move about 5 bars earlier: 25 minutes on M5, more than an hour on M15. Three of those five bars come from the shift alone. That lag is the price of the Alligator’s calm look, the trade-off measured across 21 indicators in indicator lag vs whipsaw.

Which one made more money?

Net per trade after costEURUSD M5, pipsEURUSD M15, pipsGold M5, $/ozGold M15, $/oz
Alligator awakening-0.86 (658)-0.19 (196)-0.89 (472)+1.26 (136)
Alligator lips cross teeth-1.35 (725)+0.70 (199)-0.36 (494)+1.24 (149)
EMA 9/21 cross-1.68 (606)+0.33 (173)+1.16 (366)+0.60 (118)
EMA 5/13 cross-1.25 (733)-0.90 (209)-0.06 (468)-0.40 (152)
Random entries, median-1.00-1.34-0.62-0.12

Trades in brackets, passes in bold. The scoreboard is split. The Alligator awakening lost less than EMA 9/21 on EURUSD M5 and made more on gold M15; EMA 9/21 did better on EURUSD M15 and gold M5. What decides it is the checks. EMA 9/21 on gold M5 made $0.66 an ounce a trade in the first half and $1.45 in the second, above the random band, and on EURUSD M15 it stayed positive in both halves, if only just in the second (+0.03 pips). The Alligator’s good gold M15 number did not clear the random band, because random entries on that rising chart reached $3.27 at the 95th percentile.

Why did the Alligator lose less on EURUSD M5?

Because it traded less often and was right a little more often, not because it found trends. Its win rate after cost was 35.6% against 29.4% for EMA 9/21, and the deepest losing run was 646 pips against 1,026. Being late meant it skipped some of the shortest false starts that the EMA cross took. It still lost 0.86 pips a trade, which is about what random entries lost there. On a 5-minute EURUSD chart a 1 pip spread is too big for any of these crossovers, a point that also comes up in moving average scalping vs day trading.

Is the Alligator just a moving average crossover?

In practice, close to it. Its one passing run, the lips crossing the teeth on EURUSD M15, is a cross of a 5-bar and an 8-bar smoothed average shifted 3 and 5 bars. On the same chart the EMA 9/21 cross also passed. What the Alligator adds is the “asleep” state, and that state covered only about 20% of bars, so it filtered out far less than the story suggests. The same pattern of a dressed-up average against a plain one is in MACD vs moving average crossover.

Which should you use?

  • If you want the earlier signal, use EMA 9/21. It came first about 9 times out of 10 and passed on 2 of 4 charts.
  • If you like the Alligator’s picture, trade the lips and teeth cross, not the awakening, and only from M15 up.
  • Skip both on EURUSD M5. Nothing in this comparison covered the spread there.
  • Do not go faster to fix the lag. EMA 5/13 lost on all 4 charts.

Frequently asked questions

Is the Alligator better than a moving average crossover?

Not in this test. EMA 9/21 passed all checks on 2 of 4 charts; the Alligator awakening passed on none and its lips and teeth cross on 1. Head to head they each won on 2 charts.

Is the Alligator indicator lagging?

Yes. It woke up a median of 5 bars after an EMA 9/21 cross on the same move, and 3 bars after the same three averages without the shift.

What moving averages does the Alligator use?

Smoothed moving averages (SMMA) of the median price, (high + low) / 2: 13 bars shifted 8 for the jaw, 8 shifted 5 for the teeth and 5 shifted 3 for the lips.

Can I use EMA 5/8/13 instead of the Alligator?

You can draw it, but in this test EMA 5/13 lost after cost on all 4 charts. Faster lines removed the lag and added more false signals than they saved.

Want a trend line drawn by a clear rule?

It is my own enhanced DeMARK Trend Line indicator for MetaTrader 4 and 5. Non repaint, clean, and free.

Download the Free DeMARK Indicator

Written by Alan Ross

Forex trader and MetaTrader indicator developer. I build and test MT4 and MT5 tools, then write the honest version of how they actually work. More about me.

Last reviewed November 2026
Alan Ross
Alan Ross

Forex educator and indicator developer. I build and trade my own MetaTrader tools, and share the ones that genuinely help.

Leave a comment

Your email address will not be published. Comments are reviewed before they appear.