desktop:desktop_chart_scripting_function_reference_abs_value

This is an old revision of the document!


ABS Function

  • 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:

|Example 1
ABS(5.8)

Evaluates to 5.8

| Example 2
ABS(-5.8)

Evaluates to 5.8

  • desktop/desktop_chart_scripting_function_reference_abs_value.1641918591.txt.gz
  • Last modified: 2023/09/21 19:55
  • (external edit)