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 • 293 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
jacquesgermain Bonjour non pas de soucis car src=customclose donc dans le menu configuration/propriété me...
geroniman Merci Jacques , indic tres utile. J'ai un indic à programmer avec du price action. es tu dis...
jacquesgermain ok pour regarder ...
Nicolas
1 year ago
f1_maik Ein sehr schöner Indikator, vielen Dank. Wenn ich den Indikator importiere und starte hat d...
Nicolas das ist in der Tat normal, Sie müssen die Auf- und Abwärtsfarbe direkt im Parameterfenster d...
FXtonio Bonjour Nicolas, merci pour cette merveille, je l'utilise en compl2ment du "magical buy sell...
supertiti Bel outil si on ne se tape pas sur les doigts avec ! Comment ajoute-on une image avec le co...
magnus59 Hi Nicolas, thaks for your great work here, I need a scanner for the swedish OMX when ma...
Nicolas Yes, sure please open a new topic in the ProScreener forum section, thank you.
paullyons Hello! Thanks for post your indicators. I'd like you to let me know how to draw lines for ...
Rafa Hi Nicolas! I can´t install this indicator. it installs in a separate window not as an av...
Nicolas Add it on the price, see how: https://www.prorealcode.com/blog/video-tutorials/how-to-add-an...
Frankyslo1 No consigo instalarlo en el precio en PRL-version 10
denmar Thank you
Xenotrax A première vue, sa à l'air d'être un indicateur très puissant sur de petites temporalités, j...
merri Bonjour Nicolas, Comment transformer cet indicateur en bot sur PRT ?
Nicolas Cela a déjà été fait, voir ce sujet: https://www.prorealcode.com/topic/strategia-con-lindica...
venugopal Hi Nicolas, Thanks for this code. Is it possible to build a screener using this indicator?. ...
Nicolas It has been done in that topic. Enjoy.
Abouadam2 EFFICACE
Roland57800 Bonjour Noobywan, si je comprends bien l'utilisation de ce code que je trouve particulièr...
Noobywan Bonjour, quand la question a été posée dans le forum à celui qui avait fait la requête en am...
Fabian This Code draws only a retangle if the condition has been confirmed and NOT before (in that ...
RakeshPoluri I have a question about the bands on the candles. Is it bollinger bands or something else?
Nicolas I think that's 2 Bollinger Bands
Emperor.it "style(line,2)" C'è una guida ai parametri che si possono modificare ? Tipo stile della lin...
IV Mcm https://www.prorealcode.com/programming-with-prorealtime/
fazel53 How do i attach this indicator to my mt5 platform?
Nicolas You can't! All indicators here are for ProRealTime trading platform: https://www.prorealtime...
Nicolas c'est exactement ce que je fais entre les lignes 58 et 64 pour pouvoir tracer la ligne complète
Italo Fabian Nicolas, Ces matrices sont-elles des vecteurs unidimensionnels ou multidimensionnels? Depu...
Denis Bonjour Nicolas et RicLg, Merci Nicolas pour cet indicateur intéressant et merci RicLg pour...
Nicolas Il faut l'ajouter sur le prix avec l'icône de la clé situé en haut à gauche du graphique du ...
jerome777 merci de ta réponse
jerome777 bonjour c est bon il fonctionne parfaitement merci beaucoup
woktrade Superbe !
Vonasi An updated version with a bug fix can be found here: https://www.prorealcode.com/topic/dis...
snucke hey Vonasi is it possible you can help me get this indicator to show how much a market mo...
frenqle Hi There.. It seems the TSL stop loss is not working.. it does not respond is that correct?
Ciccarelli Franco Per lasciare che la strategia venga eseguita (dopo aver importato il file): Basta eliminare...
JADINVEST Hello Jan, hello everyone, Thanks Jan for this strategy! Since 2020, have any of you found a...
FXmike hey my friends, thank you for this great code. my problem is he make no trade open. backtest...
FXmike Can i put a Action that my start contract is smaller than 1 ? 0.3 or 0.5 ? In wich Position...
phoentzs I wrote the code for M15 back then and also variants in H1 and M1. Everything works so far....

Top