ABS Function
Modified on 2011/07/22 07:01 by Chad Lowe (CTS) — Categorized as: Uncategorized
ABS( <
value
> )
¶
Calculates the absolute value of a number.
Function Parameters
Parameter
Description
<
value
>
The value to compute (e.g.
CLOSE
,
HIGH
,
(H+L+C)/3
, etc.)
Examples:
ABS(5.8)
Evaluates to 5.8
ABS(-5.8)
Evaluates to 5.8
Back to the Scripting Function Reference