The ColorLinearRegSlope_V2 indicator with the timeframe selection option available in the input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4;Β // Indicator chart period (timeframe)
This indicator requires ColorLinearRegSlope_V2.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.
Fig.1. The ColorLinearRegSlope_V2_HTF indicator