Script: Division | Mastock Help



Short Name: /

Definition: Represent a division operation

Usage: 1 / 2 or high / low

Objective:
  • Execute a division 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:
  • 6 / 2 returns 3
  • high / low returns an array where each value is the division of the high by the low for the day
  • open / 2 returns an array where each value is the division of the open for the day by 2