- DarkLight
Gator Oscillator
- DarkLight
Gator Oscillator helps detect trend changes of an asset's price. The oscillator shows the convergence/divergence's absolute degree for the three moving averages from Williams Alligator. Gator Oscillator's values are utilized in histogram bars above or below the zero line: the upper histogram represents the difference between Jaw and Teeth plots, the lower histogram represents the difference of Teeth and Lips.
Histogram1 = Abs(SMMA(MedianPrice, 13, 8) - SMMA(MedianPrice, 8, 5))
Histogram2 = (-1) x Abs(SMMA(MedianPrice, 8, 5) - SMMA(MedianPrice, 5, 3))
SMMAi = (Sum1 - SMMAi-1) + MedianPricei / N
MedianPrice = (HighPrice + LowPrice) / 2
where:
SMMAi – the value of the smoothed moving average of the current bar (not including the first)
Sum1 – the total amount of MedainPrice per N periods starting from the previous bar
SMMAi-1 – smoothed value of the moving average of the previous bar
N – number of calculation periods
INPUTS
PriceHigh |
---|
The following data sources are available for high price:
|
PriceLow |
---|
The following data sources are available for low price:
|
Input | Description |
---|---|
JawLength | The number of bars used in calculation of Jaw average |
JawDisplace | The displacement of the Jaw average |
TeethLength | The number of bars used in calculation of Teeth average |
TeethDisplace | The displacement of the Teeth average |
LipsLength | The number of bars used in calculation of Lips average |
LipsDisplace | The displacement of the Lips average |
Average |
---|
The following Moving Average types are available for calculations:
|
PLOTS
The plot renders the data you are working with on the chart. You can show/hide a plot by clicking the corresponding item in the settings. Every plot has a set of basic settings that you can change: color, weight, and type.
Plot | Description |
---|---|
Historgram1 | The upper histogram |
Histogram2 | The lower histogram |
Zero | The Zero line |
Color |
---|
Click the color rectangle under the plot's name to open the palette. Use the slider at the bottom to set the opacity of the color. To create a custom color:
The custom-created colors are added to your palette. To remove a custom color, drag it out of the palette. |
Weight |
Change the value (in px) to adjust the thickness of the plot. |
Type |
The following plot types are available:
|
OVERLAYING
Check Overlaying to display the indicator on the chart. Otherwise, the indicator is shown in a study pane down below.