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