Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

RVI_Chart - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

RVI_Chart - indicator for MetaTrader 5

Yuri Tokman (YTG)

RVI oscillator relative to the Moving Average indicator in the main chart window. RVI is plotted as a colored cloud, with the moving average in blue.

Indicator input parameters:

 //+------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------+
Input unit RVIP period = 14 ; Input Smooth_Method XMA_Method= Mode_SMMA ; // Average method
Input unit X length = 12 ; // average depth
Input integer X phase = 15 ; // Smoothing parameter
//---- For JJMA in the range of -100 ... +100, it will affect the quality of the transition process;
//----For VIDIA, it is the CMO cycle, for AMA, it is the slow average cycle
Enter double development = 1000.0 ; // indicator deviation
Enter ENUM_APPLIED_PRICE apply price = PRICE_CLOSE ; // price type or handle
Enter integer shift = 0 ; // indicator moves horizontally (in bars)

The indicator uses SmoothAlgorithms.mqh library class (copy it to \MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

RVI_Chart - indicator for MetaTrader 5

Figure 1. RVI_Chart indicator


Attachment download

📎 smoothalgorithms.mqh (130.19 KB)

📎 rvi_chart.mq5 (11.52 KB)

Source: MQL5 #15114

Verification code Refresh