The MFI oscillator with the timeframe selection option available in input parameters.
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
For more visual perception the indicator has been shifted fifty units down.

Fig.1. The MFI_HTF indicator