ChaosTrader

Gator Oscillator

This is Bill Williams' Gator Oscillator
It's purpose is to easily show the varying distance between the lines of the Alligator indicator.
The lower part of the oscillator is the distance between the red and green lines.
The upper part of the oscillator is the distance between the red and blue lines.
A value greater than the last results in a green bar; less than the last results in a red bar.
In a bear or a bull trend, green indicates that it is still getting stronger, red that it is weakening either temporarily or permanently.
Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?
//This is Bill Williams' Gator Oscillator
//It's purpose is to easily show the varying distance between the lines of the Alligator indicator.
//The lower part of the oscillator is the distance between the red and green lines.
//The upper part of the oscillator is the distance between the red and blue lines.
//A value greater than the last results in a green bar; less than the last results in a red bar.
//In a bear or a bull trend, green indicates that it is still getting stronger, red that it is weakening either temporarily or permanently.
study(title="Gator Oscillator", shorttitle="GO")
BlueLine = ema(hl2,25)
RedLine = ema(hl2,15)
GreenLine = ema(hl2,9)
GOabove = abs(RedLine-BlueLine)
GObelow = -abs(RedLine-GreenLine)
plot(GOabove, color = change(GOabove) <= 0 ? red : green, style=histogram, offset=5)
plot(GObelow, color = change(GObelow) >= 0 ? red : green, style=histogram, offset=3)