what is the relative vigor index 
the relative vigor index rvi is a momentum indicator used in technical analysis it measures the strength of a trend by comparing a security s closing price to its trading range while smoothing the results using a simple moving average sma the rvi s usefulness is based on the observed tendency for prices to close higher than they open during uptrends and to close lower than they open in downtrends image by sabrina jiang investopedia 2021the formula for the relative vigor index rvi the rvi formula may look complicated but it is really fairly intuitive numerator a 2 b 2 c d 6 denominator e 2 f 2 g h 6 rvi sma of numerator for n periods sma of denominator for n periods signal line rvi 2 i 2 j k 6 where a close open b close open one bar prior to a c close open one bar prior to b d close open one bar prior to c e high low of bar a f high low of bar b g high low of bar c h high low of bar d i rvi value one bar prior j rvi value one bar prior to i k rvi value one bar prior to j n minutes hours days weeks months begin aligned text numerator frac a 2 times b 2 times c d 6 7pt text denominator frac e 2 times f 2 times g h 6 7pt text rvi frac text sma of numerator for n periods text sma of denominator for n periods 7pt qquad text signal line frac text rvi 2 times i 2 times j k 6 7pt textbf where a text close text open b text close text open one bar prior to a c text close text open one bar prior to b d text close text open one bar prior to c e text high text low of bar a f text high text low of bar b g text high text low of bar c h text high text low of bar d i text rvi value one bar prior j text rvi value one bar prior to i k text rvi value one bar prior to j n text minutes hours days weeks months end aligned numerator 6a 2 b 2 c d denominator 6e 2 f 2 g h rvi sma of denominator for n periodssma of numerator for n periods signal line 6rvi 2 i 2 j k where a close openb close open one bar prior to ac close open one bar prior to bd close open one bar prior to ce high low of bar af high low of bar bg high low of bar ch high low of bar di rvi value one bar priorj rvi value one bar prior to ik rvi value one bar prior to jn minutes hours days weeks months 