Bill Williams Alligator

Bill Williams Alligator

Legendary trader Bill Williams, an early pioneer of market psychology, developed a number of original technical indicators in a career that spanned more than five decades.

The Alligator indicator uses three smoothed moving averages, set at 5, 8, and 13 periods, which are all Fibonacci numbers. The initial smoothed average is calculated with a simple moving average (SMA), adding additional smoothed averages that slow down indicator turns.

Three moving averages comprise the Jaw (blue), Teeth (red), and Lips (green) of the Alligator, opening and closing in reaction to evolving trends and trading ranges.

The three lines stretched apart and moving higher or lower denote trending periods in which long or short positions should be maintained and managed. This is referred to as the alligator eating with mouth wide open. Indicator lines converging into narrow bands and shifting toward a horizontal direction denote periods in which the trend may be coming to an end, signaling the need for profit taking and position realignment.

Works on any instrument and any timeframe.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. triss1965@gmail.com • 11/01/2016 #

    HELP, WHY DONT I NOT GOT THE INDICATOR IN CHART. JUST UNDER?????????????

    • Nicolas • 11/01/2016 #

      Use the wrench on the upper left side of your price chart to add correctly indicator on PRICE.

  2. adayag • 11/01/2016 #

    Hi Nicolas, has the indicator you developed the same scoped described at this page?
    http://fxcodebase.com/wiki/index.php/Fractal_Indicator

    If yes, would it be possible to have it with arrows like in that page? Thanks

    • Nicolas • 11/01/2016 #

      This is the Bill Williams’ Alligator not fractals.

  3. adayag • 11/01/2016 #

    I have found this comment. https://www.prorealcode.com/reply/36015/
    Is the code currenty correct?

    • Nicolas • 11/01/2016 #

      The code is correct, don’t know if the label and color are the same as other trading software, just compare 🙂

  4. peppe novellino • 11/01/2016 #

    Hi Nicolas, the settings of the alligators are not editable. How can I change it? Thanks in advance

  5. pabo_swe • 297 days ago #

    I got very bad performance with this script, it was slow… it seems like if one breaks out a few values it’s faster, try this…
    REM Alligator Indicator – Bill Williams

    // Alligator Blue Line – Jaw
    // 13 bar smoothed average future 8 bars
    SSMAbluePeriods = 13
    SSMAblueOffset = 8
    SSMAblueSeries = close[SSMAblueOffset]
    SSMAblue = WilderAverage[SSMAbluePeriods](SSMAblueSeries)

    // Alligator Red Line – Teeth
    // 8 bar smoothed average future 5 bars
    SSMAredPeriods = 8
    SSMAredOffset = 5
    SSMAredSeries = close[SSMAredOffset]
    SSMAred = WilderAverage[SSMAredPeriods](SSMAredSeries)

    // Alligator Green Line – Lip
    // 5 bar smoothed average future 3 bars
    SSMAgreenPeriods = 5
    SSMAgreenOffset = 3
    SSMAgreenSeries = close[SSMAgreenOffset]
    SSMAgreen = WilderAverage[SSMAgreenPeriods](SSMAgreenSeries)

    RETURN SSMAblue COLOURED(0,0,255) AS”Jaw”, SSMAred COLOURED(255,0,0) AS”Teeth”, SSMAgreen COLOURED(0,255,0) AS”Lips”

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Appsoluxions Hi Nicolas, do you have the MT4 version of the indicator? I am not sure if these kind of que...
Nicolas Hi, don't have one sorry. But you can still ask for private coding through our programming s...
Appsoluxions Cool. Thanks for the response.
rama I want to use this indicator in trading system, it says zig zag is obsolete and not supported
Nicolas Right, due to its repainting behavior, the zigzag is not allowed in automated trading with r...
rama I noticed it changes as time progress, I am 7 as the average, how many period it wont chang...
Geronima Ortiz okay bien estaré pendiente en esta pagina gracias
Domenec Aqui dejo colgado link del video para ver como funciona el indicador https://www.youtube....
Geronima Ortiz Gracias Domenec
Gordon101 Hi when I added your Guppy indicator to my chart it went below the chart beside the oscilla...
Nicolas Add it on the price by using the wrench located on the left upper side of your price chart.
Gordon101 Thanks Nicolas, worked a treat.
Rafa And the PriceMAPeriod? aren´t the same?
Nicolas The PriceMAPeriod is the period to make the average of all the last X medianprice found.
Rafa Thanks a lot Nicolás. Have a nice day
ak5hay2 Works like crazy on bitcoin. Use different timeframes. Thanks a lot Doc!!!
richyowen Hi, great code thanks. Very new to this forum. Is there a way to add a 100point target on an...
lisamitch50 Morning all, Just backtested on quite a few instruments, worked well on backtesting, but tel...
swapping merci gabri, on va le mettre à l'essai ;)
dertopen @gabri hi Gabri i get the same error: define highlow and highhigh whic are the good numbe...
luigiR ciao gabri complimenti per il tuo lavoro, ti chiedo una cortesia cosa devo scrivere nel codi...
Violet Abz, the arrows and circles are only the *first part* of a trade setup. If certain conditio...
gabri Violet, you did an excellent job. I attached here https://www.prorealcode.com/prorealtim...
fab.ub HI GABRI, if the cirled arrow is the intermediate point in which You can define your entry a...
Matt B RolanBay, L'ellipse apparaît-elle à la bougie notifiée et reste ?
gianlucapegaso scusa Gagry ma il programm da copiare è quello con tutte le modifiche di cui ho letto nei va...
Valentinocorse bonjour a tous , superbe travail j'aimerai si possible une indication pour modifier l'indic...
GraHal Please forgive the daft question, but why is 3-bars-trailing-stop-williams-3.itf included a...
Kris75 Hi, Seems great but what would be the code for a stock ? Thanks, Chirs
oakenstream Paul, what is the best way in your opinion to know if I have over optimized?
Leo Hi all, I posted a new version of this indicator ( I just add arrows to spot the local maxi...
Trading_En_El_Ibex35 Muchas Gracias por compartir este interesante indicador. Un saludo
xavieralava hola gracias leo
Al Ok grazie Gabri
Paul thnx for posting. Combine it with Williams’ 3 bar trailing stop to create strategy!
gabri Paul, he uses the best day of the week to trade (he figured out the best day to enter, exit...
Khaled Thanks, but if I may ask what's EMA Period? The price which reverses the EMA[20] is not the ...
Francesco78 EMA is not a moving average, it is just the name we called the quantity defined above
Khaled My bad. Thank you so much!
rejo007 hello david, i'll try it could you tell me wich strategy do you use in real? thanks
David Somogyi Hello, I have a couple of DAX strategies of breakout and mean reversion. I'll try to post...
Roberto Blázquez Hi David, I just saw your strategy and it's good!!! I'm going to try it from today in real a...
Thomas007 Is there any way to build something similar for FX? I wonder what would be the replacement f...

Top