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

XXDPO_Candle_Alerts - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

XXDPO_Candle_Alerts - indicator for MetaTrader 5

XXDPO_Candle_Alerts - indicator for MetaTrader 5

XXDPO_Candle_Alerts - indicator for MetaTrader 5

XXDPO_Candle_Alerts - indicator for MetaTrader 5

Input parameters for activation signal:

 Number of input units = 1 ; // Number of bars for which the signal is activated
Input boolean sound on = true ; // Enable alert
Input unit alarm number = 2 ; // number of alarms
input boolean email-on = false ; // Enable mailing signal
input boolean pressed = false ; // Enable signaling to mobile devices

In this version of the indicator, support/resistance levels are added and the moments when candles reach overbought and oversold areas are shown in lighter colors. It should be taken into account that the indicator is not standardized and the values ​​of the support and resistance levels should be chosen individually for each time frame! The higher the time frame of the indicator, the higher the absolute value of these levels must be.

 Enter double high level = + 0.6 ; // Overbought level
Enter double low level = - 0.6 ; // oversold level

The indicator uses SmoothAlgorithms.mqh library class (copy it to \MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is detailed in the article.

XXDPO_Candle_Alerts - indicator for MetaTrader 5

Figure 1. Indicator XXDPO_Candle_Alerts. Change the direction of histogram movement

XXDPO_Candle_Alerts - indicator for MetaTrader 5

Figure 2.XXDPO_Candle_Alerts. Activate alarm.


Attachment download

📎 SmoothAlgorithms.mqh (130.2 KB)

📎XXDPO_Candle_Alerts.mq5 (33.4 KB)

Source: MQL5 #23549

Verification code Refresh