Hello fellow traders!
Meet the Creator: Wellx
If you're looking to enhance your trading game, let me introduce you to the wlxBW5ZoneAlert indicator designed for MetaTrader 5. This nifty tool is built on the foundation of the Accelerator Oscillator and Awesome Oscillator indicators by Bill Williams. What’s more, it comes with alerts, email notifications, and push notifications to your mobile, keeping you in the loop no matter where you are!
What’s New?
To make this indicator even more useful, several updates have been made, particularly focusing on implementing alerts and notifications:
- New Input Parameters:
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
- New Functions: Three new functions have been added to the indicator code:
BuySignal(),SellSignal(), andGetStringTimeframe().void BuySignal(string SignalSirname, double &BuyArrow[], const int Rates_total, const int Prev_calculated, const double &Close[], const int &Spread[]) { // Your existing code for BuySignal function here } - Function Calls: Added calls to
BuySignal()andSellSignal()after the calculation cycles in theOnCalculate()block:
BuySignal("wlxBW5ZoneAlert", BuyBuffer, rates_total, prev_calculated, close, spread); SellSignal("wlxBW5ZoneAlert", SellBuffer, rates_total, prev_calculated, close, spread);
Make sure you define BuyBuffer and SellBuffer as they hold your buy and sell signals. The indicator will only call the BuySignal() and SellSignal() functions once in the OnCalculate() block.
This indicator utilizes the SmoothAlgorithms.mqh library classes (make sure to copy it to your <terminal_data_folder>\\MQL5\Include). You can find a thorough explanation of these classes in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Originally, this indicator was crafted in MQL4 and first made its debut in the Code Base on March 8, 2008.

Fig.1. The wlxBW5ZoneAlert indicator on the chart

Fig.2. The wlxBW5ZoneAlert indicator. Generating alerts.
Related Posts
- wlxBW5Zone: A Handy Indicator for MetaTrader 5 Traders
- Hourly Buffers for Data Collection in MetaTrader 5: A Simple Guide
- Unlocking the CwlxBW5Zone Indicator for Enhanced Trading Strategies
- Master Your Trading with the wlxBWWiseMan Indicator
- Unlocking MetaCOT 2: Your Ultimate CFTC Indicator Toolkit for MT4