math.atan
The arctangent of angle, in radians.
It is defined for every number.
math.atan(const float angle) → const floatmath.atan(input float angle) → input floatmath.atan(series float angle) → series floatmath.atan(simple float angle) → simple float| Parameter | Type | Required | Description |
|---|---|---|---|
angle | const float | yes | A tangent value. 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("Arctangent")
plot(math.atan(1.0))See also math.abs · math.acos · math.asin
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.