Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

ColorXdinMA_Alert - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

ColorXdinMA_Alert - indicator for MetaTrader 5

ColorXdinMA_Alert - indicator for MetaTrader 5

ColorXdinMA_Alert - indicator for MetaTrader 5

Real author: Dimaine

This colored XdinMA trending moving average has the functionality of alerts, emails and push notifications to mobile devices.

In order to implement alerts, email messages and push notifications, the following changes were made to the indicator code:

where ColorXdinMA is the name of the color index buffer used to store the indicator color. Values ​​1 and 2 are the number of colors in this buffer, and the moving average is rising or falling respectively.

It is assumed that the only calls to the BuySignal() and SellSignal() functions will be used in the OnCalculate() block of the indicator code.

The indicator uses classes from the SmoothAlgorithms.mqh library (copy it to <terminal data folder> \MQL5\include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

ColorXdinMA_Alert - indicator for MetaTrader 5

Figure 1. ColorXdinMA_Alert indicator on the chart

ColorXdinMA_Alert - indicator for MetaTrader 5

Figure 2. ColorXdinMA_Alert indicator. Generate breakout signal alerts

ColorXdinMA_Alert - indicator for MetaTrader 5

Figure 3. ColorXdinMA_Alert indicator. Generate trend signal alerts


Attachment download

📎 ColorXdinMA_Alert.mq5 (32.36 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

Source: MQL5 #17111

Verification code Refresh