Functions
talib.rising()
Test if the source series is now rising for length bars long.
Syntax
talib.rising(series float source, series int length) → series bool
Arguments
source required series float Series of values to process. length required series int Number of bars (length). Return Type
series bool Example
indicator("Rising Trend", overlay=true)
length = input(3, "Bars to Check")
isRising = talib.rising(close, length)
bgcolor(isRising ? color.green : na)