Indicators
Indicators
CM EMA TRENDBARS (cm_ema_trendbars)

CM EMA TRENDBARS (cm_ema_trendbars)

def cm_ema_trendbars(high: NDArray[Shape["*", Float]], low: NDArray[Shape["*", Float]], close: NDArray[Shape["*", Float]], ema_length: float | int) -> NDArray[Shape["2 *"], Float]:
    """
    CM EMA TRENDBARS
    Inputs: high, low, close
    Options: ema_length[34]
    Outputs: ?usdema(ohlc), bar_color
    """
    pass

The CM EMA TRENDBARS indicator requires 3 input and 1 option parameters.

This indicator returns 2 outputs

Inputs

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

Options

  • ema_length - float | int

Outputs

  • ?usdema(ohlc)
  • bar_color