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
"""
passThe CM EMA TRENDBARS indicator requires 3 input and 1 option parameters.
This indicator returns 2 outputs
Inputs
high- anumpy.arrayofnumpy.float64low- anumpy.arrayofnumpy.float64close- anumpy.arrayofnumpy.float64
Options
ema_length-float | int
Outputs
?usdema(ohlc)bar_color