The TrendValue indicator with the timeframe selection option available in input parameters.
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4;Â Â //Indicator chart period
Place the indicator compiled file TrendValue.mq5 to the terminal_data_folder\MQL5\Indicators\ of the client terminal.
Figure 1. The TrendValue_HTF indicator