The SizeBar indicator with the timeframe selection option available in input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
To provide correct operation of the indicator, place the compiled SizeBar.mq5 indicator file in terminal_data_folder\MQL5\Indicators.
Fig.1. SizeBar_HTF Indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/11370
The Money Flow Index Indicator adapted for usage of all price types for calculations.SizeBar
Indicator of bar sizes in points with due regard to spread and maximum one way movement only.