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

Original author:

Eva Ruft

The Heiken_Ashi_Smoothed_VolatilityStep indicator with the ability to send alerts, emails and push notifications when the indicator breaks through the trigger level specified in the inputs.

Input parameters for activating signals:

input uint AlertLevel=150;                      // Trigger level  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  input color AlertLevelColor=clrMagenta;         // Trigger level color  

The indicator uses SmoothAlgorithms.mqh library classes (copy it to terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.1. Heiken_Ashi_Smoothed_VolatilityStep_Alerts. The indicator exceeds the threshold value on the first bar.

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.2. Heiken_Ashi_Smoothed_VolatilityStep_Alerts. Alert.

23215