Author: EarnForex
The BeginnerAlert indicator is a handy tool for MetaTrader 5 that helps you identify trend extremes—those crucial maximum and minimum points that serve as potential support and resistance levels. By using this indicator, you can effectively determine the current trend channel, giving you a sharper edge in your trading.
What’s great about this indicator is its simplicity. It uses a specified period to pinpoint the highs and lows in the market, marking them clearly with dots on your chart.
Let’s dive into some of the key features and enhancements that make the BeginnerAlert a must-have:
- Alert System: The indicator is equipped with alerts that notify you via email and push notifications to your mobile devices. Stay on top of your trades even when you’re away from your desk!
- Customizable Parameters: You can adjust various input parameters to tailor the alerts to your trading style. For example:
NumberofBar: Specify the bar number for the signal.SoundON: Enable or disable alerts.NumberofAlerts: Set the number of alerts you wish to receive.EMailON: Toggle email notifications for signals.PushON: Activate mobile push notifications.- Signal Functions: The indicator includes dedicated functions for generating buy and sell signals, enhancing its usability:
BuySignal(): Triggers alerts for buying opportunities.SellSignal(): Triggers alerts for selling opportunities.
To give you a clearer picture, here’s how it works in action:
BuySignal("BeginnerAlert", BuyBuffer, rates_total, prev_calculated, Close, spread);
SellSignal("BeginnerAlert", SellBuffer, rates_total, prev_calculated, Close, spread);
In this code snippet, BuyBuffer and SellBuffer are the indicator buffers that store the buy and sell signals, respectively. Just make sure to set the empty values in these buffers to either zero or EMPTY_VALUE.
Originally developed in MQL4, the BeginnerAlert indicator first hit the scene back in 2008 and has since been upgraded for MetaTrader 5.

Fig1. The BeginnerAlert indicator on the chart

Fig.2. The BeginnerAlert indicator Generating alerts.
Related Posts
- Unlocking the Power of Master Tools for MetaTrader 4
- Unlocking MetaCOT 2: Your Ultimate CFTC Indicator Toolkit for MT4
- Hourly Buffers for Data Collection in MetaTrader 5: A Simple Guide
- Unlock Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5
- Visualize Current Trends Across All Time Frames with This MetaTrader 4 Indicator