BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullCharts discussion
  New Posts New Posts RSS Feed: Bill Williams Aligator and Awesome Oscilator
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Bill Williams Aligator and Awesome Oscilator

 Post Reply Post Reply
Author
Message / View First Unread Post
SayaPolo View Drop Down
Newbie
Newbie


Joined: 19 Nov 2018
Location: Sydney
Posts: 8
Post Options Post Options   Quote SayaPolo Quote  Post ReplyReply Direct Link To This Post Topic: Bill Williams Aligator and Awesome Oscilator
    Posted: 29 Nov 2018 at 3:54pm
I found these codes for the Aligator Indicator and Awesome Oscillator. Can somebody please assist me in coding this in Bull Chart? 
Alligator
How to calculate
MEDIAN PRICE = (HIGH + LOW) / 2
ALLIGATORS JAW = SMMA (MEDEAN PRICE, 13, 8)
ALLIGATORS TEETH = SMMA (MEDEAN PRICE, 8, 5)
ALLIGATORS LIPS = SMMA (MEDEAN PRICE, 5, 3)

Awesome Oscillator
How to calculate
MEDIAN PRICE = (HIGH+LOW)/2
AO = SMA(MEDIAN PRICE, 5)-SMA(MEDIAN PRICE, 34)
where
SMA — Simple Moving Average.

Thanking you in advance. 

Back to Top
maximo View Drop Down
BullCharts Guru
BullCharts Guru
Avatar

Joined: 02 Sep 2006
Location: Australia
Posts: 226
Post Options Post Options   Quote maximo Quote  Post ReplyReply Direct Link To This Post Posted: 29 Nov 2018 at 5:54pm
The Bill Williams ensemble of indicators

[Description="Alligator Indicator - Bill Williams"]
[target=price]
{ ALLIGATOR JAW } [color=blue]
hist( MA(MP(), 13*2-1, S),8);
{ ALLIGATOR TEETH } [color=red]
hist( MA(MP(), 8*2-1, S),5);
{ ALLIGATOR LIPS } [color=lime green]
hist( MA(MP(), 5*2-1, S),3);

[Description="Awesome Oscillator - Bill Williams"]
AO := MA(MP(),5) - MA(MP(),34);
[Name=Histogram; linestyle=Histogram]
histogram:=AO;
[width=2]
[color=green]
if(histogram > ref(histogram,-1),histogram,0);
[color=red]
if(histogram <= ref(histogram,-1), histogram,0);

[Description="Fractals - Bill Williams"]
[target=price]
{ Fractal High }
[linestyle=points; color=blue; width=5]
If(H>ref(H,1) and H>ref(H,-1), H*1.004,undefined);
{ Fractal Low }
[color=indian red]
If(L<ref(L,1) and L<ref(L,-1), L*0.996,undefined);




Edited by maximo - 29 Nov 2018 at 5:58pm
Back to Top
SayaPolo View Drop Down
Newbie
Newbie


Joined: 19 Nov 2018
Location: Sydney
Posts: 8
Post Options Post Options   Quote SayaPolo Quote  Post ReplyReply Direct Link To This Post Posted: 29 Nov 2018 at 8:01pm
Hi Maximo, Many thanks for the coding. Really appreciate your assistance. Will install them and test run with some trades.

Cheers.
Back to Top
SayaPolo View Drop Down
Newbie
Newbie


Joined: 19 Nov 2018
Location: Sydney
Posts: 8
Post Options Post Options   Quote SayaPolo Quote  Post ReplyReply Direct Link To This Post Posted: 25 Aug 2019 at 5:25pm
Hi Maximo,
Thanks for the Bill Williams ensemble of indicators.  The alligator indicator (Lips,Teeth and Jaw) are offsett by 3,5 and 8 days respectively. However the offset is not shown in Bull Chart. I have increased the space to the right of the chart but still no offset present. Is there a way to do it?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz