Indicator Stochastic_Histogram with the timeframe selection option available in its input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // The indicator chart period (timeframe)
For the indicator to operate, the Stochastic_Histogram.ex5 indicator should be added to the <terminal_data_directory>\MQL5\Indicators folder.

Fig1. Indicator Stochastic_Histogram_HTF