Short Name: Minimum

Definition: Returns a value or an array of values representing the minimum of object1 and object2

Usage: minimum(object1,object2)

  • Execute a test and returns a value or an array representing the minimum
  • Returns a scalar value or an array of values.

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

  • minimum(1,2) always returns 1
  • minimum(low,1000) returns an array where each value is either the low of the day if lower than 1000, or the value 1000
  • minimum(open,close) returns an array, with either the open or the close of the day.