Relative Vigor Index, RVI

0
(0)
Name:
Relative Vigor Index, RVI
Author: MetaQuotes (2005.12.22 14:36)
Downloaded: 6321
Download:
Relative Vigor Index, RVI 1
 RVI.mq4 (3.1 Kb) View
Relative Vigor Index, RVI 2 rvi.gif (8.8 Kb)
Relative Vigor Index, RVI 3
The main point of Relative Vigor Index Indicator (RVI) is that on the bull market the closing price is, as a rule, higher, than the opening price. It is the other way round on the bear market. So the idea behind Relative Vigor Index is that the vigor, or energy, of the move is thus established by where the prices end up at the close. To normalize the index to the daily trading range, divide the change of price by the maximum range of prices for the day. To make a more smooth calculation, one uses a symmetrically weighted moving average of the differences of the closing and openings prices, as well as maximum and minimum prices of the bar.

The best period at calculation of the indicator is considered 10. To avoid probable ambiguity one needs to construct a signal line, which is a symmetrically weighted moving averageof Relative Vigor Index values. The concurrence of lines serves as a signal to buy or to sell.

Calculation
    VALUE1 = ((CLOSE - OPEN) + 2 * (CLOSE (1)) – OPEN (1)) + 2*(CLOSE (2) – OPEN (2)) + (CLOSE (3) – OPEN (3))) / 6

VALUE2 = ((HIGH - LOW) + 2 * (HIGH (1) – LOW (1)) + 2*(HIGH (2)- LOW (2)) + (HIGH (3) – LOW (3))) / 6

NUM = SUM (VALUE1, N)

DENUM = SUM (VALUE2, N)

RVI = NUM / DENUM

RVISig = (RVI + 2 * RVI (1) + 2 * RVI (2) + RVI (3)) / 6

    where:
OPEN  — is the opening price;
HIGH  — is the maximum price;
LOW  — is the minimum price;
CLOSE  — is the closing price;
VALUE1 — symmetrically weighted moving average of the differences of the closing and openings prices;
VALUE2 — symmetrically weighted moving average of the differences of the maximum and minimum prices;
NUM — amount N importances of VALUE1;
DENUM —amount N importances of VALUE2;
RVI — value of the Relative Vigor Index indicator for the current bar;
RVISig — value of the RVI signal line for the current bar;
N — period of the smoothing.

Technical Indicator Description

Full description of Relative Vigor Index is available in the Technical analysis: Relative Vigor Index

2 comments  To post a new comment, please log in or register

What about the SUM value: NUM = SUM (VALUE1, N). Does it mean that the value of VALUE1 should be added to the value of N, the period of the smoothing?

Is the period of smoothing the one we change in the extern double? Is it the same as extern int ExtRVIPeriod=...?

Also, why is 'CLOSE' not 'Close[]'? It gives me errors when I try to compile it.

In general, if I'm creating an EA using two lines of an indicator, should I include/call that particular indicator using the double iCustom or cut that indicator's formula manually and paste it into the EA I'm making?

11.02.2008 20:44 bdht

I have been analyzing several different pairs using the RVI. I find using three RVI indicators of different values works very well. I have zero programing skills and find the web instruction very difficult to follow. Could someone create an EA or Indicator for me?

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.