math.tan() - Pine Script Function
math.tan()
Section titled “math.tan()”Overview
Section titled “Overview”The tan function returns the trigonometric tangent of an angle.
Syntax
Section titled “Syntax”math.tan(angle) → const floatParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| angle | const int/float | Angle |
| in | — | radians. |
Returns
Section titled “Returns”The trigonometric tangent of an angle.