Alligator.Teeth

Calculates the Teeth of the Alligator indicator.

Accepts the following parameters:

Parameter NameTypeDefault ValueNotes
applyToSeries<Number>
median
-
periodNumber8-
shiftNumber5-

Returns: Series<Number>

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

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