math.acos
The arccosine of angle, in radians.
It is defined for a value from -1 to 1.
math.acos(const float angle) → const floatmath.acos(input float angle) → input floatmath.acos(series float angle) → series floatmath.acos(simple float angle) → simple float| Parameter | Type | Required | Description |
|---|---|---|---|
angle | const float | yes | A cosine value from -1 to 1. The contract spells this argument angle, though here the angle is the result rather than the value you pass. |
Returns const float or input float or series float or simple float — The angle in radians, as a float in the argument’s form.
indicator("Arccosine")
plot(math.acos(0.5))See also math.abs · math.asin · math.atan
Part of the function index.
Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.