#### Home >> (Table of Contents) Studies and Indicators >> Technical Studies Reference >> Relative Vigor Index 1

# Technical Studies Reference

- Technical Studies Reference
- Common Study Inputs (Opens a new page)
- Using Studies (Opens a new page)

### Relative Vigor Index 1

This study calculates and displays three indicators: the Relative Vigor Index (RVI), a Smoothed RVI, and a Signal Line for the Price Data.

Let \(O_t\), \(H_t\), \(L_t\), and \(C_t\) denote, respectively, the values of the Open, High, Low, and Close Prices at Index \(t\). The Relative Vigor Index at Index \(t\) is denoted as \(RVI_t\), and we compute it for \(t \geq 0\) as follows.

\(\displaystyle{RVI_t = \frac{C_t - O_t}{H_t - L_t}}\)It is the other two Subgraphs of **Relative Vigor Index 1** that are used to generate Buy and Sell signals: the Smoothed RVI and the Signal Line.

Let \(n\) and \(n_{Sig}\) denote the **Smoothed RVI Length** and **Signal Length** Inputs, respectively. We denote the Smoothed RVI and the Signal Line for the given Inputs at Index \(t\) as \(\overline{RVI}_t(n)\) and \(Sig_t(n_{Sig})\), respectively, and we compute them for \(t \geq \max\{n,n_{Sig}\} - 1\) in terms of Simple Moving Averages as follows.

\(Sig_t(n_{Sig}) = SMA_t(RVI,n_{Sig})\)

**Note**: Depending on the setting of the Inputs **Smoothed RVI Average Type** and **Signal Average Type**, the Simple Moving Averages in the calculations of the Smoothed RVI and the Signal Line could be replaced with Exponential Moving Averages, Linear Regression Moving Averages, Weighted Moving Averages, Wilders Moving Averages, Simple Moving Averages - Skip Zeros, or Smoothed Moving Averages.

Let the **Arrow Offset Percentage** Input be denoted as \(k\).

A Buy Signal is indicated by an Up Arrow at Index \(t\) if the Subgraph of the Smoothed RVI crosses the Subgraph of the Signal Line from below. That is, a Buy Signal at \(t\) satisfies the conditions \(\overline{RVI}_{t - 1}(n) < Sig_{t - 1}(n_{Sig})\) and \(\overline{RVI}_t(n) > Sig_t(n_{Sig})\). The vertical coordinate of the tip of the arrow is given by \(Sig_t(n_{Sig}) - \frac{k}{100}Sig_t(n_{Sig})\).

A Sell Signal is indicated by a Down Arrow at Index \(t\) if the Subgraph of the Smoothed RVI crosses the Subgraph of the Signal Line from above. That is, a Sell Signal at \(t\) satisfies the conditions \(\overline{RVI}_{t - 1}(n) > Sig_{t - 1}(n_{Sig})\) and \(\overline{RVI}_t(n) < Sig_t(n_{Sig})\). The vertical coordinate of the tip of the arrow is given by \(Sig_t(n_{Sig}) + \frac{k}{100}Sig_t(n_{Sig})\).

#### Inputs

#### Spreadsheet

The spreadsheet below contains the formulas for this study in Spreadsheet format. Save this Spreadsheet to the Data Files Folder.

Open it through **File >> Open Spreadsheet**.

*Last modified Friday, 14th June, 2019.