下载MetaTrader 5

请观看如何免费下载自动交易

有趣的脚本?
因此发布一个链接 -
让其他人评价

喜欢这个脚本? 在MetaTrader 5客户端尝试它

2005.12.22 13:36
指标

Relative Vigor Index, RVI - MetaTrader 4脚本

| Chinese English Русский Español Deutsch 日本語 Português

显示:
2158
等级:
投票: 7
rvi.gif (8.8 KB)
RVI.mq4 (3.06 KB)预览


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

本文译自 MetaQuotes Software Corp. 撰写的俄文原文
官方代码: https://www.mql5.com/ru/code/8035

加速震荡(AC) 加速震荡(AC)

加速/减速技术指标(AC)用于衡量当前驱动力的加速和减速。

平均趋向指数(ADX) 平均趋向指数(ADX)

平均趋向指数指标(ADX)用来帮助判断市场是否存在趋势。

60 EMA profit 60 EMA profit

直观显示60EMA均线交易系统的赢利和亏损。

Ticks Volume 指标 Ticks Volume 指标

在期货市场上,交易量的数据会有一天的延迟,为了解决这个问题,许多分析员使用 tick volume 指标 (tick volume,订单交易量).