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.
REM Alligator Indicator - Bill Williams

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


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


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


RETURN SSMAblue COLOURED(0,0,255) AS"Jaw", SSMAred COLOURED(255,0,0) AS"Teeth", SSMAgreen COLOURED(0,255,0) AS"Lips"
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?

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

  1. triss1965@gmail.com • 34 days ago #

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

    • Nicolas • 34 days ago #

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

avatar
Register or

Likes

avatar avatar avatar
Related users ' posts
Nicolas
1 week ago
Haos Visual
Haos Visual
2
Indicators
Dimi.A Nic, you're a blessing mate thank you so much. This is great.
Matriciel Merci pour ton travail Nicolas ! Ca m'a l'air d'être un très bon indicateur de tendance.
Nicolas
3 weeks ago
Holt EMA
Holt EMA
0
Indicators
Nicolas Thanks a lot, a lot of people will find it useful! About customclose of the daily OHLC, you...
supertiti Voici un code de VIDYA construit par Sohocool : // MOYENNE EXPONENTIELLE ADAPTIVE VIDYA by ...
Matriciel Merci Supertiti. Je trouve que ce code est difficile à règler et n'est pas d'une grande pré...
Ernesto1 J'ai essayé avec deux différents I ,  a =  3 périodes et un 3 x 5 = 15 périodes.Ie comme si ...
SoloContado Hello Nicolas,   thanks a lot for your many contributions in this post. I have a prob...
Nicolas Because of no data available at the start of calculations. Add this at line 15 : if barindex...
century hi i will use it to see ... and get back to tell ya
luigi Ciao Nicolas. Approfitto di questo spazio per chiederti se puoi aiutarmi. Avrei bisogno di u...
Nicolas Si prega di utilizzare i forum per chiedere richieste di codice per favore.
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...
Somatolysis   Hi IGOSNELL, you´ll find other of my strategies here - but without the code - maybe...
IGOSNELL Thanks but unfortunately can't read German. If you can show that your strategies can work on...
Nicolas Thank you for contribution. Please consider that advertising is tolerate as long as you cont...
finplus Hi Wanjpt, I tried once only on AUD / USD in november 2016 during one day. No position has b...
finplus The backtest of the code works perfectly with 1 hour timeframe.
CN Anyone got a correct code for the setup?Used Minihax code with mixed results... Anyone that ...
Nicolas Ok Doc, beware of intraday, it's a battlefield full of random noises :) Maybe we can work to...
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 ...
Nicolas You have certainly apply the indicator twice on the price chart. If you want to hide one of ...
fabriziomerlo Buongiorno Nicolas,  come faccio a trasformare questo interessantissimo indicatore in uno s...
Nicolas Si desidera testare una croce sopra di 2 media mobile? Si prega di fare un argomento nel for...

Top