Optimized Alligator Rate

A less conventional way of utilizing the "Williams Alligator," the Optimized Rate uses the rate of change of the averages within the Alligator in order to potentially forecast with greater accuracy. The true optimization comes from the calculation of the "McGinley Dynamic" to create zero lag smoothed moving averages. It's important to note the standard Alligator has always used the SMMA. Lastly, divergence between the rates has been calculated in plotting for clarification.

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.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?