TradingView
PolarSolar
8 de Dic. de 2016 11:03

Williams Gator Oscillator 2 

EURO / U.S. DOLLARICE

Descripción

Based on @Petros Williams Gator Oscillator script

Modifed by @PolarSolar - fix histogramm offset to original and added different colors to more understanding Gator histogramm

The Gator Oscillator histogram above zero shows the absolute difference between blue and red lines of Alligator indicator,
while histogram below zero shows the absolute difference between red and green lines.

There are green and red bars on the Gator Oscillator histograms.
A green bar appears when its value is higher than the value of the previous bar.
A red bars appears when its value is lower than the value of the previous bar.

Gator Oscillator helps to better visualize the upcoming changes in the trends: to know when Alligator sleeps, eats, fills out and is about to go to sleep.
Comentarios
MadMoto29
Hi! Thanks for this. I'm trying to plot a shape when the mouth opens to certain width but it's causing the whole histogram to squish flat as a pancake, not sure what to do!

Here is my code (pretty simple):

`plotshape(up > 0.03, style=shape.xcross)`

Perhaps you could help me out, thanks
MadMoto29
@MadMoto29, Figured it out with some help from the chat and made it plotshape(up > howWide?0:na, style=shape.xcross,location=location.absolute) - however I'm trying to get a signal when the green bar > 0.035 and it's not working. Perhaps you could lend a hand? Thanks again
Más