Strategy library · Trend and breakouts

Williams Alligator backtest on NQ and ES futures

Williams Alligator (13 / 8 / 5)

Also called: Alligator indicator strategy, Alligator 13 8 5, Bill Williams Alligator, buy when the Alligator's lips are above its teeth, above its jaw, with price above all three, short when the Alligator's lips are below its teeth, below its jaw, with price below all three

What happens if you buy NQ every time the Alligator's lips are above its teeth, above its jaw, with price above all three?

What it is

The Williams Alligator draws three smoothed averages (jaw 13, teeth 8, lips 5) that fan out in a trend. This strategy goes long when lips are above teeth above jaw with price above all three, short on the mirror, and exits when the lines cross back.

What it did

On NQ futures from 2024-10-08 to 2026-10-07, the Williams Alligator strategy took 810 trades on the 15-minute chart, won 48.5% of them and finished 4,071.25 points ($81,425 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, the 428 long trades on the 15-minute chart won 53.0% and made 4,169.50 points ($83,390 on one NQ contract), before commission and slippage. On ES futures from 2024-08-28 to 2026-08-27, the Williams Alligator strategy took 823 trades on the 15-minute chart, won 48.0% of them and finished 369.25 points ($18,463 on one ES contract), before commission and slippage. The 5-minute, 1-hour and daily results for both markets are in the table on this page.

How it was tested

CE Market Solutions tested the Williams Alligator strategy on NQ (2024-10-08 to 2026-10-07) and ES (2024-08-28 to 2026-08-27) futures, before commission and slippage, with each signal filled at the next bar's open, intraday positions flat at 15:59 ET and textbook default indicator settings; the NQ trades are listed on this page and the ES trades under the ES tab.

See it tested with one change · $19

Tested by CE Market Solutions on 2026-10-26. The trades are listed below, one market at a time. Gross, no commission or slippage. Last 2 years.

Results

Rule as tested: Long when lips > teeth > jaw with price above all three; short on the mirror. Exit: When the lines cross back.

TimeframeNQ · 2024-10-08 to 2026-10-07ES · 2024-08-28 to 2026-08-27
TradesWin %Avg ptsProfit factorNet ptsNet $ (1 NQ)Max DD ptsTradesWin %Avg ptsProfit factorNet ptsNet $ (1 ES)Max DD pts
5 minute179643.7%0.741.0231,320.25$26,4054,300.75179944.1%0.491.077876.00$43,800595.25
5 minute · longs only94546.1%——861.75$17,2352,966.7595644.9%——337.75$16,888375.50
5 minute · shorts only85141.0%——458.50$9,1702,143.2584343.2%——538.25$26,913540.75
15 minute81048.5%5.031.1104,071.25$81,4253,165.7582348.0%0.451.046369.25$18,463692.50
15 minute · longs only42853.0%——4,169.50$83,3901,415.5045050.9%——401.00$20,050404.25
15 minute · shorts only38243.5%——−98.25−$1,9653,344.0037344.5%——−31.75−$1,587564.25
1 hour39849.0%−4.230.927−1,682.50−$33,6505,873.7539749.4%−1.010.917−400.50−$20,0251,232.50
1 hour · longs only23752.3%——−1,719.75−$34,3953,878.2524652.4%——−395.50−$19,775863.25
1 hour · shorts only16144.1%——37.25$7452,702.7515144.4%——−5.00−$250537.75
Daily2740.7%182.031.6924,914.75$98,2952,533.502147.6%18.711.340393.00$19,650524.75
Daily · longs only1947.4%——5,800.25$116,0051,418.251540.0%——507.25$25,363331.75
Daily · shorts only825.0%——−885.50−$17,7101,152.50666.7%——−114.25−$5,712255.50

Free to use with credit to CE Market Solutions (CC BY 4.0).

ES 15 minute: the equity line

Williams Alligator (13 / 8 / 5), ES 15 minute, 2024-08-28 to 2026-08-27. Cumulative points after each trade; low −240.00, high 902.25, last 369.25.

Long and short

SideTradesNet pts
Long450401.00
Short373−31.75

By month

MonthTradesNet pts
2024-085−51.00
2024-0934−131.75
2024-1039114.25
2024-1131−10.50
2024-1236166.75
2025-0132125.75
2025-023134.50
2025-0336−17.25
2025-0437496.00
2025-0533−265.75
2025-0638−92.25
2025-073947.75
2025-0833134.50
2025-093964.00
2025-1034−6.50
2025-1130−109.75
2025-1235−12.25
2026-0135−205.00
2026-022735.00
2026-0332201.50
2026-0428207.25
2026-0531−209.50
2026-0637−49.75
2026-0739−210.25
2026-0832113.50
Every trade, ES 15 minute823 trades

Pick any of the 823 charted trades with Previous, Next or a date, or click a row in the trades table below, to see it drawn on the real 1-minute bars. Drag the chart sideways to move through the sessions around it.

Chart unavailable. The trades are in the table below.

All trades (823), newest first

Times are New York time; points are gross. Click a row to draw that trade in the chart above.

Session dateSideEntry (ET)Entry priceExit (ET)Exit priceExit reasonPoints
2025-08-28long13:006504.5015:596517.00end of day 15:5912.50
2025-08-28short11:306490.0012:156505.50lines crossed back−15.50
2025-08-28long09:456499.5010:456495.50lines crossed back−4.00
2025-08-27long11:456491.7515:596494.25end of day 15:592.50
2025-08-26long10:156456.7515:596481.00end of day 15:5924.25
2025-08-25long12:306479.0015:156469.50lines crossed back−9.50
2025-08-22long09:456424.2515:596483.25end of day 15:5959.00
2025-08-21short13:006381.0015:596388.25end of day 15:59−7.25
2025-08-21short12:156386.7512:306384.75lines crossed back2.00
2025-08-21short09:456392.5011:156387.50lines crossed back5.00
2025-08-20short11:156381.7514:306391.75lines crossed back−10.00
2025-08-19short12:156436.7515:596432.75end of day 15:594.00
2025-08-19long10:156472.5010:306465.25lines crossed back−7.25
2025-08-18short14:006463.7514:306463.25lines crossed back0.50
2025-08-18short12:456462.0013:156466.00lines crossed back−4.00
2025-08-15short15:456476.0015:596471.50end of day 15:594.50
2025-08-15short09:456488.7515:006479.25lines crossed back9.50
2025-08-14long14:456486.2515:596488.75end of day 15:592.50
2025-08-13short12:456471.7515:306483.25lines crossed back−11.50
2025-08-13long09:456496.0011:456482.25lines crossed back−13.75
2025-08-12long10:006414.2515:596467.50end of day 15:5953.25
2025-08-11short14:306406.0015:596400.00end of day 15:596.00
2025-08-11short10:306414.0013:006414.75lines crossed back−0.75
2025-08-08long11:006400.2515:596414.00end of day 15:5913.75
2025-08-07short11:456361.7515:596367.50end of day 15:59−5.75
2025-08-06long12:306368.7515:596371.75end of day 15:593.00
2025-08-06short09:456335.2511:456365.75lines crossed back−30.50
2025-08-05short15:156334.0015:596325.25end of day 15:598.75
2025-08-05short10:306344.0014:456330.50lines crossed back13.50
2025-08-04long10:156337.5015:596357.00end of day 15:5919.50
2025-08-04long09:456324.5010:006337.00lines crossed back12.50
2025-08-01short09:456270.5015:596263.50end of day 15:597.00
2025-07-31short09:456433.2515:596371.00end of day 15:5962.25
2025-07-30long13:456421.5015:456370.75lines crossed back−50.75
2025-07-30long12:006413.7512:156415.25lines crossed back1.50
2025-07-30short10:006409.5011:306405.25lines crossed back4.25
2025-07-29short11:156417.2515:596406.00end of day 15:5911.25
2025-07-29short10:456425.2511:006420.25lines crossed back5.00
2025-07-28short09:456426.7515:596423.00end of day 15:593.75
2025-07-25long12:006413.7515:596425.75end of day 15:5912.00
2025-07-25short10:006406.7511:156413.75lines crossed back−7.00
2025-07-24long14:006409.2515:596401.75end of day 15:59−7.50
2025-07-24long11:156414.7513:306410.50lines crossed back−4.25
2025-07-24short10:156399.2510:456408.00lines crossed back−8.75
2025-07-23long13:156373.5015:596399.00end of day 15:5925.50
2025-07-23short11:456363.2512:456376.25lines crossed back−13.00
2025-07-22long15:006350.7515:596345.50end of day 15:59−5.25
2025-07-22short11:156333.5014:156342.25lines crossed back−8.75
2025-07-22long09:456347.0010:456334.25lines crossed back−12.75
2025-07-21long11:156370.0015:596345.25end of day 15:59−24.75

← NewerPage 9 of 17Older →

Questions and answers

What happens if you buy NQ every time the Alligator's lips are above its teeth, above its jaw, with price above all three?

From 2024-10-08 to 2026-10-07 on the NQ 15-minute chart, the Williams Alligator strategy took 428 long trades, won 53.0% of them and made 4,169.50 points ($83,390 on one NQ contract), before commission and slippage. From 2024-10-08 to 2026-10-07 on NQ, its long trades also made 861.75 points on 945 trades on the 5-minute chart, -1,719.75 points on 237 trades on the 1-hour chart and 5,800.25 points on 19 trades on the daily chart, before commission and slippage.

What happens if you short ES every time the Alligator's lips are below its teeth, below its jaw, with price below all three?

From 2024-08-28 to 2026-08-27 on the ES 15-minute chart, the Williams Alligator strategy took 373 short trades, won 44.5% of them and made -31.75 points (-$1,587 on one ES contract), before commission and slippage. From 2024-08-28 to 2026-08-27 on ES, its short trades also made 538.25 points on 843 trades on the 5-minute chart, -5.00 points on 151 trades on the 1-hour chart and -114.25 points on 6 trades on the daily chart, before commission and slippage.

Does the Williams Alligator strategy work on Nasdaq futures?

On NQ futures from 2024-10-08 to 2026-10-07, the Williams Alligator strategy on the 15-minute chart took 810 trades, won 48.5% of them and finished 4,071.25 points ($81,425 on one NQ contract), before commission and slippage.

What is the win rate of Williams Alligator (13 / 8 / 5) on ES futures?

The Williams Alligator strategy won 48.0% of its 823 trades on the ES 15-minute chart from 2024-08-28 to 2026-08-27, before commission and slippage. On ES from 2024-08-28 to 2026-08-27 it also won 44.1% of 1,799 trades on the 5-minute chart, 49.4% of 397 trades on the 1-hour chart and 47.6% of 21 trades on the daily chart, before commission and slippage.

Is the Williams Alligator strategy better on the 5-minute, 15-minute, 1-hour or daily chart for NQ?

On NQ from 2024-10-08 to 2026-10-07, the Williams Alligator strategy made 1,320.25 points on 1,796 trades on the 5-minute chart, 4,071.25 points on 810 trades on the 15-minute chart, -1,682.50 points on 398 trades on the 1-hour chart and 4,914.75 points on 27 trades on the daily chart, before commission and slippage.

Is it better to only buy or only sell Williams Alligator signals on NQ?

On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the long trades made 4,169.50 points on 428 trades (53.0% won) and the short trades made -98.25 points on 382 trades (43.5% won), before commission and slippage.

How many trades does the Williams Alligator strategy take on NQ in two years?

The Williams Alligator strategy took 810 trades on the NQ 15-minute chart from 2024-10-08 to 2026-10-07, before commission and slippage. On NQ from 2024-10-08 to 2026-10-07 it also took 1,796 on the 5-minute chart, 398 on the 1-hour chart and 27 on the daily chart, before commission and slippage.

What is the max drawdown of the Williams Alligator strategy on NQ?

The Williams Alligator strategy had a max drawdown of 3,165.75 points ($63,315 on one NQ contract) on the NQ 15-minute chart from 2024-10-08 to 2026-10-07, before commission and slippage. On NQ from 2024-10-08 to 2026-10-07 its max drawdown was also 4,300.75 points on the 5-minute chart, 5,873.75 points on the 1-hour chart and 2,533.50 points on the daily chart, before commission and slippage.

How does the Williams Alligator strategy do on ES compared with NQ?

On the ES 15-minute chart from 2024-08-28 to 2026-08-27, the Williams Alligator strategy took 823 trades, won 48.0% of them and made 369.25 points ($18,463 on one ES contract), before commission and slippage. On the NQ 15-minute chart from 2024-10-08 to 2026-10-07, the Williams Alligator strategy took 810 trades, won 48.5% of them and made 4,071.25 points ($81,425 on one NQ contract), before commission and slippage.

How these were run

  • Gross: no commission and no slippage.
  • The last 2 years of each market, from the first to the last session of its window.
  • A signal on a closed bar fills at the next bar’s open.
  • A stop and a target touched in the same minute count as the stop.
  • Intraday positions are flat at 15:59 ET.
  • Textbook TradingView default settings for every indicator; nothing is tuned.

Want your own rules tested the same way?