Alligator.Lips

Calculates the Lips of the Alligator indicator.

Accepts the following parameters:

Parameter NameTypeDefault ValueNotes
applyToSeries<Number>
median
-
periodNumber5-
shiftNumber3-

Returns: Series<Number>

Alligator.Lips is a built-in function - you can use it directly. Below is an example implementation:

1 function Alligator.Lips(applyTo = median, period = 5, shift = 3):
2 SMA(applyTo[shift], period)