The Support_and_Resistance indicator with the possibility to change the indicator timeframe in input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires the compiled Support_and_Resistance.ex5 indicator file. Add it to <terminal_data_folder>\MQL5\Indicators.
Fig.1. The Dtm_HTF.Support_and_Resistance_HTF indicator