Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


RAVI (Range Action Verification Index) - indicator for MetaTrader 5

Nikolay Kositsin | English Русский 中文 Español Deutsch 日本語 Português

votes: 19
2016.10.10 15:44
2016.11.22 07:32
RAVI.mq5 (8.83 KB)view

Real author:


The indicator represents the relative convergence/divergence of the moving averages of the financial asset, increased a hundred times. It is based on a different principle than the ADX. Chande suggests a 13-week SMA as the basis for the indicator. It represents the quarterly (3 months = 65 working days) sentiments of the market participants concerning prices. The short moving average comprises 10% of the one and is rounded to seven.

Tushar Chande suggests the following reference lines for the RAVI indicator: plus-minus 0.3% or plus-minus 0.1% (depending on the market). When the indicator crosses the upper reference line upward, an uptrend is considered to have started. When the indicator crosses the lower reference line downward, a downtrend is considered to have started. The uptrend is considered to be continuing while the RAVI line grows. The downtrend, respectively, while the RAVI falls. As soon as the indicator reverts to the zero line, the trend is considered to have ended, and a channel is considered to have started. But if the indicator reverses again, without entering the gap between the reference lines, the trend is considered to have resumed.

Essentially, the proposed indicator is quite simple and almost identical to the Price Oscillator and MACD. The uniqueness is in the use of the price convergence-divergence value as the trend indication, paying attention to the divergence and not the crossing of the averages.

After examining the plotting method of the АDХ, it can be said that the indicator has two smoothings. RAVI has one smoothing. This makes the indicator more sensitive. With the specified values, it warns about the beginning and end of a trend earlier than an 18-day ADX.

The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Originally this indicator has been written in MQL4 and was first published in the Code Base on 15.02.2008.

Fig.1. The RAVI indicator

Fig.1. The RAVI indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

Exp_PPO_Cloud Exp_PPO_Cloud

The Exp_PPO_Cloud EA is based on the signals generated by the PPO_Cloud oscillator.


The PPO_Cloud indicator with the timeframe selection option available in input parameters.

PPO_Sign PPO_Sign

Semaphore signal indicator based on the relative smoothed rate of price change.

CandlesticksBW CandlesticksBW

The indicator colors the candlesticks according to B. Williams.