Skip to content
Algo Trade Analytics Docs

math.asin() - Pine Script Function

The asin function returns the arcsine (in radians) of number such that sin(asin(y)) = y for y in range [-1, 1].

math.asin(angle) → const float
NameTypeDescription
angleconst int/floatThe value
inradians
touse in the calculation.

The arcsine of a value; the returned angle is in the range [-Pi/2, Pi/2], or na if y is outside of range [-1, 1].