Script: Multiplication | Mastock Help



Short Name: *

Definition: Represent a multiplication operation

Usage: 1 * 2 or high * low

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