Skip to content
Algo Trade Analytics Docs

math.tan() - Pine Script Function

The tan function returns the trigonometric tangent of an angle.

math.tan(angle) → const float
NameTypeDescription
angleconst int/floatAngle
inradians.

The trigonometric tangent of an angle.