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 • 11/01/2016 #

    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
Sofitech Ce code n'est valable que sur la V10.3 ? sur le 10.2 il y a une erreur de syntaxe dans le fi...
Nicolas Oui en effet, c'est un indicateur "10.3" à cause uniquement de la mise en forme des courbes ...
Nicolas En effet, c'est le cas si on copie/colle le code. Ces 2 variables sont inscrites en externes...
Salocin Hello Nicolas, my french is not that well. It occurs an error which can not be solved by cop...
Nicolas Just download the ITF file and import it into your platform, follow these easy steps: https:...
Nicolas
8 years ago
Haos Visual
Haos Visual
8
Indicators
Lyny @Nicolas, how can i put this code in ProOder when for example i want to buy 1 share with con...
Nicolas Please open a new topic on forums for coding requests, I'll help you there. 
Johan Swarts Lyny / Nicolas Please advise whether you proceded with the code in ProOrder and if so where...
Nicolas
8 years ago
Holt EMA
Holt EMA
1
Indicators
robertanthonyuk Hi,What do the each colour represent? Rob
Nicolas You'll need to preload bars to get the good calculations of you indicators. I did not test i...
David Nicolas I tried DEFPARAM Preloadbars = 5000 And still the same drawn output of entries/exit...
marcara Hi, Thank you very much for the Moving Average Daily indicator, I am using it as indicator i...
Nicolas Je l'ai converti depuis un code pinescript. De mémoire il s'agit bien d'une variation d'une ...
Captain_Walker @Nicolas, I've copied your code into PRT indicator panel to create it. When I attempt to sav...
Nicolas Download the itf file and import it.
Nicolas Please post any question on forums, thanks.
Lavallette Bonjour Nicolas. J'utilise la version 11 et moi aussi j'ai une ligne horizontale malgré l'a...
Nicolas il faut modifier la ligne 20 avec: if adaptive=1 and averagePeriod > 1 and barindex>(...
dakaodo Hi, Wilko. Acc to the original FRAMA paper by Ehlers, Ehler's own code only takes inputs for...
dakaodo For reference, here is Ehlers' original paper: http://www.mesasoftware.com/papers/FRAMA.p...
dakaodo Here is the code with only SC included, per ETFHQ. pri=customclose //len>=4, even on...
bluetime6 Hello Doctrading.   Can you ask you for something? Can you code a screener screen po...
gianlox I added a simple momentum indicator (MACD). I think much better results:   achat = 0v...
gianlox achat = 0 vente = 0 MACD12M = MACDline[12,26,9](close) MACD12S = ExponentialAverage[9](MA...
Nicolas Thank you for contribution. Please consider that advertising is tolerate as long as you cont...
triss1965@gmail.com  Hi, I cant make it work. And if you doing so much money. Why do you have to sell it? It don...
T-rader Eva... He dosen´t sell anything. He is just a nice guy that want to share on of his strategy...
Fabio Anthony Terrenzio this strategy works only in a well defined trend
brosly Good afternoon I am trying to get the complete code of lex strategy made by adolfo since I s...
dreif123 hi Adolfo, is Alex Auto Trading Botindex working on DAX as well ? if so , can you post the...
phili711 Bonjour Si la moyenne 100 est au dessus de la moyenne 20 le trend est baissier zlors pourqu...
Nicolas La comparaison se fait entre la valeur de la moyenne actuelle et telle qu'elle était il y a ...
Thomas007 we should definitely open a new thread for intraday trading - can we post the link once it's...
Denis Bonjour Nicolas, j'ai une question à propos de ce code, il faut que je la pose en anglais ca...
Nicolas En français pas de problème
Lotech123 This Indicator is very useful if the Risk number is altered to suit the time frame, volume o...
Bern error displaying, code must end with RETURN. Any idea hot to fix it?
j102491 how are you applying it to asc trend
Yantra "i believe this indicator could help any trend followers in trading decision. " I'm wonderin...

Top