|  | 
| Bill Williams Aligator and Awesome Oscilator | 
| Post Reply   | 
| Author | |
| SayaPolo   Newbie   Joined: 19 Nov 2018 Location: Sydney Posts: 10 |  Post Options  Quote  Reply  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.  | |
|  | |
| maximo   BullCharts Guru     Joined: 02 Sep 2006 Location: Australia Posts: 232 |  Post Options  Quote  Reply  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 | |
|  | |
| SayaPolo   Newbie   Joined: 19 Nov 2018 Location: Sydney Posts: 10 |  Post Options  Quote  Reply  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. | |
|  | |
| SayaPolo   Newbie   Joined: 19 Nov 2018 Location: Sydney Posts: 10 |  Post Options  Quote  Reply  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?  | |
|  | |
| Post Reply   | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |