Join our fan page
- Views:
- 3781
- Rating:
- Published:
- 2018.11.20 12:45
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
SR-RateIndicator indicator provides alerts, sends email and push notifications when overbought/oversold levels are broken through by the histogram.
Input parameters for activating signals:
input uint NumberofBar=1; // Bar number for the signal activation 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
The indicator uses the OneSideGaussian.mqh Gaussian algorithms library (should be copied to the terminal_data_folder\MQL5\Include).
Fig. 1. SR-RateIndicator_Alert indicator. The histogram breaks through the overbought level on a zero bar
Fig. 2. SR-RateIndicator_Alert. Activating an alert
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/23098
![SpearmanRankCorrelation_Histogram](https://c.mql5.com/i/code/indicator.png)
SpearmanRankCorrelation indicator implemented in the form of a color histogram
![SpearmanRankCorrelation_Histogram_HTF](https://c.mql5.com/i/code/indicator.png)
SpearmanRankCorrelation_Histogram indicator with the timeframe selection option available in input parameters
![SR-RateIndicator_HTF](https://c.mql5.com/i/code/indicator.png)
SR-RateIndicator indicator with the timeframe selection option available in input parameters
![Open Close](https://c.mql5.com/i/code/expert.png)
Another variation of the strategy based on the current candle being higher or lower than the previous one