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.2. The PPO_SignAlert indicator. Generating alerts.
Related Posts
- Unlock Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5
- Mastering the Open Range Breakout Indicator for MetaTrader 5
- ID Lite Info MA: A Comprehensive Indicator for MetaTrader 5
- Hourly Buffers for Data Collection in MetaTrader 5: A Simple Guide
- Unlocking Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5
