OPEN-SOURCE SCRIPT

SUPER Alligator[Gabbo]

By Gabbo1064
Updated
this indicator serves to differentiate the classic type Line and source of Alligator

snapshot

There are the classic inputs for the 3 lines (Jaw, Teeth and Lips) in addition to the choice of the normal source and the type of line, the choices are:
  • SMA = Simple moving average
  • EMA = Exponential moving average
  • WMA = Weighted moving average
  • RMA = Rolling moving average
  • HMA = Hull moving average
  • JMA = Jurik moving average
  • DEMA = Double exponential moving average
  • TEMA = Triple exponential moving average
  • LSMA = Least squares moving average
  • VWMA = Volume-weighted moving average
  • SMMA = Moving average Smoothed
  • KAMA = Kaufman Moving Average Adaptive
  • ALMA = Arnaud Legoux moving average
  • FRAMA = Fractal Adaptive moving average
  • VIDYA = Variable Index Dynamic Average


There are also Inputs that are valid only for some styles such as:
  • JMA = "Phase" and "Power"
  • ALMA = "Offset" and "Sigma"
  • FRAMA = "Lower shift ( FC )" and "Upper shift ( SC )"
  • VIDYA = "Fixed CMO Lenght (9)?" and "Calculation Method: CMO/StDev?"


snapshot
Selecting the input: "Use Different Source ???" you can use a source with multiple elements of your choice:
  • 2 = (Source 1 + Source 2) / 2
  • 3 = (Source 1 + Source 2 + Source 3) / 3
  • 4 = (Source 1 + Source 2 + Source 3 + Source 4) / 4
  • 5 = (Source 1 + Source 2 + Source 3 + Source 4 + Source 5) / 5


snapshot
These are the editable Inputs for Plots:
*"Jaw/ Teeth/ Lips ???" = to arm / disarm the Lines
*"Fill Line???" = to insert / de-sensitize the fill of the Long and Short Lines - Long = Lips> Teeth> Jaw - Short = Jaw> Teeth> Jaw - Neutral = rest
*"Fill Background???" = to insert / desensit the background of the Long and Short Lines - Long = Lips> Teeth> Jaw - Short = Jaw> Teeth> Jaw - Neutral = rest
Release Notes
correction
Alligator IndicatoralligatorindicatorbackgroundBill Williams IndicatorsFILLJAWlipsmoving_averageMoving Averagessourceteeth
Gabbo1064

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer