28评论

0收藏

相对活力指数指标源代码RVI

avatar 花果山的猫 | 11613 人阅读 | 28 人评论 | 2013-07-22

主题:
Relative Vigor Index, RVI
创建人:
MetaQuotes (2005.12.22 14:36 )
已下载:
698
下载:

                               
登录/注册后可看大图
RVI.mq4 (3.1 Kb) View

                               
登录/注册后可看大图
rvi.gif (8.8 Kb)
2154.jpg
    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.
""
还没有人打赏,支持一下

评论|共 28 个

卡拉爱光

发表于 2014-10-29 14:17:46 | 显示全部楼层

看看,看看。谢谢。你要发,我也要发。

外汇指标

发表于 2014-10-29 14:30:03 | 显示全部楼层

下了  的确不错

island

发表于 2014-11-3 03:33:52 | 显示全部楼层

看看怎么样

lj4721

发表于 2014-12-8 16:59:05 | 显示全部楼层

多谢分享 看看是什么

orange0224

发表于 2014-12-10 00:22:32 | 显示全部楼层

看看吧,谢谢分享

l-pope

发表于 2015-3-14 09:39:38 | 显示全部楼层

看看怎么样

362650330

发表于 2015-4-21 02:42:53 | 显示全部楼层

怎么下载啊

2640125869

发表于 2015-4-21 12:35:21 | 显示全部楼层

什么下载呀

2640125869

发表于 2015-4-21 12:36:40 | 显示全部楼层

什么下载呀?是EA吗?

123下一页
您需要登录后才可以回帖 登录 | 注册 微信登录

EA之家评论守则