Williams Gator Oscillator 2

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.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
Телеграм https://t.me/PolarSolar
Яндекс.Дзен https://zen.yandex.ru/polarsolar
YouTube https://www.youtube.com/c/PolarSolar
Наставничество http://mentor.trade/


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
@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
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out