math.sqrt
The square root of number.
It is defined for a number that is not negative.
math.sqrt(const float number) → const floatmath.sqrt(input float number) → input floatmath.sqrt(series float number) → series floatmath.sqrt(simple float number) → simple float| Parameter | Type | Required | Description |
|---|---|---|---|
number | const float | yes | The number to take the square root of. |
Returns const float or input float or series float or simple float — The square root, as a float in the argument’s form.
indicator("Square root of volume")
plot(math.sqrt(volume))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.