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 | Two Stochastic Custom Filling Alert

The idea of the indicator

Two iStochastic (Stochastic Oscillator, STO) indicators - 'Fast' and 'Slow' (more precisely, the 'Main' lines of these indicators) in one subwindow. Areas are filled between lines. The level settings are included in the input parameters - it can be useful when used in an Expert Advisor and when visualizing in a strategy tester. Added Notifications when crossing lines (Sound, Alert, mail, push)

input group             "Alerts"  input string               InpSoundName               = "alert.wav"; // Sound Name  input uchar                InpSoundRepetitions        = 3;           // Repetitions  input uchar                InpSoundPause              = 3;           // Pause, in seconds  input bool                 InpUseSound                = false;       // Use Sound  input bool                 InpUseAlert                = true;        // Use Alert  input bool                 InpUseMail                 = true;        // Use Send mail  input bool                 InpUseNotification         = true;        // Use Send notification

MetaTrader Experts, Indicators, Scripts and Libraries

Rice. 1. Two Stochastic Custom Filling Alert

39523