Print Page | Close Window

Bill Williams Aligator and Awesome Oscilator

Printed From: BullCharts Forum
Category: BullCharts
Forum Name: BullCharts discussion
Forum Discription: General discussion about getting started with BullCharts and exploring its features.
URL: http://www.bullcharts.com.au/forum/forum_posts.asp?TID=1025
Printed Date: 03 May 2024 at 7:04am
Software Version: Web Wiz Forums 9.69 - http://www.webwizforums.com


Topic: Bill Williams Aligator and Awesome Oscilator
Posted By: SayaPolo
Subject: Bill Williams Aligator and Awesome Oscilator
Date 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. 




Replies:
Posted By: maximo
Date 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);




Posted By: SayaPolo
Date 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.


Posted By: SayaPolo
Date 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?



Print Page | Close Window

Bulletin Board Software by Web Wiz Forums® version 9.69 - http://www.webwizforums.com
Copyright ©2001-2010 Web Wiz - http://www.webwiz.co.uk