There are several arithmetic functions that you can use to modify the expressions in your scan. For more information on writing scans using these and other types of scan syntax, please see our Support Center article on Writing Scans.
The Absolute Value of the expression.
Syntax:
Parameters:
Example:
The number of periods in the specified timeframe where the value has decreased for the given expression such as “close”, “volume” or “rsi(14)”.
Syntax:
Parameters:
Operators:
Example:
The number of periods in the specified timeframe where the value has increased for the given expression such as “close”, “volume” or “rsi(14)”.
Syntax:
Parameters:
Operators:
Example:
The highest value of the expression over the specified time period. See our Support Center article on Writing Min/Max Scans for more information.
Syntax:
Parameters:
Example:
The lowest value of the expression over the specified time period. See our Support Center article on Writing Min/Max Scans for more information.
Syntax:
Parameters:
Example:
The percentage change of the expression over the specified time period. See our Support Center article on Writing Percent Change Scans for more information.
Syntax:
Parameters:
Example:
The percentage difference between two expressions.
Syntax:
Parameters:
Example:
The difference between the security's Percent Change (PctChange) value and the PctChange value of the specified symbol.
Syntax:
Parameters:
Operators:
Example:
The number of periods in a row where the value has decreased for the given expression such as “close”, “volume” or “rsi(14)”.
Syntax:
Parameters:
Operators:
Example:
The number of periods in a row where the value has increased for the given expression such as “close”, “volume” or “rsi(14)”.
Syntax:
Parameters:
Operators:
Example: