The XXDPO_Candle indicator is a game changer for traders using MetaTrader 5. It can send you alerts via email and push notifications when significant trading signals pop up. Here are some key signals you can expect:
- Candle breaks through zero;
- Candle direction changes;
- Breakthrough of overbought or oversold levels;
- Exiting overbought or oversold zones.
Settings for Activating Signals:
inputuint NumberofBar=1; // Define bar number for signal activationinputbool SoundON=true; // Enable sound alertsinputuint NumberofAlerts=2; // Set the number of alertsinputbool EMailON=false; // Enable email notificationsinputbool PushON=false; // Enable mobile alerts
In this version, we've added support and resistance levels, along with lighter color displays to highlight when candles hit overbought and oversold zones. Keep in mind that this indicator isn’t normalized; you'll need to define the support and resistance levels for each timeframe you trade. Generally, the higher the timeframe, the higher the absolute values for these levels should be.
inputdouble HighLevel=+0.6; // Set overbought levelinputdouble LowLevel=-0.6; // Set oversold level
Additionally, this indicator leverages the SmoothAlgorithms.mqh library classes (make sure to copy it to <terminal_data_folder>\MQL5\Include). You can find a detailed explanation of using these classes in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Fig. 1. Indicator XXDPO_Candle_Alerts. Changing the histogram movement direction

Fig. 2. XXDPO_Candle_Alerts. Activating an alert.

Comments 0