talib.range
How much ground source covered over the last length bars, expressed as one figure.
Any series is accepted, so the window need not be a price window.
talib.range(series float source, series int length) → series float| Parameter | Type | Required | Description |
|---|---|---|---|
source | series float | yes | The series to measure. |
length | series int | yes | How many bars the window covers. |
Returns series float — A series float.
indicator("Range of 20 bars")
plot(talib.range(close, 20))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.