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 | RSI_Overlay

Indicator RSI Overlay displays the chart as colored candles in accordance with the data of oscillator RSI.

It has five adjustable parameters:

  • Data RSI Compare mode - RSI data comparison mode
    • RSI vs level 50 - RSI line as referred to level 50
    • RSI vs OB/OS levels - RSI line as referred to the overbought/oversold levels
    • Current and previous RSI values - comparing the current and previous values of the RSI line
  • RSI period - RSI calculation period
  • RSI applied price
  • RSI overbought - RSI overbought level
  • RSI oversold -  RSI oversold level

RSI vs level 50:

  • If the RSI line is above level 50,
    then the bullish candle is displayed in green
    the bearish candle is displayed in light-green
  • If the RSI line is below level 50,
    then the bearish candle is displayed in red
    the bullish candle is displayed in light-red

RSI vs OB/OS levels:

  • If the RSI line is above the overbought level,
    then the bullish candle is displayed in green
    the bearish candle is displayed in light-green
  • If the RSI line is below the oversold level,
    then the bearish candle is displayed in red
    the bullish candle is displayed in light-red
  • In all other cases, the candle is gray

Current and previous RSI values:

  • If the RSI values grow,
    then the bullish candle is displayed in green
    the bearish candle is displayed in light-green
  • If the RSI values fall,
    then the bearish candle is displayed in red
    the bullish candle is displayed in light-red
  • In all other cases, the candle is gray

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 1. RSI Overlay + RSI. Data RSI Compare mode = RSI vs level 50

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 2. RSI Overlay + RSI. Data RSI Compare mode = RSI vs OB/OS levels

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 3. RSI Overlay + RSI. Data RSI Compare mode = Current and previous RSI values

23429