Indicator Ang_Zad_C_Hist_Candle with the timeframe selection option available in the input parameters
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
For the indicator to operate, the Ang_Zad_C_Hist_Candle.ex5 indicator must be added to the <terminal_data_directory>\MQL5\Indicators folder.
Fig 1. Indicator Ang_Zad_C_Hist_Candle_HTF