The XEnvelopes2 indicator with the timeframe selection option available in the input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4;Â // Indicator chart period (timeframe)
The indicator requires XEnvelopes2 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.
Figure 1. The XEnvelopes2_HTF indicator