The SpearmanRankCorrelation_Histogram indicator with the ability to send alerts, emails and push notifications when trading signals emerge. Possible signal options:
-
Zero breakthrough by the histogram;
-
Overbought or oversold levels breakthrough;
-
Exiting overbought or oversold areas.
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 SmoothAlgorithms.mqh library classes (copy it to terminal_data_folderMQL5Include). The use of the classes was thoroughly described in the article
Fig.1. SpearmanRankCorrelation_Histogram_Alerts. Zero breakout on the first bar.
Fig.2. SpearmanRankCorrelation_Histogram_Alerts. Alert.