Indicator XXDPO_Candle_Alerts with the timeframe selection option in its input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // The indicator chart period (timeframe)
For the indicator to operate, indicator XXDPO_Candle_Alerts.ex5 should be added to the <terminal_data_directory>MQL5Indicators folder.
Fig. 1. Indicator XXDPO_Candle_Alerts_HTF