talib.rising

Tests whether source has been rising across length bars. It returns a bool, so it drops straight into a condition.

talib.rising(series float source, series int length) → series bool
ParameterTypeRequiredDescription
sourceseries floatyesThe series to test.
lengthseries intyesHow many bars the test looks across.

Returns series bool — A series bool.

indicator("Rising close")
plotshape(talib.rising(close, 5), title = "Rising")

See also talib.alma · talib.atr · talib.barssince

Part of the function index.

Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.
Upgrade