Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Range Volume Ratio S

Smoothed Range Volume Ratio is an oscillator based on indicator Range_Volume_Ratio. It shows in a separate window, as a histogram, the candlestick size / tick volume ratios by two parameters:

  1. Difference between Open and Close;
  2. Difference between High and Low.

It also displays a signal line plotted by the method of smoothing the histogram values.

The color of the histogram columns can be displayed by two methods:

  1. By the value of the previous column. If the previous column is above the signal line, then the color is green. Otherwise, it is orange;
  2. One-color histogram - all columns are of one color.

The indicator has four input parameters:

  • Calculation type - type of calculations:
    • Open/Close - difference between Open and Close;
    • High/Low - difference between High and Low.
  • Period - smoothing period of the signal line;
  • MA Method - signal line calculation method;
  • Colors setting - color settings:
    • By previous bar position - histogram column color by the value of the previous column;
    • One color - one color.

Calculations:

If the calculation type is Open/Close:

RVR[i] = Abs(Open[i] - Close[i]) / Volume[i]

If the calculation type is High/Low:

RVR[i] = (High[i] - Low[i]) / Volume[i]

where:

Volume - the tick volume of the candlestick  Signal = Moving average(RVR, Period, Method)  

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.1. Calculations by Open/Close, one color

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.2. Calculations by Open/Close, the color by the value of the previous column

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.3. Calculations by High/Low, the color by the value of the previous column

20922

Best MetaTrader Indicators + Profitable Expert Advisors