Volume
 

Short Name: Volume

Definition: Array of values representing the day by day volume

Usage: volume or volume(50,1000000)

Objective:
  • Retrieve the volume values
  • Returns an array of values.

Note:
  • All parameters are optional
  • The first parameter is a period for moving average, 50 if omitted
  • The second parameter is a divider, 1000000 by default. It is used to make results more readable

Examples:
  • volume
  • volume(50)
  • volume(50,1000000)
  • Force Index:
  • prevClose = shiftedRight(close,1)
  • fi = (close - prevClose) * volume
  • fiAvg = expAvg(fi,13)
  • notifyResult(fiAvg)