# Stoch RSI

Stochastic RSI, or Stoch RSI, is a derivative of the Relative Strength Index (RSI). It is a momentum oscillator type of technical indicator. It oscillates between 0-100 values. RSI values closer to 0 indicate oversold market conditions, while values closer to 100 indicate overbought conditions.&#x20;

{% hint style="info" %}
StockHero Stoch RSI: a buy signal is generated when Stoch RSI is oversold, a sell signal is generated when Stoch RSI is overbought.
{% endhint %}

![](/files/-M64NAGVQ-aWiQ3388gs)

Stochastic RSI values (red and blue lines) closer to 0 indicate overbought market conditions, while values closer to 100 indicate oversold conditions. Thresholds (yellow band) are usually assigned to Stochastic RSI values; anything below 20 indicates oversold, while values above 80 can indicate overbought. For time periods and trading intervals, lower thresholds may be used as a measure to reduce market noise or to produce a more confident signal.

```
RSI = 100 – 100/ (1 + RS)
RS = Average Gain of n days UP  / Average Loss of n days DOWN

Stoch RSI = (RSI - Lowest Low RSI) / (Highest High RSI - Lowest Low RSI)

Where:
n = Time Period
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stockhero.ai/technical-indicators/stoch-rsi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
