The ColorMFI_X20_Cloud indicator with the possibility to change the calculation timeframe using the indicator input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // The indicator chart period (timeframe)
For the indicator to operate, the ColorMFI_X20_Cloud.ex5 indicator should be added to the <terminal_data_directory>MQL5Indicators folder.
Fig.1. The ColorMFI_X20_Cloud_HTF indicator.