ROIRioux

Gator Tail

Gator Tail

Building on Bill William’s Alligator, the Gator Tail provides the trader with a scaled value of deviation between the market price and the rolling average. Meant to be used as a trend reversal indicator, best results when combined with the Awesome Oscillator (AO).



Script Theory Basics
This script is based off of the Bill Williams Alligator indicator. In this indicator, the variance between the ‘jaw’ and the current price represents the deviation of price from its average. Using the alligator, the trader must identify this using their eye only. This script provides a numerical value, charted in histogram format like the Awesome Oscillator. Using the two in tandem allows the trader to identify reversal points and act on positions accordingly.



Script Technicalities
The Gator Tail value is derived as follows. To preface, the ‘jaw’ is a 13 period simple moving average, plotted 8 periods into the future on the chart. A calculation is performed on the ‘jaw’ value to extract its current value less the offset. This value is compared to the current price at the time of printing the equation. Price takes the hl2 value (high + low / 2). The variance between the two values is calculated by subtracting the jaw offset from the price value, and dividing this value by the offset value ( / jaw offset). This value prints as an absolute (irrespective of positive or negative) and gets plotted on the chart for the period. The range of values is 0.00 to 1.00. 



Using Gator Tail

Any value above 0.20 is considered to be in the warning range. Values exceeding the 0.35-0.40 range are considered to be highly deviated. Highly deviated Gator Tail values combined with a color reversal from the AO indicate an entry/exit point in the chart.
Using the two indicators on top of one another provides an easy visual cue to identify market reversal points. In the example chart above, we can see the red arrows on the Gator Tail coinciding with the AO reversals to result in the chart movements in the candlestick pane.

Limitations
This indicator does not work well with cryptocurrencies (altcoins or otherwise). The prices in these markets have few ties to macroeconomic trends or performance of an underlying asset. When testing this script, it was not found to be a reliable predictor of market reversals. This script is meant to be used with standard equities (stocks, stock options, currencies) where markets follow a reasonable level of predictability and have some underlying tie to real world events and relativity to historical prices.

Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?