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 Indicators | TrendRSI_v1 | Source Code Included

Discover expert developed MetaTrader tools that can complement professional solutions.

Real author:

TrendLaboratory Ltd.

The RSI oscillator with two signal lines.

Never miss news-driven moves – use the News OCO Expert Advisor to place pending orders safely around economic releases. Find out more.

Indicator input parameters:

//+----------------------------------------------+
//| Indicator input parameters                   |
//+----------------------------------------------+
input uint                 RSIPeriod=14;
input ENUM_APPLIED_PRICE   RSIPrice=PRICE_CLOSE;
input uint                 FastMAPeriod=9;
input  ENUM_MA_METHOD      FastMAType=MODE_EMA;
input uint                 SlowMAPeriod=45;
input  ENUM_MA_METHOD      SlowMAType=MODE_EMA;
input int                  Shift=0;           // Horizontal shift of the indicator in bars

Originally this indicator has been written in MQL4 and was first published in the Code Base at mql4.com on 18.09.2007.

Figure 1. The TrendRSI_v1 indicator

Figure 1. The TrendRSI_v1 indicator

Thanks for reading. Discover premium MetaTrader solutions at RobotFX.

2262

Best MetaTrader Indicators + Profitable Expert Advisors