Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

RVRResistance - indicator for MetaTrader 5

Views:
6092
Rating:
(12)
Published:
2018.06.18 16:24
RVRResistance.mq5 (12.13 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Indicator RVR Price Resistance oscillator based on indicator Range_Volume_Ratio 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 allows identifying the highest and the lowest price movement resistance by comparing the bar range (from Open to Close or from High to Low) to tick volume. Direct ratio (range/volume) allows identifying the lowest resitance, while the reverse ratio (volume/range) allows identifying the highest resistance against price changes.

It has seven 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;
  • Min points - filter by the minimum candlestick size;
  • Min volume - filter by the minimum bar volume;
  • 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.
  • Inverse - reverse calculations (Yes/No), Yes - identifying the highest resistance, No - the lowest one.

Filtering by the minimum candlestick size and volume just excludes from the calculations the candlestick size and volume that are lower than the specified values in these settings. In such case, the values specified here are taken into account, not the real size and volume.

Calculations:

If Inverse = No:

SR = Diff / Vol

If Inverse = Yes:

SR = Vol / Diff
Vol = Max(Volume, Min volume)
Diff = Max(RVR, Min points)
RVR - Range Volume Ratio
Signal = Moving average(SR, Period, Method)

Fig.1. Calculating the lowest resistance by Open/Close

Fig.1. Calculating the lowest resistance by Open/Close

Fig.2. Calculating the lowest resistance by High/Low

Fig.2. Calculating the lowest resistance by High/Low

Fig.3. Calculating the highest resistance by Open/Close (the higher the column is, the stronger the price change resistance is)

Fig.3. Calculating the highest resistance by Open/Close (the higher the column is, the stronger the price change resistance is)

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20923

Range_Volume_Ratio_S Range_Volume_Ratio_S

Indicator of candlestick size / tick volume ratios and signal line.

Range_Volume_Ratio Range_Volume_Ratio

Indicator of candlestick size / tick volume ratios.

Wiseman_HTF Wiseman_HTF

Indicator Wiseman with the timeframe selection option in its input parameters.

WEVOMO WEVOMO

Weight Volume Move-Adjusted Moving Average.