Indicator HLCrossSigForRSI with the possibility of changing its timeframe in its input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
For the indicator to work, indicators HLCrossSigForRSI.ex5 must be in the <terminal_data_catalog>MQL5Indicators folder.
Fig.1. Indicator HLCrossSigForRSI_HTF