ta.crossunder

True when a crosses below b on this bar (a < b now, a >= b on the previous bar).

ta.crossunder(a: float, b: float) -> series bool

Parameters

Example

ta.crossunder(ta.ema(close, 9), ta.ema(close, 21))