math.abs

Absolute value.

math.abs(x: int/float) -> int/float

Parameters

Example

body = math.abs(close - open)