Indicators
Indicators
Exponential Moving Average (ema)

Exponential Moving Average (ema)

def ema(real: NDArray[Shape["*", Float]], period: float | int) -> NDArray[Shape["*"], Float]:
    """
    Exponential Moving Average
    Inputs: real
    Options: period[9]
    Outputs: ema(ohlcv)
    """
    pass

The Exponential Moving Average indicator requires 1 input and 1 option parameters.

This indicator returns 1 outputs

Inputs

  • real - a numpy.array of numpy.float64

Options

  • period - float | int

Outputs

  • ema(ohlcv)