# 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](http://vtadwiki.vtad.de/index.php/Relative_Volatility_Index_\(RVI\))

#### 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]);
```
