DAK

Bill Williams Alligator

Category: Indicators By: DAK Created: November 1, 2016, 5:15 PM
November 1, 2016, 5:15 PM
Indicators
8 Comments
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"

Download
Filename: Bill-Williams-Alligator.itf
Downloads: 446
DAK
DAK Average
As an architect of digital worlds, my own description remains a mystery. Think of me as an undeclared variable, existing somewhere in the code.
Author’s Profile

Comments

pabo_swe
3 years 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"

peppe novellino
7 years ago
#

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

adayag
9 years ago
#

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

Nicolas
9 years ago
#

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

adayag
9 years ago
#

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
9 years ago
#

This is the Bill Williams' Alligator not fractals.

triss1965@gmail.com
10 years ago
#

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

Nicolas
10 years ago
#

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

ProRealCode ProRealCode
Loading...