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

Fig 1. Indicator ColorXDerivative_HTF