# Relative Volatility Index (RVI)

#### Description <a href="#description_98" id="description_98"></a>

The Relative Volatility Index (RVI) has many similarities to the RSI indicator. Donald Dorsey developed the RVI, which uses the standard deviation instead of the daily price span. To determine the underlying volatility of the instrument, the RVI uses the standard deviation over a period of 10. The RSI indicator is then used on the results, which normalizes them. What comes from this is displayed on a scale of 1 to 100.

#### Interpretation <a href="#interpretation_47" id="interpretation_47"></a>

Values above 50 assume an increase in volatility. Values below 50 imply a drop in volatility. Dorsey recommends using the indicator as a filter for other indicators.

#### Further information <a href="#further-information_36" id="further-information_36"></a>

<http://vtadwiki.vtad.de/index.php/Relative_Volatility_Index_%28RVI%29>

#### Usage <a href="#usage_94" id="usage_94"></a>

```csharp
RVI(int period)
RVI(IDataSeries inSeries, int period)
RVI(int period)[int barsAgo]
RVI(IDataSeries inSeries, int period)[int barsAgo]
```

#### Return value <a href="#return-value_92" id="return-value_92"></a>

**double**

When using this method with an index (e.g. **RVI**(14)\[**int** barsAgo] ), the value of the indicator will be issued for the referenced bar.

#### Parameters <a href="#parameters_85" id="parameters_85"></a>

inSeries Input data series for the indicator

period Number of bars included in the calculations

#### Visualization <a href="#visualization_89" id="visualization_89"></a>

![Relative Volatility Index (RVI)](https://agenatrader.github.io/AgenaIndicator-documentation/media/RVI.jpg)

#### Example <a href="#example_89" id="example_89"></a>

```csharp
//Output of the RVI value
Print("The current value for the RVI is: " + RVI(14)[0]);
```


---

# 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://indicators.agenatrader.com/standard-indicators/relative-volatility-index-rvi.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.
