BackgroundСandle_XD-RangeSwitch_HTF – indicator MetaTrader 5

Figure 1. The BackgroundСandle_XD-RangeSwitch_HTF indicator
The indicator draws candlesticks of a larger timeframe as color filled rectangles using DRAW_FILLING buffers. Rectangles are color filled in accordance with the values of the XD-RangeSwitch indicator. Depending on trend direction the candlestick body is painted in blue or orange, shadows are painted in light blue or yellow. The indicator requires the compiled indicator