talib.tsi
True Strength Index for source, smoothed by two lengths, r and s.
Both are ints, and both are required.
talib.tsi(series float source, series int r, series int s) → series float| Parameter | Type | Required | Description |
|---|---|---|---|
source | series float | yes | The series the index is calculated on. |
r | series int | yes | One of the two smoothing lengths. |
s | series int | yes | The other smoothing length. |
Returns series float — A series float index value.
indicator("True Strength Index")
plot(talib.tsi(close, 25, 13))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.