Home Technical Indicator Post

Unlock Trading Alerts with the PPO_SignAlert Indicator for MetaTrader 5

Attachments
16108.zip (22.04 KB, Download 0 times)

Hey fellow traders! Today, I want to introduce you to the PPO_SignAlert indicator, a nifty tool for MetaTrader 5 that can help you stay on top of market changes with its alert features.

This semaphore signal indicator is based on the relative smoothed rate of price change. It comes equipped with alerts, email notifications, and push notifications for your mobile devices, making it easier than ever to catch those crucial trading signals.

What’s New in the Indicator?

To enhance its functionality, we've made several updates to the indicator code that implement these alert features:

  • 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: We’ve added three essential functions to the end of the indicator code:
    • BuySignal()
    • SellSignal()
    • GetStringTimeframe()
  • Integration in OnCalculate(): Added calls to BuySignal() and SellSignal() functions after the indicator calculation cycles.
    BuySignal("PPO_Sign", BuyBuffer, rates_total, prev_calculated, close, spread);
    SellSignal("PPO_Sign", SellBuffer, rates_total, prev_calculated, close, spread);
    

Remember, BuyBuffer and SellBuffer are the names of the indicator buffers where the buy and sell signals are stored. Make sure to set empty values in these buffers either as zeros or as EMPTY_VALUE.

This indicator originally started out in MQL4 and was first published in the Code Base back on 08.03.2008. It’s quite a veteran in the trading community!

Fig.1. The PPO_SignAlert indicator on the chart

Fig.1. The PPO_SignAlert indicator on the chart

Fig.2. The PPO_SignAlert indicator. Generating alerts.

Fig.2. The PPO_SignAlert indicator. Generating alerts.

Related Posts

Comments (0)