Substraction
 

Short Name: -

Definition: Represent a subtraction operation

Usage: 1 - 2 or high - low

Objective:
  • Execute a subtraction of values or arrays
  • Returns a scalar value or an array of values.

Note:
  • Return value depends on the operands. If one of the operand is an array, then returns an array

Examples:
  • 5 - 2 returns 3
  • high - low returns an array where each value is the subtraction of the high and the low for the day
  • open - 2 returns an array where each value is the subtraction of the open for the day