Indicators
Indicators
Mass Index (mass)

Mass Index (mass)

def mass(high: NDArray[Shape["*", Float]], low: NDArray[Shape["*", Float]], period: float | int) -> NDArray[Shape["*"], Float]:
    """
    Mass Index
    Inputs: high, low
    Options: period
    Outputs: mass
    """
    pass

The Mass Index indicator requires 2 input and 1 option parameters.

This indicator returns 1 outputs

Inputs

  • high - a numpy.array of numpy.float64
  • low - a numpy.array of numpy.float64

Options

  • period - float | int

Outputs

  • mass