Home Technical Indicator Post

Unlocking Trading Success: The wlxBW5ZoneAlert Indicator for MetaTrader 5

Attachments
16121.zip (3.5 KB, Download 0 times)

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(), and GetStringTimeframe().
    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() and SellSignal() after the calculation cycles in the OnCalculate() 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.1. The wlxBW5ZoneAlert indicator on the chart

Fig.2. The wlxBW5ZoneAlert indicator. Generating alerts.

Fig.2. The wlxBW5ZoneAlert indicator. Generating alerts.

Related Posts

Comments (0)