Join our fan page
- Views:
- 7220
- Rating:
- Published:
- 2017.01.18 10:02
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Semaphore signal indicator based on the RSI indicator, which features alerts, sending emails and push-notifications to mobile devices.
The indicator is based on the idea that the price reversal is preceded by a reduction in indicator change rate and its reversal. For this purpose, it searches for the intervals where the price begins to stagnate in the overbought or oversold area of the fast RSI indicator.
The indicator provides the ability to mark these areas with arrows on the chart. It is also possible to disable searching for the RSI slowdowns. In that case, the indicator will simply display exceedance of the RSI levels specified in the settings — LevelMax and LevelMin.
//+----------------------------------------------+ //| Indicator input parameters | //+----------------------------------------------+ input uint RSIPeriod=2; // RSI Period input ENUM_APPLIED_PRICE RSI_Price=PRICE_CLOSE; // RSI Price input double LevelMax=90; // Signal Level Max input double LevelMin=10; // Signal Level Min input bool SeekSlowdown=true; // Seek Slowdown input int Shift=0; // Horizontal indicator shift in bars //---- Input variables for alerts input uint NumberofBar=1; // Bar number for the signal input bool SoundON=true; // Enable alerts input uint NumberofAlerts=2; // Number of alerts input bool EMailON=false; // Enable mailing the signal input bool PushON=false; // Enable sending the signal to mobile devices
Originally this indicator has been written in MQL4 and was first published in the Code Base on 05.10.2016.
Fig1. The RSI_Slowdown indicator
Fig.2. The RSI_Slowdown indicator generating alert
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/16514
![Exp_Delta_WPR](https://c.mql5.com/i/code/expert.png)
The Exp_Delta_WPR Expert Advisor is based on the Delta_WPR indicator color change.
![Delta_WPR_HTF](https://c.mql5.com/i/code/indicator.png)
The Delta_WPR indicator with the timeframe selection option available in the input parameters.
![Convenient use of indicators](https://c.mql5.com/i/code/library.png)
Here are 6 classes, designed for convenient and intuitive use of indicators in your code.
![Exp_RSI_Slowdown](https://c.mql5.com/i/code/expert.png)
Trading system based on the signals of the RSI_Slowdown indicator.