Popular results
Position Sizer
Calculate risk-based position size directly in your MetaTrader platform and execute a trade in one click or a press of a button.What Is Forex
Learn what Forex is and how it works from this simple explanation.Supertrend
Download the Supertrend indicator for MT4 and MT5 to detect trend changes based on the price action.Position Size Calculator
Calculate your position size based on risk, stop-loss, account size, and the currencies involved. A simple online calculator for quick results.Moving Average Crossover with Alert for MT4 and MT5
Moving Average Crossover Alert indicator is a free MT4/MT5 indicator that you can download here and use in your MetaTrader to receive notifications via email, mobile app, and on the trading screen when two moving averages cross.
What is moving average?
A moving average is one of the simplest indicators in technical analysis. A moving average is basically an average value of the price over the last specified number of candles. So, for example, a moving average of period 10 is the average price over the last 10 candles.
Moving averages are popular for the following reasons:
- They can reduce the noise, showing a smoother movement of price.
- Help detecting trends.
- Help spotting trend reversals.
One of the problems of moving averages is that they are lagging indicators, so they lag behind price, often giving signals too late.
Being a very simple instrument, they are usually considered together with other indicators or price action.
What is moving average crossover indicator?
Moving Average Crossover indicator with alert is a tool for MetaTrader that can notify you when two moving averages cross each other.
Moving Average Crossover indicator includes two moving averages and displays them on screen.
Many trading strategies base their entry and exit signals on MA crossovers.
While a MACD indicator shows the crossovers in a histogram chart, this indicator only shows the moving averages.
A crossover in two moving averages of different period can indicate a trend reversal.
Moving Average Crossover Alert indicator for MT4/MT5
MetaTrader platform includes a moving average among its indicators, however, it comes without any crossover notification option.
In many cases it is useful get a notification in some moving average crossover situations because they could be trading opportunities.
You can benefit from this alert in both trend following and trend reversal strategies.
To help with this missing feature, you can download our Moving Average Crossover Alert indicator for MetaTrader 4 & 5.
This indicator allows you to get notification when some conditions trigger. You can receive notifications via:
- Mobile app (push-notifications)
- On-screen
Input parameters
The indicator is very flexible and you can set several parameters:
- Period of the moving averages.
- Type of the moving averages (simple, exponential, weighed, TEMA (in MT5), and so on).
- Shift.
- Type of notifications.
- Color and size of the signals on the chart.
Due to the parameters available, Moving Average Crossover Alert indicator is suitable for both simple moving averages and exponential moving averages cross alerts.
Arrow signals
Another interesting feature of Moving Average Crossover Alert indicator is that it can display buy and sell signals in the form of arrows when signals occur.
Moving Average Crossover indicator source code
If you are interested in alert indicators, you can use the source code of the present Moving Average Crossover Indicator for your further development. Additionally, you can inspect the code of our Alert Indicator Template, which was used as the foundation for Moving Average Crossover Alert indicator.
How to download and use MT4 Moving Average Crossover indicator?
You can download the indicator for free using the link below and install it by following the provided instructions.
The installation is very easy to perform. The same is true for using this tool.
Once you run the indicator you can set the parameters. You can select what moving averages to use and how to receive notifications.
MT4 Moving Average Crossover installation
To install MT4 Moving Average Crossover Indicator, please follow the instructions below:
- Download the indicator archive file.
- Open the MetaTrader 4 data folder (via File→Open Data Folder).
- Open the MQL4 Folder.
- Copy all the folders from the archive directly to the MQL4 folder.
- Restart MetaTrader 4 or refresh the indicators list by right-clicking the Navigator subwindow of the platform and choosing Refresh.
For more detailed instructions on how to perform the installation please visit this article.
MT5 Moving Average Crossover indicator
What is MT5 Moving Average Crossover indicator?
Moving Average Crossover indicator for MetaTrader 5 is a plugin that allows you to set up alerts for a crossover of two moving averages on your MT5 chart. It has exactly the same features as the version of the indicator for MT4 plus the capability to use TEMA (triple exponential moving average) as an MA type.
How to download and use MT5 Moving Average Crossover indicator?
You can download the indicator for free using the link below and install it by following the provided instructions.
MT5 Moving Average Crossover installation
To install the MT5 Moving Average Crossover Indicator please follow the instructions below:
- Download the indicator archive file.
- Open the MetaTrader 5 data folder (via File→Open Data Folder).
- Open the MQL5 Folder.
- Copy all the folders from the archive directly to the MQL5 folder.
- Restart MetaTrader 5 or refresh the indicators list by right-clicking the Navigator subwindow of the platform and choosing Refresh.
For detailed instructions on how to setup the alerts in MetaTrader please refer to our guide on notifications in MT4/MT5.
You can open a trading account with any of the MT4 Forex brokers to freely use the presented here indicator for MetaTrader 4. If you want to use an MT5 version of the indicator presented here, you would need to open an account with a broker that offers MetaTrader 5.
Discussion
Do you have any suggestions or questions regarding this indicator? You can always discuss Moving Average Crossover Alert with the other traders and MQL programmers on the indicators forums.
Changelog
1.05 — 2023-04-12
- Removed some unnecessary recalculations.
- Optimized signal arrow drawing to remove chart blinking.
- Fixed potential
array out range
errors for charts with few candles. - Fixed deletion of signal arrows when the alert trigger candle was set to Previous.
1.04 — 2022-09-03
- Added TEMA (Triple Exponential Moving Average) MA type to the MT5 version of the indicator.
- Added signal directions to alert texts.
- Fixed alert signals to appear correctly.