RelativeStrengthIndex
class backtide.indicators.RelativeStrengthIndex(period=14)
Relative Strength Index (RSI).
A momentum oscillator that measures the speed and magnitude of recent price changes on a scale of 0 to 100. Values above 70 are typically considered overbought; below 30, oversold. Useful for identifying overbought/oversold conditions, spotting divergences, and confirming trend strength.
Formula:
\[RSI = 100 - \frac{100}{1 + RS}\]
where \(RS = \frac{\text{avg gain over } n}{\text{avg loss over } n}\). Read more on Wikipedia.
| Parameters |
Look-back window length.
|
| Attributes |
Short ticker-style acronym.
name : str
Human-readable indicator name.
|
See Also
Commodity Channel Index (CCI).
MovingAverageConvergenceDivergence
Moving Average Convergence Divergence (MACD).
Stochastic Oscillator (STOCH).
Methods
| compute | Compute the indicator on a dataset. |
| description | Short explanation of what the indicator measures. |
method backtide.indicatorscompute(data)
Compute the indicator on a dataset.
method backtide.indicatorsdescription()
Short explanation of what the indicator measures.
| Returns |
str
The description.
|