The task of the indicator is to visualize the last three candles from another (larger) timeframe.
With the help of OBJ_RECTANGLE graphical objects, the last three candlesticks are drawn - rectangles are built at High and Low prices.
Rice. 1. Three Candles Other TimeFrame
Smoothing the custom indicator 'Relative Momentum Index' using iMATwo MA Color N Bars Square
Two indicator series ('Two MA Color N Bars' and 'Square') in one code