Hey traders! Today, I want to introduce you to the iMFISignAlert indicator for MetaTrader 5, which uses semaphore arrows based on the classic Money Flow Index (MFI) oscillator. This nifty tool helps you pinpoint when the market is overbought or oversold, and it comes packed with features like alerts, email notifications, and push notifications to keep you in the loop no matter where you are!
Let's break down the upgrades that have been made to the indicator code to enhance its capabilities:
- New Input Parameters: The code has been updated with some fresh input parameters to customize your alerts:
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
//+------------------------------------------------------------------+ //| Buy signal function | //+------------------------------------------------------------------+ void BuySignal(string SignalSirname, // Indicator name for notifications double &BuyArrow[], // Buffer for buy signals const int Rates_total, // Current number of bars const int Prev_calculated, // Bars from previous tick const double &Close[], // Close prices const int &Spread[]) // Spread { // Your buy signal logic here }
BuySignal("iWPRSign", BuyBuffer, rates_total, prev_calculated, close, spread); SellSignal("iWPRSign", SellBuffer, rates_total, prev_calculated, close, spread);
Make sure your indicator buffers, BuyBuffer and SellBuffer, are set up correctly to store your signals. Remember, empty values in these buffers can either be zeros or EMPTY_VALUE.
Here’s a sneak peek at the iMFISignAlert indicator in action:

Fig.1. The iMFISignAlert indicator on the chart

Fig.2. The iMFISignAlert 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
- Hourly Buffers for Data Collection in MetaTrader 5: A Simple Guide
- ID Lite Info MA: A Comprehensive Indicator for MetaTrader 5
- Unlocking Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5